2017-01-03 00:30:27 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-03-15 20:32:26 +01:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-01-03 00:30:27 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:fillViewport="true"
|
2017-01-03 00:30:27 +01:00
|
|
|
tools:context="com.keylesspalace.tusky.LoginActivity">
|
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
2017-01-03 00:30:27 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:padding="16dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_height="wrap_content">
|
2017-01-03 00:30:27 +01:00
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
<ImageView
|
2017-01-03 00:30:27 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:layout_marginBottom="50dp"
|
|
|
|
android:src="@drawable/elephant_friend"/>
|
2017-01-03 00:30:27 +01:00
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="250dp">
|
|
|
|
<EditText
|
2017-02-05 05:20:19 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:inputType="textUri"
|
|
|
|
android:hint="@string/hint_domain"
|
|
|
|
android:ems="10"
|
|
|
|
android:id="@+id/edit_text_domain" />
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/button_login"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:elevation="0dp"
|
2017-03-31 01:23:43 +02:00
|
|
|
android:textColor="@android:color/white"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:text="@string/action_login" />
|
2017-02-05 05:20:19 +01:00
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/text_error" />
|
2017-01-03 00:30:27 +01:00
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
2017-04-03 01:55:41 +02:00
|
|
|
android:paddingTop="5dp"
|
2017-03-15 20:32:26 +01:00
|
|
|
android:textAlignment="center"
|
2017-04-03 01:55:41 +02:00
|
|
|
android:id="@+id/whats_an_instance"
|
|
|
|
android:text="@string/link_whats_an_instance" />
|
|
|
|
|
2017-03-15 20:32:26 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|