summaryrefslogtreecommitdiffstats
path: root/android/source/res/layout/file_explorer_grid_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'android/source/res/layout/file_explorer_grid_item.xml')
-rw-r--r--android/source/res/layout/file_explorer_grid_item.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/android/source/res/layout/file_explorer_grid_item.xml b/android/source/res/layout/file_explorer_grid_item.xml
new file mode 100644
index 000000000000..5242f8f60f31
--- /dev/null
+++ b/android/source/res/layout/file_explorer_grid_item.xml
@@ -0,0 +1,37 @@
+<?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:paddingTop="10dp"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:id="@+id/grid_item_image"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ 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:paddingTop="10dp"
+ android:layout_gravity="center"
+ android:textSize="15dp"
+ android:textStyle="bold"
+ android:textColor="@android:color/secondary_text_light"
+ android:maxLines="2">
+ </TextView>
+
+</LinearLayout>