summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout-large/feedlist.xml9
-rw-r--r--res/layout/feedlist_item_grid.xml4
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"