Kaydet (Commit) 72f023fc authored tarafından Siqi Liu's avatar Siqi Liu

refactor xml styling for listview texts

Change-Id: Id52d33807c34b0fa12bc563ed479f5519103c8fe
üst c9baf39d
......@@ -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>
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment