Merge pull request #1088 from owncloud/updated_docs_about_target_of_PRs
[pub/Android/ownCloud.git] / res / layout / drawer.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 <LinearLayout
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/left_drawer"
22 android:layout_width="240dp"
23 android:layout_height="match_parent"
24 android:layout_gravity="start"
25 android:background="@color/background_color"
26 android:baselineAligned="false"
27 android:clickable="true"
28 android:orientation="vertical"
29 android:fitsSystemWindows="true">
30
31 <!--TODO re-enable when "Accounts" is available in Navigation Drawer-->
32 <!--<LinearLayout-->
33 <!--android:layout_width="match_parent"-->
34 <!--android:layout_height="wrap_content"-->
35 <!--android:layout_margin="5dp">-->
36
37 <!--<ImageView-->
38 <!--android:id="@+id/drawer_userIcon"-->
39 <!--android:layout_width="40dp"-->
40 <!--android:layout_height="40dp"-->
41 <!--android:src="@drawable/abc_ab_bottom_solid_dark_holo" />-->
42
43 <!--<TextView-->
44 <!--android:id="@+id/drawer_username"-->
45 <!--android:layout_width="wrap_content"-->
46 <!--android:layout_height="wrap_content"-->
47 <!--android:layout_gravity="center_vertical"-->
48 <!--android:layout_marginLeft="5dp"-->
49 <!--android:layout_marginStart="5dp"-->
50 <!--android:textAppearance="?android:attr/textAppearanceLarge" />-->
51
52 <!--</LinearLayout>-->
53
54 <!--<TextView-->
55 <!--android:layout_width="fill_parent"-->
56 <!--android:layout_height="2dip"-->
57 <!--android:background="@color/list_item_lastmod_and_filesize_text" />-->
58
59 <ListView
60 android:id="@+id/drawer_list"
61 android:layout_width="fill_parent"
62 android:layout_height="match_parent"
63 android:background="@color/background_color"
64 android:choiceMode="singleChoice"
65 />
66 </LinearLayout>