Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / android / source / res / layout / file_list_item.xml
blob352948817525dfde5dcfb8c147835c28e43d5051
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3  This file is part of the LibreOffice project.
4  This Source Code Form is subject to the terms of the Mozilla Public
5  License, v. 2.0. If a copy of the MPL was not distributed with this
6  file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9     xmlns:tools="http://schemas.android.com/tools"
10     android:layout_width="match_parent"
11     android:layout_height="48dp"
12     android:orientation="horizontal" >
13     <ImageView
14         android:id="@+id/file_list_item_icon"
15         tools:src="@drawable/folder"
16         android:layout_height="match_parent"
17         android:layout_width="32dp"
18         android:layout_margin="8dp"
19         android:layout_gravity="center"
20         android:contentDescription="@string/file_icon_desc" />
21     <LinearLayout
22         android:layout_width="match_parent"
23         android:layout_height="48dp"
24         android:orientation="horizontal">
25         <TextView
26             android:id="@+id/file_list_item_name"
27             tools:text="file or dirname"
28             style="@style/ListItemText"
29             android:layout_height="match_parent"
30             android:layout_width="0dp"
31             android:layout_weight="2" />
32         <TextView
33             android:id="@+id/file_list_item_size"
34             tools:text="filesize"
35             style="@style/ListItemText"
36             android:layout_height="match_parent"
37             android:layout_width="0dp"
38             android:layout_weight="1" />
39         <TextView
40             android:id="@+id/file_list_item_date"
41             tools:text="date/time"
42             style="@style/ListItemText"
43             android:layout_height="match_parent"
44             android:layout_width="0dp"
45             android:layout_weight="2" />
46     </LinearLayout>
47 </LinearLayout>