Add next alarm, add weather provider personal key

This commit is contained in:
Tommaso Berlose
2017-10-31 18:06:47 +01:00
parent 4cbb5d702f
commit fde3fdfab1
17 changed files with 171 additions and 69 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -504,17 +504,17 @@
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_show_location"
android:id="@+id/action_second_row_info"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_show_location_title"/>
android:text="@string/settings_second_row_info_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/show_location_label"
android:id="@+id/second_row_info_label"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
<LinearLayout

View File

@ -98,9 +98,10 @@
<string name="tomorrow">Domani</string>
<string name="today">Oggi</string>
<string name="settings_event_app_title">Gli eventi aprono</string>
<string name="settings_show_location_title">Informazione Seconda Riga</string>
<string name="settings_show_location_subtitle_false">Mostra orario evento</string>
<string name="settings_show_location_subtitle_true">Mostra indirizzo evento invece dell\'orario</string>
<string name="settings_second_row_info_title">Informazione Seconda Riga</string>
<string name="settings_second_row_info_subtitle_0">Mostra orario evento</string>
<string name="settings_second_row_info_subtitle_1">Mostra indirizzo evento invece dell\'orario</string>
<string name="settings_second_row_info_subtitle_2">Mostra orario prossimo allarme</string>
<string name="settings_font_color_title">Colore Testo</string>
<string name="title_main_text_size">Dimensione Testo Prima Riga</string>
<string name="title_second_text_size">Dimensione Testo Seconda Riga</string>

View File

@ -100,9 +100,10 @@
<string name="tomorrow">Tomorrow</string>
<string name="today">Today</string>
<string name="settings_event_app_title">Tap on event opens</string>
<string name="settings_show_location_title">Second Row Information</string>
<string name="settings_show_location_subtitle_true">Show event address instead of time</string>
<string name="settings_show_location_subtitle_false">Show event time</string>
<string name="settings_second_row_info_title">Second Row Information</string>
<string name="settings_second_row_info_subtitle_1">Show event address instead of time</string>
<string name="settings_second_row_info_subtitle_0">Show event time</string>
<string name="settings_second_row_info_subtitle_2">Show next alarm time</string>
<string name="settings_font_color_title">Text Color</string>
<string name="title_main_text_size">First Row Text Size</string>
<string name="title_second_text_size">Second Row Text Size</string>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialKeyguardLayout="@layout/the_widget"
android:initialLayout="@layout/the_widget"
android:minHeight="150dp"
android:minWidth="400dp"
android:configure="com.tommasoberlose.anotherwidget.ui.activity.MainActivity"
android:minResizeHeight="150dp"
android:minResizeWidth="400dp"
android:previewImage="@drawable/widget_preview"
android:resizeMode="vertical"
android:updatePeriodMillis="60000"
android:widgetCategory="home_screen" />

View File

@ -2,12 +2,11 @@
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialKeyguardLayout="@layout/the_widget"
android:initialLayout="@layout/the_widget"
android:minHeight="128dp"
android:minWidth="300dp"
android:configure="com.tommasoberlose.anotherwidget.ui.activity.MainActivity"
android:minResizeHeight="40dp"
android:minResizeWidth="250dp"
android:minHeight="150dp"
android:minWidth="400dp"
android:minResizeHeight="150dp"
android:minResizeWidth="400dp"
android:previewImage="@drawable/widget_preview"
android:resizeMode="vertical|horizontal"
android:resizeMode="vertical"
android:updatePeriodMillis="60000"
android:widgetCategory="home_screen" />