diff options
author | Andrew Dolgov <[email protected]> | 2015-02-13 00:15:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-02-13 00:15:03 +0300 |
commit | 4d9949aabe1968e9268e4b6b5c79b47898086dd1 (patch) | |
tree | 7bb7dde2d53032ca34c3e4b7804b47ac731edc07 /org.fox.ttrss/src/main/res/layout | |
parent | cedec42443120127d586b0edf10a60fcb8e2ec42 (diff) |
widget fixes
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/widget_small.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/widget_small.xml b/org.fox.ttrss/src/main/res/layout/widget_small.xml index 2ea0e9bd..1242cef5 100644 --- a/org.fox.ttrss/src/main/res/layout/widget_small.xml +++ b/org.fox.ttrss/src/main/res/layout/widget_small.xml @@ -1,28 +1,29 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widget_main" - android:padding="@dimen/widget_margin" - android:layout_width="wrap_content" - android:layout_height="wrap_content" > + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="@dimen/widget_margin" > <LinearLayout android:background="@drawable/appwidget_dark_bg_clickable" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:minWidth="110dp" + android:layout_width="fill_parent" + android:layout_height="fill_parent" android:padding="8dp" android:orientation="vertical" > <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="36dp" + android:layout_height="36dp" + android:layout_weight="1" android:layout_gravity="center_horizontal" android:src="@drawable/ic_launcher" /> <TextView android:id="@+id/counter" + android:layout_weight="0" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center" + android:layout_gravity="bottom|center" android:gravity="center_horizontal" android:text="123" android:textAppearance="?android:attr/textAppearanceSmall" |