Commit 69090d28 by Paktalin

redesigned login activity

parent 6f571bf2

20.7 KB | W: | H:

12.7 KB | W: | H:

app/src/main/res/drawable/logo.png
app/src/main/res/drawable/logo.png
app/src/main/res/drawable/logo.png
app/src/main/res/drawable/logo.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -8,7 +8,8 @@
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.paktalin.lavina.LoginActivity">
tools:context="com.example.paktalin.lavina.LoginActivity"
android:background="@drawable/red_background">
<ProgressBar
android:id="@+id/login_progress"
......@@ -49,6 +50,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/image_logo"
android:textColor="@color/transparent_white"
android:layout_marginTop="12dp">
<AutoCompleteTextView
......@@ -60,6 +62,8 @@
android:layout_marginRight="30dp"
android:layout_marginStart="30dp"
android:hint="@string/prompt_email"
android:textColorHint="@color/transparent_white"
android:textColor="@color/transparent_white"
android:inputType="textEmailAddress"
android:maxLines="1"
android:singleLine="true" />
......@@ -71,6 +75,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/email_layout"
android:textColor="@color/transparent_white"
android:layout_marginEnd="30dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
......@@ -80,7 +85,9 @@
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/prompt_password"
android:hint="Password"
android:textColorHint="@color/transparent_white"
android:textColor="@color/transparent_white"
android:imeActionId="6"
android:imeActionLabel="@string/action_sign_in_short"
android:imeOptions="actionUnspecified"
......@@ -98,9 +105,9 @@
android:layout_below="@+id/password_layout"
android:layout_centerHorizontal="true"
android:layout_marginTop="26dp"
android:background="@color/colorPrimary"
android:background="@color/transparent_black"
android:text="@string/action_sign_in"
android:textColor="@android:color/white"
android:textColor="@color/mid_transparent_white"
android:textSize="20sp"
android:textStyle="bold" />
......@@ -114,7 +121,7 @@
android:layout_marginTop="16dp"
android:background="@android:color/transparent"
android:text="@string/action_register"
android:textColor="@color/colorPrimaryDark"
android:textColor="@color/transparent_white"
android:textStyle="bold" />
</RelativeLayout>
......
......@@ -6,4 +6,6 @@
<color name="transparent_black">#99000000</color>
<color name="transparent_red">#CC4E0707</color>
<color name="transparent_white">#99FFFFFF</color>
<color name="mid_transparent_white">#CCFFFFFF</color>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment