2016-09-30 02:27:50 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Nextcloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2016 Andy Scherzinger
|
|
|
|
Copyright (C) 2016 Nextcloud.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 3 of the License, or any later version.
|
|
|
|
|
|
|
|
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 AFFERO GENERAL PUBLIC LICENSE for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public
|
|
|
|
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2017-05-15 19:25:42 +03:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/root"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/standard_padding">
|
|
|
|
|
2016-10-27 13:04:36 +03:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/top_title"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2016-10-27 13:04:36 +03:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:orientation="vertical"
|
2016-10-27 13:04:36 +03:00
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:paddingTop="@dimen/standard_padding">
|
2016-10-27 13:04:36 +03:00
|
|
|
|
|
|
|
<TextView
|
2017-07-11 11:28:22 +03:00
|
|
|
android:id="@+id/synced_folders_settings_title"
|
2016-10-27 13:04:36 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-07-11 11:28:22 +03:00
|
|
|
android:text="@string/synced_folders_preferences"
|
2016-10-27 13:04:36 +03:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
|
|
|
|
|
<TextView
|
2017-07-11 11:28:22 +03:00
|
|
|
android:id="@+id/synced_folders_settings_local_folder_path"
|
2016-10-27 13:04:36 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-27 16:32:49 +03:00
|
|
|
android:ellipsize="middle"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
2016-10-27 13:04:36 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|top"
|
|
|
|
android:orientation="vertical"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/zero"
|
|
|
|
android:paddingEnd="@dimen/zero"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:paddingTop="@dimen/standard_padding">
|
2016-10-27 13:04:36 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
2016-10-27 13:04:36 +03:00
|
|
|
android:id="@+id/sync_enabled"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-10-26 15:02:40 +03:00
|
|
|
|
2016-09-30 02:27:50 +03:00
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/details_scroll"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
2017-05-15 19:25:42 +03:00
|
|
|
android:id="@+id/local_folder_container"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-10 00:30:23 +03:00
|
|
|
android:baselineAligned="false"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:clipToPadding="false"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:gravity="center_vertical"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2017-05-15 19:25:42 +03:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/local_folder_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2017-07-11 11:28:22 +03:00
|
|
|
android:text="@string/prefs_synced_folders_local_path_title"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/local_folder_summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@id/local_folder_title"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_alignStart="@id/local_folder_title"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:layout_below="@id/local_folder_title"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:maxLines="2"
|
2017-08-21 13:05:54 +03:00
|
|
|
android:text="@string/choose_local_folder"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Preference should place its actual preference widget here. -->
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/local_folder_frame"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:layout_width="wrap_content"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="vertical"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/zero"
|
|
|
|
android:paddingEnd="@dimen/zero">
|
2017-05-15 19:25:42 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/local_folder_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:padding="@dimen/standard_quarter_padding"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:src="@drawable/ic_folder_open"
|
|
|
|
android:contentDescription="@string/folder_icon"/>
|
2017-05-15 19:25:42 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/remote_folder_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/remote_folder_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2017-07-11 11:28:22 +03:00
|
|
|
android:text="@string/prefs_synced_folders_remote_path_title"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/remote_folder_summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_alignStart="@id/remote_folder_title"
|
2017-05-15 19:25:42 +03:00
|
|
|
android:layout_alignLeft="@id/remote_folder_title"
|
|
|
|
android:layout_below="@id/remote_folder_title"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:text="@string/choose_remote_folder"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Preference should place its actual preference widget here. -->
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/remote_folder_frame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="vertical"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingEnd="@dimen/zero"
|
|
|
|
android:paddingRight="@dimen/zero">
|
2017-05-15 19:25:42 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/remote_folder_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:padding="@dimen/standard_quarter_padding"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:src="@drawable/ic_folder_open"
|
|
|
|
android:contentDescription="@string/folder_icon"/>
|
2017-05-15 19:25:42 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-09-30 02:27:50 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_wifi_container"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:baselineAligned="false"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<TextView
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_wifi_label"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2016-12-31 19:26:09 +03:00
|
|
|
android:text="@string/auto_upload_on_wifi"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/setting_instant_upload_on_wifi_frame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="vertical"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/zero"
|
|
|
|
android:paddingEnd="@dimen/zero">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
2016-09-30 02:27:50 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_wifi_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_charging_container"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:baselineAligned="false"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<TextView
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_charging_label"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:text="@string/instant_upload_on_charging"
|
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/setting_instant_upload_on_charging_frame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="vertical"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/zero"
|
|
|
|
android:paddingEnd="@dimen/zero">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
2016-09-30 02:27:50 +03:00
|
|
|
android:id="@+id/setting_instant_upload_on_charging_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_path_use_subfolders_container"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:baselineAligned="false"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<TextView
|
2016-10-07 00:22:56 +03:00
|
|
|
android:id="@+id/setting_instant_upload_path_use_subfolders_label"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:text="@string/prefs_instant_upload_path_use_subfolders_title"
|
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/setting_instant_upload_path_use_subfolders_summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-07 00:22:56 +03:00
|
|
|
android:layout_alignLeft="@id/setting_instant_upload_path_use_subfolders_label"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_alignStart="@id/setting_instant_upload_path_use_subfolders_label"
|
2016-10-07 00:22:56 +03:00
|
|
|
android:layout_below="@id/setting_instant_upload_path_use_subfolders_label"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:text="@string/prefs_instant_upload_path_use_subfolders_summary"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<!-- Preference should place its actual preference widget here. -->
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/setting_instant_upload_path_use_subfolders_frame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="vertical"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/zero"
|
|
|
|
android:paddingEnd="@dimen/zero">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
2016-09-30 02:27:50 +03:00
|
|
|
android:id="@+id/setting_instant_upload_path_use_subfolders_checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@null"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-10-10 00:27:30 +03:00
|
|
|
android:id="@+id/setting_instant_behaviour_container"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:baselineAligned="false"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="center_vertical"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:minHeight="?attr/listPreferredItemHeightSmall"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2016-10-26 15:02:40 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/setting_instant_behaviour_title"
|
|
|
|
android:layout_width="wrap_content"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:ellipsize="marquee"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:text="@string/prefs_instant_behaviour_title"
|
|
|
|
android:textAppearance="?attr/textAppearanceListItem"/>
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2016-10-26 15:02:40 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/setting_instant_behaviour_summary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2018-10-22 20:09:29 +03:00
|
|
|
android:maxLines="2"
|
2016-10-26 15:02:40 +03:00
|
|
|
android:text="@string/placeholder_filename"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"/>
|
2016-09-30 02:27:50 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
2017-05-30 18:32:31 +03:00
|
|
|
<RelativeLayout
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
2017-05-30 18:32:31 +03:00
|
|
|
android:layout_height="wrap_content">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
2017-05-30 18:32:31 +03:00
|
|
|
android:id="@+id/delete"
|
|
|
|
style="@style/Button.Borderless.Destructive"
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-30 18:32:31 +03:00
|
|
|
android:layout_alignParentLeft="true"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_alignParentStart="true"
|
2017-08-07 22:49:25 +03:00
|
|
|
android:text="@string/common_delete"/>
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2017-05-30 18:32:31 +03:00
|
|
|
<LinearLayout
|
2016-09-30 02:27:50 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-01 14:40:50 +03:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true">
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
2017-05-30 18:32:31 +03:00
|
|
|
android:id="@+id/cancel"
|
|
|
|
style="@style/Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/common_cancel"/>
|
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
2017-05-30 18:32:31 +03:00
|
|
|
android:id="@+id/save"
|
|
|
|
style="@style/Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/common_save"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-09-30 02:27:50 +03:00
|
|
|
|
2018-10-22 20:09:29 +03:00
|
|
|
</LinearLayout>
|