From 0fda7ffd7b181a58e786713ebeac0f26e36f31ba Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 Nov 2011 17:25:14 +0300 Subject: tweak portrait smallscreen headline layout --- res/layout-port/headlines_row.xml | 144 ++++++++++++++-------------- res/layout-port/headlines_row_selected.xml | 147 +++++++++++++++-------------- res/layout-port/headlines_row_unread.xml | 147 +++++++++++++++-------------- 3 files changed, 225 insertions(+), 213 deletions(-) (limited to 'res/layout-port') diff --git a/res/layout-port/headlines_row.xml b/res/layout-port/headlines_row.xml index a2c72d8d..cb58bb26 100644 --- a/res/layout-port/headlines_row.xml +++ b/res/layout-port/headlines_row.xml @@ -5,98 +5,100 @@ android:layout_height="wrap_content" android:background="?headlineNormalBackground" android:gravity="center_vertical" - android:orientation="horizontal" > - - - + android:orientation="vertical" > - - - + android:layout_height="match_parent" > - - + android:background="?headlineSeparatorNormal" + android:paddingRight="4dip" /> + android:layout_weight="1" + android:orientation="vertical" + android:padding="3dip" > + + - + android:gravity="center" + android:orientation="horizontal" > - + + - + android:gravity="center" + android:orientation="horizontal" > - + - + - - + + + + + + \ No newline at end of file diff --git a/res/layout-port/headlines_row_selected.xml b/res/layout-port/headlines_row_selected.xml index 7a94add6..85e53116 100644 --- a/res/layout-port/headlines_row_selected.xml +++ b/res/layout-port/headlines_row_selected.xml @@ -5,98 +5,103 @@ android:layout_height="wrap_content" android:background="?headlineSelectedBackground" android:gravity="center_vertical" - android:orientation="horizontal" > + android:orientation="vertical" > - - + android:layout_height="match_parent" > - - - - - + android:background="?headlineSeparatorSelected" + android:paddingRight="4dip" /> + android:layout_weight="1" + android:orientation="vertical" + android:padding="3dip" > - + android:layout_height="match_parent" + android:ellipsize="end" + android:singleLine="true" + android:text="There are many variations of passages of Lorem Ipsum available" + android:textSize="16sp" /> - - - + android:gravity="center" + android:orientation="horizontal" > - + + + - - + android:gravity="center" + android:orientation="horizontal" > - - + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml index 5f970c08..28eb47ed 100644 --- a/res/layout-port/headlines_row_unread.xml +++ b/res/layout-port/headlines_row_unread.xml @@ -5,98 +5,103 @@ android:layout_height="wrap_content" android:background="?headlineUnreadBackground" android:gravity="center_vertical" - android:orientation="horizontal" > + android:orientation="vertical" > - - + android:layout_height="match_parent" > - - - - - + android:background="?headlineSeparatorUnread" + android:paddingRight="4dip" /> + android:layout_weight="1" + android:orientation="vertical" + android:padding="3dip" > - + android:layout_height="match_parent" + android:ellipsize="end" + android:singleLine="true" + android:text="There are many variations of passages of Lorem Ipsum available" + android:textSize="16sp" /> - - - + android:gravity="center" + android:orientation="horizontal" > - + + + - - + android:gravity="center" + android:orientation="horizontal" > - - + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3