summaryrefslogtreecommitdiff
path: root/res/layout/headlines_row_selected.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-30 16:05:03 +0300
committerAndrew Dolgov <[email protected]>2011-11-30 16:05:03 +0300
commit1fec72cf4ae441e6fd87d981412752abdd163690 (patch)
tree4401b69838ca759e636749b5d901276a8ede4c88 /res/layout/headlines_row_selected.xml
parent24e092d190df6fafbdf5619656ef370ccfbea968 (diff)
implement combined article display mode (closes #399)
Diffstat (limited to 'res/layout/headlines_row_selected.xml')
-rw-r--r--res/layout/headlines_row_selected.xml144
1 files changed, 79 insertions, 65 deletions
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml
index fa7e7ad0..a8d8d8bd 100644
--- a/res/layout/headlines_row_selected.xml
+++ b/res/layout/headlines_row_selected.xml
@@ -4,92 +4,106 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?headlineSelectedBackground"
- android:gravity="center_vertical"
- android:orientation="horizontal" >
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="?headlineSeparatorSelected"
- android:paddingRight="4dip" >
- </ImageView>
-
- <CheckBox
- android:id="@+id/selected"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:focusable="false"
- android:paddingLeft="6dip"
- android:paddingRight="6dip" >
- </CheckBox>
+ android:orientation="vertical" >
<LinearLayout
- android:id="@+id/linearLayout1"
+ android:id="@+id/linearLayout6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical" >
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
+ <ImageView
+ android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:ellipsize="end"
- android:singleLine="true"
- android:text="{Title...}"
- android:textSize="16sp" >
- </TextView>
+ android:background="?headlineSeparatorSelected"
+ android:paddingRight="4dip" />
- <TextView
- android:id="@+id/excerpt"
+ <CheckBox
+ android:id="@+id/selected"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:focusable="false"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip" >
+ </CheckBox>
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="{Content excerpt...}"
- android:textColor="#909090"
- android:textSize="13sp" >
- </TextView>
- </LinearLayout>
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/linerLayout3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="vertical"
- android:padding="3dip" >
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="{Title...}"
+ android:textSize="16sp" >
+ </TextView>
- <TextView
- android:id="@+id/date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Jan 01"
- android:textColor="#909090"
- android:textSize="13sp" >
- </TextView>
+ <TextView
+ android:id="@+id/excerpt"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:text="{Content excerpt...}"
+ android:textColor="#909090"
+ android:textSize="13sp" >
+ </TextView>
+ </LinearLayout>
<LinearLayout
- android:id="@+id/linearLayout4"
+ android:id="@+id/linerLayout3"
android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:gravity="center"
- android:paddingRight="2sp"
- android:layout_height="wrap_content" >
+ android:orientation="vertical"
+ android:padding="3dip" >
- <ImageView
- android:id="@+id/marked"
+ <TextView
+ android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:clickable="true"
- android:src="@android:drawable/star_off" >
- </ImageView>
+ android:text="Jan 01"
+ android:textColor="#909090"
+ android:textSize="13sp" >
+ </TextView>
- <ImageView
- android:id="@+id/published"
+ <LinearLayout
+ android:id="@+id/linearLayout4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:clickable="true"
- android:src="@drawable/ic_rss_bw" >
- </ImageView>
+ android:gravity="center"
+ android:paddingRight="2sp" >
+
+ <ImageView
+ android:id="@+id/marked"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:src="@android:drawable/star_off" >
+ </ImageView>
+
+ <ImageView
+ android:id="@+id/published"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:src="@drawable/ic_rss_bw" >
+ </ImageView>
+ </LinearLayout>
</LinearLayout>
</LinearLayout>
+ <WebView
+ android:id="@+id/content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="3dip" >
+ </WebView>
+
</LinearLayout> \ No newline at end of file