diff options
author | Andrew Dolgov <[email protected]> | 2013-05-12 18:35:40 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-12 18:38:28 +0400 |
commit | c396ab425878bb2e7c5195d739b070377cb6aa1e (patch) | |
tree | 01e670149d58ba221f9f3543aad73b7ffa7829df /res/layout/headlines_row_selected.xml | |
parent | c84a1100b01fda8d30aa80adb3f267aff306d535 (diff) |
update all headline views (remove unnecessary variants), add separate
color for secondary headline text
Diffstat (limited to 'res/layout/headlines_row_selected.xml')
-rw-r--r-- | res/layout/headlines_row_selected.xml | 179 |
1 files changed, 90 insertions, 89 deletions
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index babf3f6b..cf138c47 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -3,8 +3,9 @@ android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="?headlineSelectedBackgroundSolid"
- android:orientation="vertical" >
+ android:background="?headlineSelectedBackground"
+ android:orientation="vertical"
+ android:paddingRight="6dp" >
<LinearLayout
android:id="@+id/linearLayout6"
@@ -18,108 +19,108 @@ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"
- android:paddingLeft="6dip"
- android:paddingRight="6dip" >
- </CheckBox>
- + android:paddingLeft="0dp"
+ android:paddingRight="0dp" />
- <LinearLayout
- android:id="@+id/linearLayout1"
+ <TextView
+ android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:orientation="vertical"
- android:padding="3dp" >
- + android:ellipsize="end"
+ android:gravity="center_vertical"
+ android:singleLine="false"
+ android:text="{Title...}"
+ android:textColor="?headlineSelectedTextColor"
+ android:textSize="16sp" />
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:ellipsize="end"
- android:singleLine="false"
- android:text="{Title...}"
- android:textColor="?headlineSelectedTextColor"
- android:textSize="16sp"
- android:textStyle="normal" >
-
- </TextView>
-
- <LinearLayout
- android:id="@+id/feed_and_author"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <TextView
- android:id="@+id/feed_title"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:ellipsize="end"
- android:layout_weight="0.5"
- android:singleLine="true"
- android:text="{Feed title...}"
- android:textColor="?headlineExcerptTextColor"
- android:textSize="10sp" />
+ </LinearLayout>
- <TextView
- android:id="@+id/author"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_weight="0.5"
- android:ellipsize="end"
- android:gravity="right"
- android:singleLine="true"
- android:text="{Author}"
- android:textColor="?headlineExcerptTextColor"
- android:textSize="10sp" />
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:paddingLeft="6dp"
+ android:paddingTop="6dp" >
- </LinearLayout>
+ <TextView
+ android:id="@+id/feed_title"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="0.25"
+ android:ellipsize="end"
+ android:gravity="center_vertical"
+ android:singleLine="true"
+ android:text="{Feed title...}"
+ android:textColor="?headlineSelectedSecondaryTextColor"
+ android:textSize="12sp"
+ android:textStyle="italic" />
+
+ <TextView
+ android:id="@+id/date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5"
+ android:gravity="right|center_vertical"
+ android:paddingRight="12dp"
+ android:text="Jan 01"
+ android:textColor="?headlineSelectedSecondaryTextColor"
+ android:textSize="12sp"
+ android:textStyle="italic" />
- <TextView
- android:id="@+id/excerpt"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="{Content excerpt...}"
- android:textColor="?headlineSelectedExcerptTextColor"
- android:textSize="13sp" >
- </TextView>
- + </LinearLayout>
- <TextView
- android:id="@+id/date"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:text="Jan 01"
- android:textColor="?headlineSelectedExcerptTextColor"
- android:textSize="10sp"
- android:textStyle="italic" />
+ <TextView
+ android:id="@+id/excerpt"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="6dp"
+ android:paddingRight="0dp"
+ android:paddingTop="6dp"
+ android:text="{Content excerpt...}"
+ android:textColor="?headlineSelectedExcerptTextColor"
+ android:textSize="13sp" />
- </LinearLayout>
- - + <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:paddingLeft="6dp"
+ android:paddingRight="0dp"
+ android:paddingTop="0dp" >
- <LinearLayout
- android:id="@+id/linearLayout4"
+ <TextView
+ android:id="@+id/author"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:ellipsize="end"
+ android:gravity="center_vertical"
+ android:singleLine="true"
+ android:text="{Author}"
+ android:textColor="?headlineSelectedSecondaryTextColor"
+ android:textSize="12sp" />
+
+ <ImageView
+ android:id="@+id/marked"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:gravity="center"
- android:paddingRight="6dp" >
+ android:layout_weight="0"
+ android:clickable="true"
+ android:paddingRight="6dp"
+ android:src="@android:drawable/star_off" />
- <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
+ 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
- android:id="@+id/published"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true"
- android:src="@drawable/ic_rss_bw" />
- </LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file |