mirror of https://github.com/ThmmyNoLife/mTHMMY
Apostolos Fanakis
8 years ago
9 changed files with 199 additions and 110 deletions
@ -0,0 +1,8 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<set xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
<translate |
||||
|
android:duration="500" |
||||
|
android:fromXDelta="100%p" |
||||
|
android:toXDelta="0" /> |
||||
|
|
||||
|
</set> |
@ -0,0 +1,7 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<set xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
|
<translate |
||||
|
android:duration="500" |
||||
|
android:fromXDelta="0" |
||||
|
android:toXDelta="-100%p" /> |
||||
|
</set> |
After Width: | Height: | Size: 820 KiB |
@ -1,69 +1,76 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:layout_width="fill_parent" |
android:layout_width="fill_parent" |
||||
android:layout_height="fill_parent" |
android:layout_height="fill_parent" |
||||
android:background="@color/bg_login" |
android:fitsSystemWindows="true"> |
||||
android:gravity="center" |
|
||||
android:orientation="vertical" |
|
||||
android:padding="10dp"> |
|
||||
|
|
||||
<LinearLayout |
<LinearLayout |
||||
android:layout_width="fill_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_gravity="center" |
android:layout_gravity="center" |
||||
android:orientation="vertical" |
android:orientation="vertical" |
||||
android:paddingLeft="20dp" |
android:paddingLeft="24dp" |
||||
android:paddingRight="20dp"> |
android:paddingRight="24dp"> |
||||
|
|
||||
|
<ImageView |
||||
|
android:id="@+id/thmmy3dImg" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="90dp" |
||||
|
android:layout_gravity="center_horizontal" |
||||
|
android:layout_marginBottom="40dp" |
||||
|
android:contentDescription="@string/thmmy_img_description" |
||||
|
android:src="@drawable/thmmy_3d_wshadow"/> |
||||
|
|
||||
|
<!-- Username Label --> |
||||
|
<android.support.design.widget.TextInputLayout |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginBottom="8dp" |
||||
|
android:layout_marginTop="8dp"> |
||||
|
|
||||
<EditText |
<EditText |
||||
android:id="@+id/username" |
android:id="@+id/username" |
||||
android:layout_width="fill_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_marginBottom="10dp" |
|
||||
android:background="@drawable/box_border" |
|
||||
android:hint="@string/hint_username" |
android:hint="@string/hint_username" |
||||
android:inputType="textEmailAddress" |
android:inputType="textPersonName"/> |
||||
android:maxLines="1" |
</android.support.design.widget.TextInputLayout> |
||||
android:padding="10dp" |
|
||||
android:textColor="@color/input_login" |
<!-- Password Label --> |
||||
android:textColorHint="@color/input_login_hint"/> |
<android.support.design.widget.TextInputLayout |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_marginBottom="8dp" |
||||
|
android:layout_marginTop="8dp"> |
||||
|
|
||||
<EditText |
<EditText |
||||
android:id="@+id/password" |
android:id="@+id/password" |
||||
android:layout_width="fill_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_marginBottom="10dp" |
|
||||
android:background="@drawable/box_border" |
|
||||
android:hint="@string/hint_password" |
android:hint="@string/hint_password" |
||||
android:inputType="textPassword" |
android:inputType="textPassword"/> |
||||
android:maxLines="1" |
</android.support.design.widget.TextInputLayout> |
||||
android:padding="10dp" |
|
||||
android:textColor="@color/input_login" |
|
||||
android:textColorHint="@color/input_login_hint"/> |
|
||||
|
|
||||
<!-- Login Button --> |
<!-- Login Button --> |
||||
|
<android.support.v7.widget.AppCompatButton |
||||
<Button |
|
||||
android:id="@+id/btnLogin" |
android:id="@+id/btnLogin" |
||||
android:layout_width="fill_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:layout_marginTop="20dip" |
android:layout_marginBottom="24dp" |
||||
android:background="@drawable/box_border" |
android:layout_marginTop="24dp" |
||||
android:text="@string/btn_login" |
android:padding="12dp" |
||||
android:textColor="@color/btn_login"/> |
android:text="@string/btn_login"/> |
||||
|
|
||||
<!-- Guest Button --> |
|
||||
|
|
||||
<Button |
<Button |
||||
android:id="@+id/btnContinueAsGuest" |
android:id="@+id/btnContinueAsGuest" |
||||
android:layout_width="fill_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
|
android:layout_marginBottom="24dp" |
||||
android:layout_marginTop="40dip" |
android:layout_marginTop="40dip" |
||||
android:background="@null" |
android:background="@null" |
||||
android:text="@string/btn_continue_as_guest" |
android:text="@string/btn_continue_as_guest" |
||||
android:textAllCaps="false" |
android:textAllCaps="false" |
||||
android:textColor="@color/guest_color" |
|
||||
android:textSize="15sp"/> |
android:textSize="15sp"/> |
||||
</LinearLayout> |
|
||||
|
|
||||
</LinearLayout> |
</LinearLayout> |
||||
|
</ScrollView> |
Loading…
Reference in new issue