summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/experimental/LOAndroid3/res/layout/file_list_item.xml24
-rw-r--r--android/experimental/LOAndroid3/res/values/themes.xml6
2 files changed, 15 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>
diff --git a/android/experimental/LOAndroid3/res/values/themes.xml b/android/experimental/LOAndroid3/res/values/themes.xml
index 478aeb7eef06..2b9e9f13749f 100644
--- a/android/experimental/LOAndroid3/res/values/themes.xml
+++ b/android/experimental/LOAndroid3/res/values/themes.xml
@@ -9,4 +9,10 @@
<style name="BrowserTheme" parent="Theme.AppCompat.Light.NoActionBar">
</style>
+
+ <style name="ListItemText">
+ <item name="android:gravity">center</item>
+ <item name="android:textColor">@android:color/black</item>
+ <item name="android:textSize">15sp</item>
+ </style>
</resources>