2021-03-22 18:57:30 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Tobias Kaminsky
|
2021-04-08 11:19:26 +03:00
|
|
|
~ @author Andy Scherzinger
|
2021-03-22 18:57:30 +03:00
|
|
|
~ Copyright (C) 2021 Tobias Kaminsky <tobias.kaminsky@nextcloud.com>
|
2022-04-21 17:34:11 +03:00
|
|
|
~ Copyright (C) 2021-2022 Andy Scherzinger <info@andy-scherzinger.de>
|
2021-03-22 18:57:30 +03:00
|
|
|
~
|
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
|
|
~ it under the terms of the GNU General Public License as published by
|
|
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
|
|
~ at your option) 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 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:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/scope_private"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:orientation="horizontal"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingStart="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<ImageView
|
2022-03-23 21:14:39 +03:00
|
|
|
android:layout_width="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="top"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:contentDescription="@string/lock_symbol"
|
2022-03-23 21:14:39 +03:00
|
|
|
app:srcCompat="@drawable/ic_cellphone" />
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginEnd="0dp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/scope_private_title"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/conversation_item_header"
|
|
|
|
android:textSize="16sp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:text="@string/scope_private_description"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/textColorMaxContrast"
|
|
|
|
android:textSize="14sp" />
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/scope_local"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:orientation="horizontal"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingStart="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<ImageView
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="top"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:contentDescription="@string/lock_symbol"
|
|
|
|
app:srcCompat="@drawable/ic_password" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginEnd="0dp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/scope_local_title"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/conversation_item_header"
|
|
|
|
android:textSize="16sp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:text="@string/scope_local_description"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/textColorMaxContrast"
|
|
|
|
android:textSize="14sp" />
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/scope_federated"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:orientation="horizontal"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingStart="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<ImageView
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="top"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:contentDescription="@string/lock_symbol"
|
|
|
|
app:srcCompat="@drawable/ic_contacts" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginEnd="0dp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/scope_federated_title"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/conversation_item_header"
|
|
|
|
android:textSize="16sp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:text="@string/scope_federated_description"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/textColorMaxContrast"
|
|
|
|
android:textSize="14sp" />
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/scope_published"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:orientation="horizontal"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingStart="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
2022-04-21 17:34:11 +03:00
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
<ImageView
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="top"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:contentDescription="@string/lock_symbol"
|
|
|
|
app:srcCompat="@drawable/ic_link" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:layout_marginEnd="0dp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/scope_published_title"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/conversation_item_header"
|
|
|
|
android:textSize="16sp"
|
2021-03-22 18:57:30 +03:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:text="@string/scope_published_description"
|
2021-07-16 12:17:39 +03:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-08 11:19:26 +03:00
|
|
|
android:textColor="@color/textColorMaxContrast"
|
|
|
|
android:textSize="14sp" />
|
2021-03-22 18:57:30 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|