2018-11-28 19:15:30 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2018-01-24 14:59:30 +03:00
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Mario Danic
|
|
|
|
~ Copyright (C) 2017 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/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-02-10 00:30:48 +03:00
|
|
|
android:id="@+id/controller_operations_view"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-30 01:35:40 +03:00
|
|
|
android:background="@color/bg_default">
|
2018-01-24 14:59:30 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/result_image_view"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2018-01-25 11:23:11 +03:00
|
|
|
android:layout_centerHorizontal="true"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="24dp"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
2021-05-04 10:49:33 +03:00
|
|
|
android:contentDescription="@null"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:tintMode="src_in"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:visibility="gone" />
|
2018-01-24 14:59:30 +03:00
|
|
|
|
2019-08-30 13:12:40 +03:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:indeterminate="true"
|
|
|
|
android:indeterminateTint="@color/colorPrimary"
|
|
|
|
android:indeterminateTintMode="src_in"
|
|
|
|
android:keepScreenOn="true" />
|
|
|
|
|
2018-01-24 14:59:30 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/result_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/result_image_view"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginStart="24dp"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
2018-02-14 22:06:55 +03:00
|
|
|
android:maxLines="3"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/colorPrimary"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:visibility="gone" />
|
2018-01-24 14:59:30 +03:00
|
|
|
|
2018-12-08 00:28:46 +03:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2018-01-24 14:59:30 +03:00
|
|
|
android:id="@+id/ok_button"
|
2019-04-24 09:32:19 +03:00
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/result_text_view"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_alignParentEnd="true"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:layout_marginEnd="8dp"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_marginBottom="12dp"
|
2021-03-30 01:35:40 +03:00
|
|
|
android:background="@color/bg_inverse"
|
2018-01-24 14:59:30 +03:00
|
|
|
android:text="@string/nc_ok"
|
|
|
|
android:textColor="@color/colorPrimary"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:visibility="gone" />
|
2018-02-12 14:57:05 +03:00
|
|
|
|
2018-12-08 00:28:46 +03:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2018-02-12 14:57:05 +03:00
|
|
|
android:id="@+id/web_button"
|
2019-04-24 09:32:19 +03:00
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
2018-02-12 14:57:05 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/result_text_view"
|
|
|
|
android:layout_marginEnd="8dp"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_marginBottom="12dp"
|
2018-02-12 14:57:05 +03:00
|
|
|
android:layout_toStartOf="@id/ok_button"
|
2021-03-30 01:35:40 +03:00
|
|
|
android:background="@color/bg_inverse"
|
2018-02-12 14:57:05 +03:00
|
|
|
android:text="@string/nc_join_via_web"
|
|
|
|
android:textColor="@color/nc_darkGreen"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:visibility="gone" />
|
2018-02-12 14:57:05 +03:00
|
|
|
|
|
|
|
</RelativeLayout>
|