Shelf app widget

This commit is contained in:
Koitharu
2020-04-10 19:53:42 +03:00
parent ac4b97928a
commit ab1eacea3f
14 changed files with 230 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<GridView
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/gridView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnWidth="92dp"
android:gravity="center_horizontal"
android:numColumns="auto_fit"
android:orientation="horizontal"
tools:listitem="@layout/item_shelf" />
<TextView
android:id="@+id/textView_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/you_have_not_favourites_yet"
android:textColor="?android:textColorPrimary" />
</FrameLayout>