mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Tweak widget layout
This commit is contained in:
parent
7a252bf002
commit
f36d2a6b23
@ -13,13 +13,14 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@android:dimen/app_icon_size"
|
||||
android:layout_height="@android:dimen/app_icon_size"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/unread_count"
|
||||
android:textSize="10sp"
|
||||
android:textSize="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|bottom"
|
||||
@ -34,9 +35,8 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/account_name"
|
||||
android:ellipsize="none"
|
||||
android:textSize="11sp"
|
||||
android:shadowColor="#000000"
|
||||
android:ellipsize="marquee"
|
||||
android:textSize="12dp"
|
||||
android:singleLine="true"
|
||||
android:paddingTop="1dp"
|
||||
android:paddingBottom="1dp"
|
||||
@ -45,8 +45,10 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:background="@drawable/rounded_corners"
|
||||
android:textColor="#ffffff"/>
|
||||
android:textColor="#ffffff"
|
||||
android:shadowColor="#000000"
|
||||
android:shadowRadius="2.0"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:initialLayout="@layout/unread_widget_layout"
|
||||
android:minHeight="40dp"
|
||||
android:minWidth="40dp"
|
||||
android:minHeight="72dp"
|
||||
android:minWidth="72dp"
|
||||
android:configure="com.fsck.k9.activity.UnreadWidgetConfiguration"
|
||||
android:updatePeriodMillis="0">
|
||||
</appwidget-provider>
|
||||
|
Loading…
Reference in New Issue
Block a user