Merge branch 'master' into develop
[pub/Android/ownCloud.git] / res / layout / drawer_list_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2015 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/itemLayout"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content"
24 android:layout_alignParentLeft="true"
25 android:orientation="horizontal"
26 android:background="@color/background_color"
27 android:layout_marginTop="10dp"
28 android:layout_marginBottom="10dp">
29
30 <TextView xmlns:android="http://schemas.android.com/apk/res/android"
31 android:id="@+id/itemTitle"
32 android:layout_width="wrap_content"
33 android:layout_height="match_parent"
34 android:gravity="center_vertical"
35 android:paddingLeft="16dp"
36 android:paddingRight="16dp"
37 android:textColor="@color/textColor"
38 android:text="@string/app_name"
39 android:textAppearance="?android:attr/textAppearanceListItemSmall"
40 android:minHeight="?android:attr/listPreferredItemHeightSmall"/>
41 </LinearLayout>
42