transparent initial layout + widgetFeatures for launcher background bypass
This commit is contained in:
parent
54a6564413
commit
c70cc94e56
2 changed files with 8 additions and 2 deletions
5
app/src/main/res/layout/clock_widget_loading.xml
Normal file
5
app/src/main/res/layout/clock_widget_loading.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?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="@android:color/transparent" />
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/clock_widget_description"
|
||||
android:initialLayout="@layout/glance_default_loading_layout"
|
||||
android:initialLayout="@layout/clock_widget_loading"
|
||||
android:minWidth="180dp"
|
||||
android:minHeight="110dp"
|
||||
android:minResizeWidth="110dp"
|
||||
|
|
@ -13,4 +13,5 @@
|
|||
android:targetCellHeight="2"
|
||||
android:updatePeriodMillis="60000"
|
||||
android:previewLayout="@layout/clock_widget_preview"
|
||||
android:widgetCategory="home_screen" />
|
||||
android:widgetCategory="home_screen"
|
||||
android:widgetFeatures="reconfigurable|configuration_optional" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue