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"
|
2017-12-19 00:37:09 +03:00
|
|
|
android:layout_marginTop="108dp"
|
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"
|
|
|
|
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_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@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"
|
2017-12-19 01:44:25 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
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"
|
|
|
|
android:minWidth="5dp"
|
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_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@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"
|
2017-10-26 21:50:34 +03:00
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
2017-12-19 01:21:27 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/providers_text_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/progress_bar"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
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
|
|
|
|
2017-10-25 00:18:34 +03:00
|
|
|
</RelativeLayout>
|