summaryrefslogtreecommitdiff
path: root/android/source/res/layout/file_list_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'android/source/res/layout/file_list_item.xml')
-rw-r--r--android/source/res/layout/file_list_item.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/android/source/res/layout/file_list_item.xml b/android/source/res/layout/file_list_item.xml
index 17590fc7bfb4..352948817525 100644
--- a/android/source/res/layout/file_list_item.xml
+++ b/android/source/res/layout/file_list_item.xml
@@ -6,33 +6,39 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="48dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/file_list_item_icon"
+ tools:src="@drawable/folder"
android:layout_height="match_parent"
android:layout_width="32dp"
android:layout_margin="8dp"
- android:layout_gravity="center"/>
+ android:layout_gravity="center"
+ android:contentDescription="@string/file_icon_desc" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:orientation="horizontal">
<TextView
android:id="@+id/file_list_item_name"
+ tools:text="file or dirname"
style="@style/ListItemText"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="2" />
<TextView
android:id="@+id/file_list_item_size"
+ tools:text="filesize"
style="@style/ListItemText"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1" />
<TextView
android:id="@+id/file_list_item_date"
+ tools:text="date/time"
style="@style/ListItemText"
android:layout_height="match_parent"
android:layout_width="0dp"