|
@@ -0,0 +1,91 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<!--
|
|
|
|
+ ~ Nextcloud Talk application
|
|
|
|
+ ~
|
|
|
|
+ ~ @author Mario Danic
|
|
|
|
+ ~ 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/>.
|
|
|
|
+ -->
|
|
|
|
+
|
|
|
|
+<!--
|
|
|
|
+ Adapted to use TextButton style and Material buttons from LovelyDialog
|
|
|
|
+ -->
|
|
|
|
+
|
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <include layout="@layout/view_color_area"/>
|
|
|
|
+
|
|
|
|
+ <ScrollView
|
|
|
|
+ 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">
|
|
|
|
+
|
|
|
|
+ <Space
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="12dp"/>
|
|
|
|
+
|
|
|
|
+ <include layout="@layout/view_title_and_message"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </ScrollView>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
|
+ android:id="@+id/ld_btn_yes"
|
|
|
|
+ style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="end"
|
|
|
|
+ android:gravity="end|center_vertical"
|
|
|
|
+ android:paddingLeft="@dimen/ld_side_margin"
|
|
|
|
+ android:paddingRight="@dimen/ld_side_margin"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
|
+ android:id="@+id/ld_btn_no"
|
|
|
|
+ style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="end"
|
|
|
|
+ android:gravity="end|center_vertical"
|
|
|
|
+ android:paddingLeft="@dimen/ld_side_margin"
|
|
|
|
+ android:paddingRight="@dimen/ld_side_margin"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
+
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
|
+ android:id="@+id/ld_btn_neutral"
|
|
|
|
+ style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="end"
|
|
|
|
+ android:gravity="end|center_vertical"
|
|
|
|
+ android:paddingLeft="@dimen/ld_side_margin"
|
|
|
|
+ android:paddingRight="@dimen/ld_side_margin"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
+
|
|
|
|
+ <Space
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="12dp"/>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+</LinearLayout>
|