diff options
author | Siqi Liu <me@siqi.fr> | 2015-04-23 13:43:49 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-04-24 09:38:43 +0200 |
commit | 6fedb679c3879484688636fe51790bfcf137b941 (patch) | |
tree | 7bf9b563624c7c9d4ba819e8339af64c207ca98b /android/experimental/LOAndroid3/res/layout/file_list_item.xml | |
parent | 462c40944c89de9cb42593bb600a3c0f239a831b (diff) |
refactor xml styling for listview texts
Change-Id: Id52d33807c34b0fa12bc563ed479f5519103c8fe
Diffstat (limited to 'android/experimental/LOAndroid3/res/layout/file_list_item.xml')
-rw-r--r-- | android/experimental/LOAndroid3/res/layout/file_list_item.xml | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/android/experimental/LOAndroid3/res/layout/file_list_item.xml b/android/experimental/LOAndroid3/res/layout/file_list_item.xml index 91d84fdf6f5d..17590fc7bfb4 100644 --- a/android/experimental/LOAndroid3/res/layout/file_list_item.xml +++ b/android/experimental/LOAndroid3/res/layout/file_list_item.xml @@ -21,27 +21,21 @@ android:orientation="horizontal"> <TextView android:id="@+id/file_list_item_name" - android:layout_height="48dp" + style="@style/ListItemText" + android:layout_height="match_parent" android:layout_width="0dp" - android:textSize="15dp" - android:textStyle="bold" - android:layout_weight="2" - android:gravity="center"/> + android:layout_weight="2" /> <TextView android:id="@+id/file_list_item_size" - android:layout_height="48dp" + style="@style/ListItemText" + android:layout_height="match_parent" android:layout_width="0dp" - android:textSize="15dp" - android:textStyle="bold" - android:layout_weight="1" - android:gravity="center"/> + android:layout_weight="1" /> <TextView android:id="@+id/file_list_item_date" - android:layout_height="48dp" + style="@style/ListItemText" + android:layout_height="match_parent" android:layout_width="0dp" - android:textSize="15dp" - android:textStyle="bold" - android:layout_weight="2" - android:gravity="center"/> + android:layout_weight="2" /> </LinearLayout> </LinearLayout> |