2017-01-03 10:30:27 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-04 08:45:14 +11:00
|
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-01-03 10:30:27 +11:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-02-04 08:45:14 +11:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
2017-01-03 10:30:27 +11:00
|
|
|
tools:context="com.keylesspalace.tusky.LoginActivity">
|
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
<ScrollView
|
2017-01-03 10:30:27 +11:00
|
|
|
android:layout_width="match_parent"
|
2018-02-04 08:45:14 +11:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2017-05-08 20:17:41 +10:00
|
|
|
<LinearLayout
|
2018-02-04 08:45:14 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-03-16 06:32:26 +11:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-04 08:45:14 +11:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="16dp">
|
2017-02-05 15:20:19 +11:00
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="147dp"
|
|
|
|
android:layout_height="160dp"
|
|
|
|
android:layout_marginBottom="50dp"
|
|
|
|
android:contentDescription="@null"
|
|
|
|
android:src="@drawable/elephant_friend" />
|
2017-05-08 20:17:41 +10:00
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/loginInputLayout"
|
|
|
|
android:layout_width="wrap_content"
|
2017-05-08 20:17:41 +10:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-04 08:45:14 +11:00
|
|
|
android:orientation="vertical">
|
2017-05-08 20:17:41 +10:00
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/domainEditText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/hint_domain"
|
|
|
|
android:inputType="textUri" />
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/loginButton"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/action_login"
|
|
|
|
android:textColor="@android:color/white" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/whatsAnInstanceTextView"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:text="@string/link_whats_an_instance"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/loginLoadingLayout"
|
2017-05-08 20:17:41 +10:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-04 08:45:14 +11:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
android:text="@string/login_connection"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-05-08 20:17:41 +10:00
|
|
|
</LinearLayout>
|
2018-02-04 08:45:14 +11:00
|
|
|
</ScrollView>
|
2017-01-03 10:30:27 +11:00
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2017-04-03 09:55:41 +10:00
|
|
|
|
2018-02-04 08:45:14 +11:00
|
|
|
</android.support.constraint.ConstraintLayout>
|