12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- ownCloud Android client application
- Copyright (C) 2015 ownCloud Inc.
- Copyright (C) 2018 Andy Scherzinger
- 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"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:weightSum="1"
- tools:ignore="UseCompoundDrawables">
- <ImageView
- android:id="@+id/avatar"
- android:layout_width="@dimen/user_icon_size"
- android:layout_height="@dimen/user_icon_size"
- android:layout_gravity="center_vertical"
- android:layout_marginBottom="@dimen/standard_half_margin"
- android:layout_marginEnd="@dimen/standard_margin"
- android:layout_marginLeft="@dimen/standard_margin"
- android:layout_marginRight="@dimen/standard_margin"
- android:layout_marginStart="@dimen/standard_margin"
- android:layout_marginTop="@dimen/standard_half_margin"
- android:contentDescription="@string/user_icon"
- android:src="@drawable/ic_user" />
- <TextView
- android:id="@+id/name"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/standard_quarter_margin"
- android:layout_marginRight="@dimen/standard_quarter_margin"
- android:layout_weight="1"
- android:ellipsize="end"
- android:gravity="center_vertical"
- android:singleLine="true"
- android:text="@string/username"
- android:textColor="@color/text_color"
- android:textSize="@dimen/file_details_username_text_size" />
- <androidx.appcompat.widget.AppCompatCheckBox
- android:id="@+id/allowEditing"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:textSize="16sp"
- android:text="@string/edit_permission_label" />
- <ImageView
- android:id="@+id/editShareButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="@dimen/standard_half_margin"
- android:layout_marginStart="@dimen/standard_half_margin"
- android:layout_marginEnd="@dimen/standard_half_margin"
- android:layout_marginRight="@dimen/standard_half_margin"
- android:contentDescription="@string/overflow_menu"
- android:padding="@dimen/standard_half_padding"
- android:src="@drawable/ic_dots_vertical" />
- </LinearLayout>
|