Improve widgets ui #457

This commit is contained in:
Koitharu
2023-08-26 18:35:49 +03:00
parent 2684a7384e
commit 74ca19a931
23 changed files with 440 additions and 82 deletions

View File

@@ -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>