mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 09:38:52 -06:00
Add configuration activity for widgets
This commit is contained in:
@@ -25,6 +25,6 @@
|
||||
android:textSize="12sp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:text="Meditate"/>
|
||||
android:text="@string/main_activity_title"/>
|
||||
|
||||
</LinearLayout>
|
||||
8
app/src/main/res/layout/widget_configure_activity.xml
Normal file
8
app/src/main/res/layout/widget_configure_activity.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ListView android:id="@+id/listView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
</ListView>
|
||||
@@ -5,7 +5,8 @@
|
||||
android:initialLayout="@layout/small_widget"
|
||||
android:previewImage="@mipmap/ic_small_widget_preview"
|
||||
android:resizeMode="none"
|
||||
android:updatePeriodMillis="60000"
|
||||
android:updatePeriodMillis="3600000"
|
||||
android:configure="org.isoron.uhabits.HabitWidgetConfigure"
|
||||
android:widgetCategory="home_screen">
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user