2015-12-10 16:19:17 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-01-11 17:34:41 +03:00
|
|
|
<!--
|
|
|
|
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/>.
|
|
|
|
-->
|
2016-01-13 15:43:07 +03:00
|
|
|
<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">
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2016-01-13 15:43:07 +03:00
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2016-03-21 22:04:00 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/editShareTitle"
|
|
|
|
android:layout_width="fill_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"
|
|
|
|
/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2016-03-21 22:04:00 +03:00
|
|
|
<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
|
2016-01-13 15:43:07 +03:00
|
|
|
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"
|
2016-03-21 22:04:00 +03:00
|
|
|
android:textColor="@color/color_accent"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
2016-01-13 15:43:07 +03:00
|
|
|
/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2016-01-13 15:43:07 +03:00
|
|
|
<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"
|
|
|
|
/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2016-01-13 15:43:07 +03:00
|
|
|
<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"
|
|
|
|
/>
|
2015-12-10 16:19:17 +03:00
|
|
|
|
2016-01-13 15:43:07 +03:00
|
|
|
<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"
|
|
|
|
/>
|
2015-12-11 13:21:10 +03:00
|
|
|
|
2016-03-21 22:04:00 +03:00
|
|
|
<android.support.v7.widget.SwitchCompat
|
2016-01-13 15:43:07 +03:00
|
|
|
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"
|
2016-03-21 22:04:00 +03:00
|
|
|
android:textColor="@color/color_accent"
|
|
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
2016-01-13 15:43:07 +03:00
|
|
|
/>
|
2016-03-21 22:04:00 +03:00
|
|
|
</LinearLayout>
|
2016-01-13 15:43:07 +03:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|