12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?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">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:weightSum="1"
- android:longClickable="true">
- <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"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textSize="@dimen/two_line_primary_text_size"
- android:text="@string/username"
- android:id="@+id/userOrGroupName"
- android:layout_marginTop="@dimen/standard_half_margin"
- android:layout_marginBottom="@dimen/standard_half_margin"
- android:layout_marginLeft="@dimen/standard_half_margin"
- android:textColor="@color/textColor"
- android:singleLine="true"
- android:ellipsize="middle"
- android:layout_gravity="center_vertical"/>
- <ImageView
- android:layout_width="@dimen/unshare_icon_size"
- android:layout_height="@dimen/unshare_icon_size"
- android:id="@+id/unshareButton"
- android:src="@drawable/ic_action_delete_grey"
- android:layout_gravity="center_vertical"
- android:padding="@dimen/standard_half_padding"/>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/editShareButton"
- android:src="@drawable/ic_dots_vertical"
- android:padding="@dimen/standard_half_padding"
- android:layout_gravity="center_vertical"/>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/list_divider_background" />
- </LinearLayout>
|