summaryrefslogtreecommitdiff
path: root/android/source/res/layout/item_recent_files.xml
blob: fa966d8b554c5b840364342427243b3d285a9e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<!--
 This file is part of the LibreOffice project.

 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 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"
    android:background="?android:attr/selectableItemBackground"
    tools:ignore="UseCompoundDrawables">
    <!--using compound drawables is ignored because more control over the drawable size is needed-->

    <ImageView
        android:layout_width="32dp"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        android:layout_gravity="center_vertical"
        android:adjustViewBounds="true"
        android:id="@+id/imageView"
        android:contentDescription="@string/file_icon_desc"/>


    <TextView
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:id="@+id/textView"
        style="@style/ListItemText"/>

</LinearLayout>