summaryrefslogtreecommitdiff
path: root/res/layout-port/headlines_row_selected.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-30 17:25:14 +0300
committerAndrew Dolgov <[email protected]>2011-11-30 17:25:14 +0300
commit0fda7ffd7b181a58e786713ebeac0f26e36f31ba (patch)
tree0e3f84b4ce46eace1bb1f63510a0b0ec63f8c087 /res/layout-port/headlines_row_selected.xml
parent1fec72cf4ae441e6fd87d981412752abdd163690 (diff)
tweak portrait smallscreen headline layout
Diffstat (limited to 'res/layout-port/headlines_row_selected.xml')
-rw-r--r--res/layout-port/headlines_row_selected.xml147
1 files changed, 76 insertions, 71 deletions
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" >
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="?headlineSeparatorSelected"
- android:paddingRight="4dip" >
- </ImageView>
<LinearLayout
- android:id="@+id/linearLayout1"
+ android:id="@+id/linearLayout7"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- android:padding="3dip" >
+ android:layout_height="match_parent" >
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- 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" >
- </TextView>
-
- <WebView
- android:id="@+id/content"
- android:layout_width="match_parent"
+ <ImageView
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_weight="1" >
- </WebView>
+ android:background="?headlineSeparatorSelected"
+ android:paddingRight="4dip" />
<LinearLayout
- android:id="@+id/linerLayout3"
+ android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal" >
+ android:layout_weight="1"
+ android:orientation="vertical"
+ android:padding="3dip" >
<TextView
- android:id="@+id/excerpt"
+ android:id="@+id/title"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
- android:textColor="#909090"
- android:textSize="13sp" />
- </LinearLayout>
+ 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" />
- <LinearLayout
- android:id="@+id/linearLayout4"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:gravity="center"
- android:orientation="horizontal" >
-
- <CheckBox
- android:id="@+id/selected"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:id="@+id/linerLayout3"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="0"
- android:focusable="false" />
+ android:gravity="center"
+ android:orientation="horizontal" >
- <TextView
- android:id="@+id/date"
+ <TextView
+ android:id="@+id/excerpt"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
+ android:textColor="#909090"
+ android:textSize="13sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/linearLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Jan 01, 00:00"
- android:textColor="#909090"
- android:textSize="13sp" />
-
- <ImageView
- android:id="@+id/marked"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
android:layout_weight="0"
- android:clickable="true"
- android:src="@android:drawable/star_off" />
+ android:gravity="center"
+ android:orientation="horizontal" >
- <ImageView
- android:id="@+id/published"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:clickable="true"
- android:src="@drawable/ic_rss_bw" >
- </ImageView>
+ <CheckBox
+ android:id="@+id/selected"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:focusable="false" />
+
+ <TextView
+ android:id="@+id/date"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="Jan 01, 00:00"
+ android:textColor="#909090"
+ android:textSize="13sp" />
+
+ <ImageView
+ android:id="@+id/marked"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:clickable="true"
+ android:src="@android:drawable/star_off" />
+
+ <ImageView
+ android:id="@+id/published"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:clickable="true"
+ android:src="@drawable/ic_rss_bw" />
+ </LinearLayout>
</LinearLayout>
+
</LinearLayout>
+
+ <WebView
+ android:id="@+id/content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
</LinearLayout> \ No newline at end of file