Adjusted the widgets minHeight/mindWidth values to google's recommendation

This commit is contained in:
GoneUp 2017-01-05 22:20:13 +01:00
parent 6beb9902da
commit 78b7061061
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@
android:textSize="12dp" android:textSize="12dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="right|bottom" android:layout_gravity="end|bottom"
android:paddingTop="0.5dp" android:paddingTop="0.5dp"
android:paddingBottom="0.5dp" android:paddingBottom="0.5dp"
android:paddingLeft="5dp" android:paddingLeft="5dp"
@ -42,7 +42,7 @@
android:id="@+id/account_name" android:id="@+id/account_name"
android:text="@string/app_name" android:text="@string/app_name"
android:ellipsize="marquee" android:ellipsize="marquee"
android:singleLine="true" android:maxLines="1"
android:paddingTop="1dp" android:paddingTop="1dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:paddingLeft="4dp" android:paddingLeft="4dp"

View file

@ -2,8 +2,8 @@
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/unread_widget_layout" android:initialLayout="@layout/unread_widget_layout"
android:previewImage="@drawable/preview_unread_widget" android:previewImage="@drawable/preview_unread_widget"
android:minHeight="60dp" android:minHeight="40dp"
android:minWidth="60dp" android:minWidth="40dp"
android:configure="com.fsck.k9.activity.UnreadWidgetConfiguration" android:configure="com.fsck.k9.activity.UnreadWidgetConfiguration"
android:updatePeriodMillis="0"> android:updatePeriodMillis="0">
</appwidget-provider> </appwidget-provider>