summaryrefslogtreecommitdiff
path: root/android/experimental/LibreOffice4Android/res/layout/file_explorer_grid_item.xml
blob: 62609be5600b6ca8f4dd0a6797f7ba70e303e631 (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
35
36
<?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"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    
	<ImageView
        android:id="@+id/grid_item_image"
        android:layout_width="100dp"
        android:layout_height="142dp"
        android:paddingTop="15dp"
        android:paddingBottom="10dp"
        android:scaleType="fitStart"
        android:layout_gravity="center" >
    </ImageView>
 
    <TextView
        android:id="@+id/grid_item_label"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@+id/label"
        android:paddingLeft="10dp"
        android:paddingRight="10dp"
        android:layout_gravity="center"
        android:textSize="15dp" 
        android:textStyle="bold"
        android:maxLines="2">
    </TextView>

</LinearLayout>