2016-03-23 17:47:06 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2016 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/>.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-03-23 21:58:51 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/nav_drawer_header_height"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/standard_padding"
|
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:background="@color/drawer_header_color">
|
2016-03-23 17:47:06 +03:00
|
|
|
|
2016-03-23 21:58:51 +03:00
|
|
|
<LinearLayout
|
2016-03-23 22:56:22 +03:00
|
|
|
android:id="@+id/drawer_active_user"
|
2016-03-23 21:58:51 +03:00
|
|
|
android:layout_width="match_parent"
|
2016-03-23 17:47:06 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2016-03-23 21:58:51 +03:00
|
|
|
>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/drawer_usericon"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:src="@drawable/ic_account_circle"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="@dimen/standard_half_padding"
|
|
|
|
android:paddingRight="@dimen/standard_half_padding"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/drawer_username"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:shadowColor="@color/black"
|
|
|
|
android:shadowDx="0.5"
|
|
|
|
android:shadowDy="0"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:text="@string/app_name"
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/drawer_username_full"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:shadowColor="@color/black"
|
|
|
|
android:shadowDx="0.5"
|
|
|
|
android:shadowDy="0"
|
|
|
|
android:shadowRadius="2"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:text="@string/app_name"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
2016-03-23 22:56:22 +03:00
|
|
|
android:id="@+id/drawer_account_chooser_toogle"
|
2016-03-23 21:58:51 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/drawer_manage_accounts"
|
|
|
|
android:src="@drawable/ic_down"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-03-23 17:47:06 +03:00
|
|
|
</LinearLayout>
|