mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
50 lines
No EOL
1.8 KiB
XML
50 lines
No EOL
1.8 KiB
XML
<?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"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="100dp"
|
|
android:paddingTop="@dimen/standard_padding"
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
android:background="@color/drawer_header_color">
|
|
|
|
<ImageView
|
|
android:id="@+id/itemIcon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_marginLeft="@dimen/standard_padding"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_gravity="bottom"
|
|
android:src="@drawable/ic_account_circle"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/drawer_username"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="bottom"
|
|
android:orientation="vertical"
|
|
android:text="@string/app_name"
|
|
android:textColor="#FFF"
|
|
android:paddingLeft="22dp"
|
|
android:paddingRight="@dimen/standard_padding"
|
|
android:textSize="24sp"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
/>
|
|
</LinearLayout> |