mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
105 lines
No EOL
4.1 KiB
XML
105 lines
No EOL
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
ownCloud Android client application
|
|
|
|
@author David A. Velasco
|
|
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/>.
|
|
-->
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="com.owncloud.android.ui.fragment.EditShareFragment"
|
|
android:id="@+id/shareScroll">
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/editShareTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/share_with_edit_title"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
android:padding="@dimen/standard_padding"
|
|
android:singleLine="true"
|
|
android:ellipsize="middle"
|
|
/>
|
|
|
|
<View
|
|
android:id="@+id/share_header_divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:background="@color/owncloud_blue"
|
|
/>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/standard_margin"
|
|
android:layout_marginRight="@dimen/standard_margin"
|
|
android:layout_marginBottom="@dimen/standard_margin">
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/share_privilege_can_edit"
|
|
android:id="@+id/canEditSwitch"
|
|
android:layout_gravity="start"
|
|
android:layout_marginTop="@dimen/standard_half_margin"
|
|
android:textColor="@color/color_accent"
|
|
android:paddingLeft="0dp"
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
|
/>
|
|
|
|
<CheckBox
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/canEditCreateCheckBox"
|
|
android:text="@string/share_privilege_can_edit_create"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<CheckBox
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/canEditChangeCheckBox"
|
|
android:text="@string/share_privilege_can_edit_change"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<CheckBox
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/canEditDeleteCheckBox"
|
|
android:text="@string/share_privilege_can_edit_delete"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/share_privilege_can_share"
|
|
android:id="@+id/canShareSwitch"
|
|
android:layout_gravity="start"
|
|
android:layout_marginTop="@dimen/standard_half_margin"
|
|
android:textColor="@color/color_accent"
|
|
android:paddingLeft="0dp"
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |