diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-08-12 12:42:38 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-08-12 12:42:38 +0200 |
commit | 89e83ac9a01b9f4f87a068a93fe51513a3d76204 (patch) | |
tree | a521536bad7ea07b80c4f779389183bc89c5e021 /res | |
parent | 099dd9302710b6233915a0a01fa1d0820534c794 (diff) | |
download | AntennaPod-89e83ac9a01b9f4f87a068a93fe51513a3d76204.zip |
Adjusted grid size
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-large/feedlist.xml | 9 | ||||
-rw-r--r-- | res/layout/feedlist_item_grid.xml | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/res/layout-large/feedlist.xml b/res/layout-large/feedlist.xml index f7a116c87..8a821678d 100644 --- a/res/layout-large/feedlist.xml +++ b/res/layout-large/feedlist.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > @@ -9,16 +10,18 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" - android:horizontalSpacing="32dp" + android:horizontalSpacing="16dp" android:numColumns="auto_fit" - android:verticalSpacing="32dp" /> + android:stretchMode="columnWidth" + android:verticalSpacing="32dp" + tools:listitem="@layout/feedlist_item_grid" /> <TextView android:id="@id/android:empty" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="center" android:layout_gravity="center" + android:gravity="center" android:text="@string/no_feeds_label" /> </LinearLayout>
\ No newline at end of file diff --git a/res/layout/feedlist_item_grid.xml b/res/layout/feedlist_item_grid.xml index 53e9eeb10..5e0b72e1a 100644 --- a/res/layout/feedlist_item_grid.xml +++ b/res/layout/feedlist_item_grid.xml @@ -5,8 +5,8 @@ <ImageView android:id="@+id/imgvFeedimage" - android:layout_width="200dip" - android:layout_height="200dip" + android:layout_width="160dip" + android:layout_height="160dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_margin="8dp" |