mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-27 12:27:57 +01:00
"Updates" widget for Galaxy Z Flip5 cover screen (#9892)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 410 KiB |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/appwidget_coverscreen_background" />
|
||||
</shape>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?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"
|
||||
android:background="@drawable/appwidget_coverscreen_background">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/loading"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="appwidget_background">@color/tachiyomi_surface</color>
|
||||
<color name="appwidget_coverscreen_background">#00000000</color>
|
||||
<color name="appwidget_on_background">@color/tachiyomi_onSurface</color>
|
||||
<color name="appwidget_surface_variant">@color/tachiyomi_surfaceVariant</color>
|
||||
<color name="appwidget_on_surface_variant">@color/tachiyomi_onSurfaceVariant</color>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/appwidget_updates_description"
|
||||
android:previewImage="@drawable/updates_grid_widget_preview"
|
||||
android:initialLayout="@layout/appwidget_loading"
|
||||
android:minWidth="240dp"
|
||||
android:minHeight="80dp"
|
||||
android:minResizeWidth="80dp"
|
||||
android:minResizeHeight="110dp"
|
||||
android:maxResizeWidth="600dp"
|
||||
android:maxResizeHeight="600dp"
|
||||
android:targetCellWidth="4"
|
||||
android:targetCellHeight="2"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:widgetCategory="home_screen" />
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/appwidget_updates_description"
|
||||
android:previewImage="@drawable/updates_grid_coverscreen_widget_preview"
|
||||
android:initialLayout="@layout/appwidget_coverscreen_loading"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:widgetCategory="keyguard" />
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<samsung-appwidget-provider
|
||||
display="sub_screen"
|
||||
privacyWidget="true" />
|
||||
Reference in New Issue
Block a user