2018-11-28 19:15:30 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2017-10-23 13:40:38 +03:00
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Mario Danic
|
2021-04-09 18:07:17 +03:00
|
|
|
~ @author Andy Scherzinger
|
|
|
|
~ Copyright (C) 2021 Andy Scherzinger
|
2017-10-23 13:40:38 +03:00
|
|
|
~ Copyright (C) 2017 Mario Danic
|
|
|
|
~
|
|
|
|
~ 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/>.
|
|
|
|
-->
|
|
|
|
|
2021-04-09 18:07:17 +03:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-28 19:15:30 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-04-09 18:07:17 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/scroll"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:layout_gravity="center"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:background="@color/colorPrimary"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:orientation="vertical">
|
2017-11-11 07:39:01 +03:00
|
|
|
|
2021-04-09 18:07:17 +03:00
|
|
|
<LinearLayout
|
2019-08-30 13:12:40 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/standard_padding">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image_logo"
|
2021-07-12 11:52:58 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:layout_marginBottom="@dimen/standard_margin"
|
2021-06-30 17:13:55 +03:00
|
|
|
android:contentDescription="@string/nc_app_product_name"
|
2021-04-09 18:07:17 +03:00
|
|
|
app:srcCompat="@drawable/ic_logo" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2019-08-30 13:12:40 +03:00
|
|
|
android:layout_height="wrap_content"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:gravity="center"
|
|
|
|
android:maxWidth="@dimen/default_login_width"
|
|
|
|
android:minWidth="@dimen/default_login_width"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/standard_half_padding">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/serverEntryTextInputLayout"
|
|
|
|
style="@style/Widget.App.Login.TextInputLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/nc_server_url"
|
|
|
|
android:theme="@style/TextInputLayoutLogin"
|
|
|
|
app:endIconContentDescription="@string/nc_server_connect"
|
|
|
|
app:endIconDrawable="@drawable/ic_arrow_forward_white_24px"
|
|
|
|
app:endIconMode="custom"
|
|
|
|
app:endIconTint="@color/white">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/serverEntryTextInputEditText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="top"
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
android:inputType="textUri|textNoSuggestions"
|
|
|
|
android:lines="1"
|
|
|
|
android:minLines="1"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="55dp"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textColorHint="#80FFFFFF">
|
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/host_url_input_helper_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:lineSpacingMultiplier="1.2"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:text="@string/nc_server_helper_text"
|
|
|
|
android:textColor="@color/nc_login_text_color" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/serverEntryProgressBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="2dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:indeterminateTint="@color/white" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:lineSpacingMultiplier="1.2"
|
|
|
|
android:lines="2"
|
|
|
|
android:paddingStart="5dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:text="@string/nc_server_testing_connection"
|
|
|
|
android:textColor="@color/white" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/error_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:lineSpacingMultiplier="1.2"
|
|
|
|
android:lines="2"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:text="@string/nc_server_unsupported"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:drawableStartCompat="@android:drawable/stat_sys_warning"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/helper_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-05 18:22:07 +03:00
|
|
|
android:layout_marginTop="42dp"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:lineSpacingMultiplier="1.2"
|
|
|
|
android:lines="2"
|
2021-07-05 18:22:07 +03:00
|
|
|
android:minHeight="@dimen/min_size_clickable_area"
|
|
|
|
android:padding="@dimen/standard_padding"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:text="@string/nc_get_from_provider"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/nc_login_text_color" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cert_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-05 18:22:07 +03:00
|
|
|
android:layout_marginTop="@dimen/standard_margin"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:lineSpacingMultiplier="1.2"
|
|
|
|
android:lines="2"
|
2021-07-05 18:22:07 +03:00
|
|
|
android:minHeight="@dimen/min_size_clickable_area"
|
|
|
|
android:padding="@dimen/standard_padding"
|
2021-04-09 18:07:17 +03:00
|
|
|
android:text="@string/nc_configure_cert_auth"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/nc_login_text_color" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-08-30 13:12:40 +03:00
|
|
|
|
2021-04-09 18:07:17 +03:00
|
|
|
</LinearLayout>
|
2019-08-30 13:12:40 +03:00
|
|
|
|
2021-04-09 18:07:17 +03:00
|
|
|
</ScrollView>
|