1 <?xml version="1.0" encoding="utf-8"?>
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/.
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" >
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" />
22 android:layout_width="match_parent"
23 android:layout_height="48dp"
24 android:orientation="horizontal">
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" />
33 android:id="@+id/file_list_item_size"
35 style="@style/ListItemText"
36 android:layout_height="match_parent"
37 android:layout_width="0dp"
38 android:layout_weight="1" />
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" />