summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-09-17 14:01:56 -0700
committerClark Scheff <clark@cyngn.com>2014-09-18 19:05:25 +0000
commit066da9168355f5978b0ac5411acd94d027357a85 (patch)
treec39790e78520e9a4d775d9ce53ff11814ad6aab5 /res/layout
parent1f2f0ce0193d60a758ecc2ee22cf16d8bb1a03d3 (diff)
downloadpackages_apps_ThemeChooser-066da9168355f5978b0ac5411acd94d027357a85.tar.gz
packages_apps_ThemeChooser-066da9168355f5978b0ac5411acd94d027357a85.tar.bz2
packages_apps_ThemeChooser-066da9168355f5978b0ac5411acd94d027357a85.zip
Include author name in title card
Change-Id: Id3c2371fe2bc0eceb230a037d5ba2f60600b9a71
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/fragment_pager_list.xml28
1 files changed, 20 insertions, 8 deletions
diff --git a/res/layout/fragment_pager_list.xml b/res/layout/fragment_pager_list.xml
index 41baa30..7f342a2 100644
--- a/res/layout/fragment_pager_list.xml
+++ b/res/layout/fragment_pager_list.xml
@@ -73,17 +73,29 @@
android:layout_width="match_parent"
android:layout_height="@dimen/title_card_height"
android:alpha="0">
- <com.cyngn.theme.widget.LatoTextView
- android:id="@+id/title"
+ <LinearLayout
android:layout_width="0dp"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
- android:gravity="center_vertical"
- android:ellipsize="end"
- android:singleLine="true"
- android:textColor="#78000000"/>
-
+ android:orientation="vertical">
+ <com.cyngn.theme.widget.LatoTextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textColor="@color/theme_title_text_color"/>
+ <com.cyngn.theme.widget.LatoTextView
+ android:id="@+id/author"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textColor="@color/theme_author_text_color"
+ android:textSize="14sp" />
+ </LinearLayout>
<ImageView
android:id="@+id/customize"
android:layout_width="47dp"