1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2015 ownCloud Inc.
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.
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.
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
/>.
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">
31 <!--TODO re-enable when
"Accounts" is available in Navigation Drawer--
>
33 <!--android:
layout_width=
"match_parent"--
>
34 <!--android:
layout_height=
"wrap_content"--
>
35 <!--android:
layout_margin=
"5dp">--
>
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" />--
>
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" />--
>
52 <!--
</LinearLayout>--
>
55 <!--android:
layout_width=
"fill_parent"--
>
56 <!--android:
layout_height=
"2dip"--
>
57 <!--android:
background=
"@color/list_item_lastmod_and_filesize_text" />--
>
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"