Fix events order, fix horizontal resize, add widget preview toggle, fix next event function, fix weather icon click listner and relase v1.3-beta1
BIN
app/src/main/res/drawable-hdpi/ic_action_hide_preview.png
Normal file
After Width: | Height: | Size: 854 B |
BIN
app/src/main/res/drawable-hdpi/ic_action_show_preview.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_hide_preview.png
Normal file
After Width: | Height: | Size: 527 B |
BIN
app/src/main/res/drawable-mdpi/ic_action_show_preview.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_hide_preview.png
Normal file
After Width: | Height: | Size: 981 B |
BIN
app/src/main/res/drawable-xhdpi/ic_action_show_preview.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_hide_preview.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_action_show_preview.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
@ -36,6 +36,35 @@
|
||||
android:paddingRight="16dp"
|
||||
android:textColor="@android:color/black" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="16dp"
|
||||
android:textSize="14sp"
|
||||
android:id="@+id/action_toggle_widget_preview"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:id="@+id/widget_preview_icon"
|
||||
android:tint="@android:color/black"
|
||||
android:src="@drawable/ic_action_rate"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/action_hide_widget_preview"
|
||||
style="@style/AnotherWidget.Settings.Title"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:id="@+id/widget_preview_label"
|
||||
android:textColor="@android:color/black"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -31,7 +31,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:maxLines="1"
|
||||
android:gravity="right"
|
||||
android:ellipsize="end"
|
||||
android:text="@string/loading_text"
|
||||
android:includeFontPadding="false"
|
||||
|
@ -18,11 +18,23 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:id="@+id/intent_container" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="8dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/bottom_divider_8"
|
||||
android:orientation="vertical" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="16dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/bottom_divider"
|
||||
android:id="@+id/bottom_divider_16"
|
||||
android:orientation="vertical" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="24dp"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/bottom_divider_24"
|
||||
android:orientation="vertical" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
@ -151,4 +151,6 @@
|
||||
<string name="donation_lunch">Una Pranzo Veloce</string>
|
||||
<string name="background_service_title">Another Widget è attivo</string>
|
||||
<string name="background_service_subtitle">AW è attivo in background</string>
|
||||
<string name="action_show_widget_preview">Mostra Anteprima Widget</string>
|
||||
<string name="action_hide_widget_preview">Nascondi Anteprima Widget</string>
|
||||
</resources>
|
@ -156,4 +156,6 @@
|
||||
<string name="donation_lunch">A Quick Lunch</string>
|
||||
<string name="background_service_title">Another Widget is Running</string>
|
||||
<string name="background_service_subtitle">AW is running in the background</string>
|
||||
<string name="action_show_widget_preview">Show Widget Preview</string>
|
||||
<string name="action_hide_widget_preview">Hide Widget Preview</string>
|
||||
</resources>
|
||||
|
@ -8,6 +8,6 @@
|
||||
android:minResizeHeight="60dp"
|
||||
android:minResizeWidth="300dp"
|
||||
android:previewImage="@drawable/widget_preview"
|
||||
android:resizeMode="vertical"
|
||||
android:resizeMode="vertical|horizontal"
|
||||
android:updatePeriodMillis="60000"
|
||||
android:widgetCategory="home_screen" />
|
@ -7,6 +7,6 @@
|
||||
android:minResizeHeight="60dp"
|
||||
android:minResizeWidth="300dp"
|
||||
android:previewImage="@drawable/widget_preview"
|
||||
android:resizeMode="vertical"
|
||||
android:resizeMode="vertical|horizontal"
|
||||
android:updatePeriodMillis="60000"
|
||||
android:widgetCategory="home_screen" />
|