Yuito-app-android/app/src/main/res/layout/activity_login.xml

53 lines
1.9 KiB
XML
Raw Normal View History

2017-01-03 00:30:27 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.keylesspalace.tusky.LoginActivity">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:elevation="4dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:text="Domain"
android:ems="10"
android:id="@+id/edit_text_domain" />
<Button
android:text="LOG IN"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/button_login"
android:layout_centerHorizontal="false"
android:layout_centerInParent="false" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/text_error" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>