2018-11-07 05:44:46 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Mario Danic
|
2021-04-09 00:46:30 +03:00
|
|
|
~ @author Andy Scherzinger
|
|
|
|
~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
2018-11-07 05:44:46 +03:00
|
|
|
~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
|
|
|
|
~
|
|
|
|
~ 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/>.
|
|
|
|
-->
|
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-09 00:13:23 +03:00
|
|
|
xmlns:apc="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-11-07 05:44:46 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
android:layout_width="@dimen/item_height"
|
|
|
|
android:layout_height="@dimen/item_height"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:indeterminate="true"
|
2020-10-13 09:35:13 +03:00
|
|
|
android:indeterminateTint="@color/textColorMaxContrast"
|
2018-11-23 01:03:56 +03:00
|
|
|
android:indeterminateTintMode="src_in" />
|
|
|
|
|
|
|
|
<ScrollView
|
2018-11-07 05:44:46 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-11-24 01:01:39 +03:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<RelativeLayout
|
2018-11-07 05:44:46 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-11-23 01:03:56 +03:00
|
|
|
android:layout_height="wrap_content">
|
2018-11-07 05:44:46 +03:00
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<com.yarolegovich.mp.MaterialPreferenceCategory
|
|
|
|
android:id="@+id/conversation_info_name"
|
2018-11-24 01:01:39 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-11-23 01:03:56 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:animateLayoutChanges="true"
|
2021-04-09 00:46:30 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
apc:cardBackgroundColor="@color/bg_default"
|
2021-04-10 01:52:10 +03:00
|
|
|
apc:cardElevation="0dp"
|
|
|
|
tools:visibility="visible">
|
2018-11-07 05:44:46 +03:00
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2018-11-07 05:44:46 +03:00
|
|
|
|
2019-09-03 17:00:51 +03:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-11-23 01:03:56 +03:00
|
|
|
android:id="@+id/display_name_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/avatar_image"
|
|
|
|
android:layout_centerHorizontal="true"
|
2021-04-10 01:52:10 +03:00
|
|
|
android:layout_marginTop="@dimen/margin_between_elements"
|
|
|
|
tools:text="Jane Doe" />
|
2018-11-07 05:44:46 +03:00
|
|
|
|
2019-08-30 13:12:40 +03:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
|
|
android:id="@+id/avatar_image"
|
|
|
|
android:layout_width="@dimen/avatar_size_big"
|
|
|
|
android:layout_height="@dimen/avatar_size_big"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
apc:roundAsCircle="true" />
|
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
</RelativeLayout>
|
|
|
|
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
2018-11-09 00:13:23 +03:00
|
|
|
|
2019-02-27 14:56:45 +03:00
|
|
|
<com.yarolegovich.mp.MaterialPreferenceCategory
|
2021-05-06 17:27:40 +03:00
|
|
|
android:id="@+id/conversation_description"
|
2019-02-27 14:56:45 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/conversation_info_name"
|
2021-05-06 17:27:40 +03:00
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
android:visibility="gone"
|
|
|
|
apc:cardBackgroundColor="@color/bg_default"
|
|
|
|
apc:cardElevation="0dp"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<androidx.emoji.widget.EmojiTextView
|
|
|
|
android:id="@+id/description_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_margin="@dimen/standard_margin"
|
|
|
|
android:layout_marginTop="@dimen/margin_between_elements"
|
|
|
|
tools:text="Hello world!" />
|
|
|
|
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
|
|
|
|
|
|
|
<com.yarolegovich.mp.MaterialPreferenceCategory
|
|
|
|
android:id="@+id/otherRoomOptions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/conversation_description"
|
2021-04-09 00:46:30 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
apc:cardBackgroundColor="@color/bg_default"
|
2021-04-10 01:52:10 +03:00
|
|
|
apc:cardElevation="0dp"
|
|
|
|
tools:visibility="visible">
|
2019-02-27 14:56:45 +03:00
|
|
|
|
|
|
|
<com.yarolegovich.mp.MaterialStandardPreference
|
2019-08-30 13:12:40 +03:00
|
|
|
android:id="@+id/favoriteConversationAction"
|
2019-02-27 14:56:45 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
apc:mp_icon="@drawable/ic_star_black_24dp"
|
|
|
|
apc:mp_icon_tint="@color/grey_600"
|
2019-03-04 12:15:00 +03:00
|
|
|
apc:mp_title="@string/nc_add_to_favorites">
|
|
|
|
|
2019-02-27 14:56:45 +03:00
|
|
|
</com.yarolegovich.mp.MaterialStandardPreference>
|
|
|
|
|
|
|
|
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
|
|
|
|
2021-04-12 18:40:36 +03:00
|
|
|
<com.yarolegovich.mp.MaterialPreferenceCategory
|
2018-11-23 01:03:56 +03:00
|
|
|
android:id="@+id/participants_list_category"
|
2018-11-24 01:01:39 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-30 13:12:40 +03:00
|
|
|
android:layout_below="@+id/webinar_settings"
|
2018-11-23 01:03:56 +03:00
|
|
|
android:visibility="gone"
|
2021-04-09 00:46:30 +03:00
|
|
|
apc:cardBackgroundColor="@color/bg_default"
|
|
|
|
apc:cardElevation="0dp"
|
|
|
|
apc:mpc_title="@string/nc_participants"
|
2021-04-12 18:40:36 +03:00
|
|
|
tools:ignore="UnknownIdInLayout"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<com.yarolegovich.mp.MaterialStandardPreference
|
|
|
|
android:id="@+id/addParticipantsAction"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
apc:mp_icon="@drawable/ic_account_plus"
|
|
|
|
apc:mp_icon_tint="@color/grey_600"
|
|
|
|
apc:mp_title="@string/nc_participants_add" />
|
2018-11-09 00:13:23 +03:00
|
|
|
|
2018-11-23 01:03:56 +03:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recycler_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-14 18:05:33 +03:00
|
|
|
tools:listitem="@layout/rv_item_conversation_info_participant" />
|
2018-11-07 05:44:46 +03:00
|
|
|
|
2021-04-12 18:40:36 +03:00
|
|
|
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
2019-03-04 12:15:00 +03:00
|
|
|
|
2019-02-27 14:56:45 +03:00
|
|
|
<com.yarolegovich.mp.MaterialPreferenceCategory
|
2019-03-04 12:15:00 +03:00
|
|
|
android:id="@+id/ownOptions"
|
2019-02-27 14:56:45 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/participants_list_category"
|
2021-04-09 00:46:30 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
apc:cardBackgroundColor="@color/bg_default"
|
2021-04-10 01:52:10 +03:00
|
|
|
apc:cardElevation="0dp"
|
|
|
|
tools:visibility="visible">
|
2019-02-27 14:56:45 +03:00
|
|
|
|
|
|
|
<com.yarolegovich.mp.MaterialStandardPreference
|
2019-03-04 12:15:00 +03:00
|
|
|
android:id="@+id/leaveConversationAction"
|
2019-02-27 14:56:45 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
apc:mp_icon="@drawable/ic_exit_to_app_black_24dp"
|
|
|
|
apc:mp_icon_tint="@color/grey_600"
|
2019-03-04 12:15:00 +03:00
|
|
|
apc:mp_title="@string/nc_leave" />
|
2019-02-27 14:56:45 +03:00
|
|
|
|
|
|
|
<com.yarolegovich.mp.MaterialStandardPreference
|
2019-03-04 12:15:00 +03:00
|
|
|
android:id="@+id/deleteConversationAction"
|
2019-02-27 14:56:45 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
apc:mp_icon="@drawable/ic_delete_black_24dp"
|
2019-03-04 12:15:00 +03:00
|
|
|
apc:mp_icon_tint="@color/grey_600"
|
|
|
|
apc:mp_title="@string/nc_delete_call" />
|
2019-02-27 14:56:45 +03:00
|
|
|
|
|
|
|
</com.yarolegovich.mp.MaterialPreferenceCategory>
|
2019-08-30 13:12:40 +03:00
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/notification_settings_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/otherRoomOptions"
|
2021-04-10 01:52:10 +03:00
|
|
|
android:visibility="gone"
|
2021-04-12 18:40:36 +03:00
|
|
|
tools:visibility="gone" />
|
2019-08-30 13:12:40 +03:00
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/webinar_info_item"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/notification_settings"
|
2021-04-10 01:52:10 +03:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
2018-11-23 01:03:56 +03:00
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|