Compare commits
2 commits
54a6564413
...
82b491921b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82b491921b | ||
|
|
c70cc94e56 |
3 changed files with 9 additions and 3 deletions
|
|
@ -251,7 +251,7 @@ private fun ClockSettingsSheet(onDismiss: () -> Unit) {
|
||||||
style = MaterialTheme.typography.bodyLarge,
|
style = MaterialTheme.typography.bodyLarge,
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
text = "Remove the widget background",
|
text = "Remove the widget background. May not work on all launchers. Re-add the widget after changing.",
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodySmall,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:description="@string/clock_widget_description"
|
android:description="@string/clock_widget_description"
|
||||||
android:initialLayout="@layout/glance_default_loading_layout"
|
android:initialLayout="@layout/clock_widget_loading"
|
||||||
android:minWidth="180dp"
|
android:minWidth="180dp"
|
||||||
android:minHeight="110dp"
|
android:minHeight="110dp"
|
||||||
android:minResizeWidth="110dp"
|
android:minResizeWidth="110dp"
|
||||||
|
|
@ -13,4 +13,5 @@
|
||||||
android:targetCellHeight="2"
|
android:targetCellHeight="2"
|
||||||
android:updatePeriodMillis="60000"
|
android:updatePeriodMillis="60000"
|
||||||
android:previewLayout="@layout/clock_widget_preview"
|
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