Skip to content

Commit

Permalink
widget preview
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastGimbus committed Sep 20, 2023
1 parent 0352cf7 commit 3d255e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions android/app/src/main/res/xml/battery_widget_config.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="40dp"
android:minHeight="40dp"
android:minWidth="80dp"
android:minHeight="80dp"
android:minResizeWidth="40dp"
android:minResizeHeight="40dp"
android:updatePeriodMillis="86400000"
android:initialLayout="@layout/glance_default_loading_layout"
android:previewImage="@drawable/battery_widget_preview"
android:resizeMode="horizontal|vertical"
android:widgetCategory="home_screen" />

0 comments on commit 3d255e7

Please sign in to comment.