grid_item.xml 676 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:id="@+id/grid_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
Christof Wolke's avatar
Christof Wolke committed
11
        android:background="@drawable/grid_item_background"
12
13
14
        android:gravity="center"
        android:textSize="20sp"
        android:layout_margin="10dp"
Christof Wolke's avatar
Christof Wolke committed
15
16
        android:padding="20dp"
        android:elevation="2dp"
Christof Wolke's avatar
Christof Wolke committed
17
18
        android:singleLine="false"
        android:minLines="3"/>
19
20

</LinearLayout>