mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
c20041d157
Conflicts: res/menu/main_menu.xml src/com/owncloud/android/ui/activity/FileDisplayActivity.java src/com/owncloud/android/ui/activity/FolderPickerActivity.java src/com/owncloud/android/ui/activity/Preferences.java src/com/owncloud/android/ui/preview/PreviewImageActivity.java
96 lines
No EOL
3.5 KiB
XML
96 lines
No EOL
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
|
Copyright (C) 2015 ownCloud Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2,
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true" >
|
|
|
|
<!-- The main content view -->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background_color"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal" >
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/left_fragment_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/right_fragment_container"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="2" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/left_drawer"
|
|
android:layout_width="240dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:background="@color/background_color"
|
|
android:baselineAligned="false"
|
|
android:clickable="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/drawer_userIcon"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:src="@drawable/abc_ab_bottom_solid_dark_holo" />
|
|
|
|
<TextView
|
|
android:id="@+id/drawer_username"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginStart="5dp"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="2dip"
|
|
android:background="@color/list_item_lastmod_and_filesize_text" />
|
|
|
|
<ListView
|
|
android:id="@+id/drawer_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background_color"
|
|
android:choiceMode="singleChoice"
|
|
/>
|
|
</LinearLayout>
|
|
</android.support.v4.widget.DrawerLayout> |