2017-10-23 13:40:38 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Mario Danic
|
|
|
|
~ 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/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<RelativeLayout 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="match_parent"
|
2017-12-17 22:59:05 +03:00
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:fitsSystemWindows="true">
|
2017-11-11 07:39:01 +03:00
|
|
|
|
|
|
|
<ImageView
|
2017-12-19 00:37:09 +03:00
|
|
|
android:id="@+id/image_logo"
|
2017-11-11 07:39:01 +03:00
|
|
|
android:layout_width="96dp"
|
|
|
|
android:layout_height="96dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="36dp"
|
2018-01-16 23:17:23 +03:00
|
|
|
android:layout_marginTop="92dp"
|
2017-12-17 22:59:05 +03:00
|
|
|
android:scaleType="fitXY"
|
2017-12-18 20:48:27 +03:00
|
|
|
app:srcCompat="@drawable/ic_logo"/>
|
2017-10-23 13:40:38 +03:00
|
|
|
|
|
|
|
<studio.carbonylgroup.textfieldboxes.TextFieldBoxes
|
|
|
|
android:id="@+id/text_field_boxes"
|
2017-12-19 01:44:25 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-02-27 19:57:29 +03:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-19 00:37:09 +03:00
|
|
|
android:layout_below="@id/image_logo"
|
2017-10-23 13:40:38 +03:00
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
2017-11-11 07:39:01 +03:00
|
|
|
app:errorColor="@color/nc_white_color_complete"
|
2017-10-23 13:40:38 +03:00
|
|
|
app:helperText=" "
|
2017-12-19 01:21:27 +03:00
|
|
|
app:labelText="@string/nc_server_url"
|
2017-12-17 22:59:05 +03:00
|
|
|
app:panelBackgroundColor="@color/colorPrimary"
|
|
|
|
app:primaryColor="@color/nc_white_color_complete">
|
2017-10-23 13:40:38 +03:00
|
|
|
|
|
|
|
<studio.carbonylgroup.textfieldboxes.ExtendedEditText
|
|
|
|
android:id="@+id/extended_edit_text"
|
2018-05-03 22:08:17 +03:00
|
|
|
android:layout_width="match_parent"
|
2017-12-19 01:44:25 +03:00
|
|
|
android:layout_height="wrap_content"
|
2017-10-23 13:40:38 +03:00
|
|
|
android:imeOptions="actionDone"
|
2017-12-14 20:52:44 +03:00
|
|
|
android:inputType="textUri"
|
2017-11-11 07:39:01 +03:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="@color/nc_white_color_complete"/>
|
2017-10-23 13:40:38 +03:00
|
|
|
|
|
|
|
</studio.carbonylgroup.textfieldboxes.TextFieldBoxes>
|
|
|
|
|
2017-10-26 21:50:34 +03:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
android:layout_width="@dimen/small_item_height"
|
|
|
|
android:layout_height="@dimen/small_item_height"
|
|
|
|
android:layout_below="@id/text_field_boxes"
|
2017-12-17 22:59:05 +03:00
|
|
|
android:layout_centerHorizontal="true"
|
2017-10-26 21:50:34 +03:00
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
2017-12-17 22:59:05 +03:00
|
|
|
android:layout_marginTop="24dp"
|
2017-10-26 21:50:34 +03:00
|
|
|
android:indeterminate="true"
|
2017-12-18 20:48:27 +03:00
|
|
|
android:indeterminateTint="@color/nc_white_color_complete"
|
2017-12-19 01:21:27 +03:00
|
|
|
android:indeterminateTintMode="src_in"
|
2018-01-25 17:46:37 +03:00
|
|
|
android:keepScreenOn="true"
|
2017-10-26 21:50:34 +03:00
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
2017-12-19 01:21:27 +03:00
|
|
|
<TextView
|
2017-12-31 00:44:05 +03:00
|
|
|
android:id="@+id/helper_text_view"
|
2017-12-19 01:21:27 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/progress_bar"
|
|
|
|
android:layout_centerHorizontal="true"
|
2018-01-25 17:46:37 +03:00
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
2017-12-19 01:21:27 +03:00
|
|
|
android:layout_marginTop="56dp"
|
|
|
|
android:lines="2"
|
|
|
|
android:text="@string/nc_get_from_provider"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAllCaps="true"
|
2017-12-19 01:31:18 +03:00
|
|
|
android:textColor="@color/nc_light_blue_color"/>
|
2017-12-19 01:21:27 +03:00
|
|
|
|
2018-04-10 17:34:03 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/cert_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/helper_text_view"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:lines="2"
|
|
|
|
android:text="@string/nc_configure_cert_auth"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textColor="@color/nc_light_blue_color"/>
|
|
|
|
|
2017-10-25 00:18:34 +03:00
|
|
|
</RelativeLayout>
|