2016-03-25 00:17:04 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
2016-10-12 17:51:40 +03:00
|
|
|
Nextcloud Android client application
|
2016-03-25 00:17:04 +03:00
|
|
|
|
2016-10-12 17:51:40 +03:00
|
|
|
Copyright (C) 2016 Andy Scherzinger
|
|
|
|
Copyright (C) 2016 Nextcloud
|
|
|
|
Copyright (C) 2016 ownCloud
|
2016-03-25 00:17:04 +03:00
|
|
|
|
2016-10-12 17:51:40 +03:00
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 3 of the License, or any later version.
|
2016-03-25 00:17:04 +03:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2016-10-26 17:05:46 +03:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2016-10-12 17:51:40 +03:00
|
|
|
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
2016-03-25 00:17:04 +03:00
|
|
|
|
2016-10-12 17:51:40 +03:00
|
|
|
You should have received a copy of the GNU Affero General Public
|
2016-10-26 17:05:46 +03:00
|
|
|
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-03-25 00:17:04 +03:00
|
|
|
-->
|
2016-10-11 17:07:20 +03:00
|
|
|
<RelativeLayout
|
2016-03-25 00:17:04 +03:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-01-26 14:15:59 +03:00
|
|
|
android:layout_width="match_parent"
|
2016-10-07 02:12:22 +03:00
|
|
|
android:layout_height="@dimen/account_item_layout_height"
|
2016-03-25 00:17:04 +03:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
2016-10-12 16:00:43 +03:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/avatar_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/user_icon"
|
|
|
|
android:layout_width="@dimen/user_icon_size"
|
|
|
|
android:layout_height="@dimen/user_icon_size"
|
|
|
|
android:layout_gravity="top|left"
|
|
|
|
android:layout_marginBottom="1dp"
|
|
|
|
android:layout_marginLeft="12dp"
|
|
|
|
android:layout_marginRight="1dp"
|
|
|
|
android:layout_marginTop="1dp"
|
|
|
|
android:src="@drawable/ic_menu_archive"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ticker"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:background="@drawable/round_bgnd"
|
|
|
|
android:src="@drawable/ic_account_circle_white_18dp"
|
2017-05-22 14:15:00 +03:00
|
|
|
android:tint="@color/primary"/>
|
2016-10-12 16:00:43 +03:00
|
|
|
</FrameLayout>
|
|
|
|
|
2016-10-11 17:07:20 +03:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_toEndOf="@id/avatar_container"
|
|
|
|
android:layout_toRightOf="@id/avatar_container"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/user_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="@dimen/standard_half_margin"
|
2016-10-12 17:58:31 +03:00
|
|
|
android:layout_marginLeft="@dimen/standard_half_margin"
|
2016-10-11 17:07:20 +03:00
|
|
|
android:layout_marginRight="@dimen/standard_half_margin"
|
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/placeholder_filename"
|
2016-10-12 16:00:43 +03:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"/>
|
2016-10-11 17:07:20 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/account"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginEnd="@dimen/standard_half_margin"
|
2016-10-12 17:58:31 +03:00
|
|
|
android:layout_marginLeft="@dimen/standard_half_margin"
|
2016-10-11 17:07:20 +03:00
|
|
|
android:layout_marginRight="@dimen/standard_half_margin"
|
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="top"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:text="@string/placeholder_sentence"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
2016-03-25 00:17:04 +03:00
|
|
|
|
2016-10-11 17:07:20 +03:00
|
|
|
</RelativeLayout>
|