Improve widgets ui #457
This commit is contained in:
@@ -1,21 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/widget_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?android:attr/colorBackground"
|
||||
android:padding="4dp"
|
||||
android:theme="@style/Theme.Kotatsu.AppWidgetContainer">
|
||||
android:clipToOutline="true"
|
||||
android:outlineProvider="background"
|
||||
android:theme="@style/Theme.Kotatsu.AppWidgetContainer"
|
||||
tools:background="?android:attr/colorBackground">
|
||||
|
||||
<GridView
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/gridView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:columnWidth="92dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:numColumns="auto_fit"
|
||||
android:orientation="horizontal"
|
||||
android:padding="4dp"
|
||||
tools:listitem="@layout/item_shelf" />
|
||||
|
||||
<TextView
|
||||
@@ -27,4 +31,4 @@
|
||||
android:text="@string/you_have_not_favourites_yet"
|
||||
android:textColor="?android:attr/textColorPrimary" />
|
||||
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user