134 lines
5.7 KiB
XML
134 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Twidere - Twitter client for Android
|
|
~
|
|
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
|
|
~
|
|
~ 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/>.
|
|
-->
|
|
<org.mariotaku.twidere.view.TintedStatusNativeActionModeAwareLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/main_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:setPadding="true">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/twidere_action_bar_container"
|
|
android:layout_gravity="center">
|
|
|
|
<LinearLayout
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/username_password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="8dp">
|
|
|
|
<EditText
|
|
android:id="@+id/username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ems="10"
|
|
android:hint="@string/username"
|
|
android:inputType="textEmailAddress"
|
|
android:singleLine="true"
|
|
android:typeface="normal" />
|
|
|
|
<EditText
|
|
android:id="@+id/password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:ems="10"
|
|
android:hint="@string/password"
|
|
android:inputType="textPassword"
|
|
android:singleLine="true"
|
|
android:typeface="normal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/sign_in_sign_up"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<Button
|
|
android:id="@+id/sign_up"
|
|
style="?android:buttonStyleSmall"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:minHeight="48dp"
|
|
android:text="@string/register" />
|
|
|
|
<Button
|
|
android:id="@+id/sign_in"
|
|
style="?android:buttonStyleSmall"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:minHeight="48dp"
|
|
android:onClick="onClick"
|
|
android:text="@string/sign_in" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/sign_in_method_introduction"
|
|
style="?android:borderlessButtonStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="36dp"
|
|
android:onClick="onClick"
|
|
android:text="@string/sign_in_method_introduction_title"
|
|
android:textAppearance="?android:textAppearanceSmall" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
<org.mariotaku.twidere.view.TwidereActionBarContainer
|
|
android:id="@+id/twidere_action_bar_container"
|
|
style="?attr/actionBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?actionBarSize"
|
|
android:layout_alignParentTop="true"
|
|
android:touchscreenBlocksFocus="true"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
<View
|
|
android:id="@+id/window_overlay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/twidere_action_bar_container"
|
|
android:background="?android:windowContentOverlay" />
|
|
</RelativeLayout>
|
|
|
|
</org.mariotaku.twidere.view.TintedStatusNativeActionModeAwareLayout> |