summaryrefslogtreecommitdiff
path: root/android/source/res/layout/navigation_grid_item.xml
blob: 20ad60f3c855587599d7b5ad4ebf1c0f6839cf84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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="150dp"
    android:layout_height="150dp"
    android:layout_gravity="center"
    android:background="#00880000"
    android:orientation="vertical" >
    <!-- Can I give all thumbs the same ID? works in grid adapter "getView" -->
    <ImageView
        android:src="@drawable/dummy_page"
        android:id="@+id/thumbnail"
        android:layout_width="120dp"
        android:layout_height="120dp"
        android:layout_margin="15dp"
        android:layout_gravity="center"/>
</LinearLayout>