2015-10-16 12:02:46 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
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/>.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2015-10-19 14:52:58 +03:00
|
|
|
<LinearLayout
|
2015-10-16 12:02:46 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-10-19 14:52:58 +03:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1"
|
|
|
|
android:longClickable="true">
|
2016-03-21 19:47:55 +03:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/icon"
|
|
|
|
android:src="@drawable/ic_user"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
2015-10-19 14:52:58 +03:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:layout_weight="1"
|
2016-01-11 17:34:41 +03:00
|
|
|
android:textSize="@dimen/two_line_primary_text_size"
|
2015-10-19 14:52:58 +03:00
|
|
|
android:text="@string/username"
|
|
|
|
android:id="@+id/userOrGroupName"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:layout_marginTop="@dimen/standard_half_margin"
|
|
|
|
android:layout_marginBottom="@dimen/standard_half_margin"
|
|
|
|
android:layout_marginLeft="@dimen/standard_half_margin"
|
2015-10-28 02:22:36 +03:00
|
|
|
android:textColor="@color/textColor"
|
|
|
|
android:singleLine="true"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:ellipsize="middle"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
2015-10-19 14:52:58 +03:00
|
|
|
|
2015-12-10 16:19:17 +03:00
|
|
|
<ImageView
|
2016-03-21 19:47:55 +03:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
2016-01-11 17:34:41 +03:00
|
|
|
android:id="@+id/unshareButton"
|
2016-07-11 15:44:55 +03:00
|
|
|
android:src="@drawable/ic_action_delete_grey"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:padding="@dimen/standard_half_padding"/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2015-10-19 14:52:58 +03:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-01-11 17:34:41 +03:00
|
|
|
android:id="@+id/editShareButton"
|
|
|
|
android:src="@drawable/ic_navigate_next"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:padding="@dimen/standard_half_padding"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2015-10-19 14:52:58 +03:00
|
|
|
</LinearLayout>
|
2015-10-16 12:02:46 +03:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2016-03-21 19:47:55 +03:00
|
|
|
android:background="@color/list_divider_background" />
|
2015-10-16 12:02:46 +03:00
|
|
|
</LinearLayout>
|