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 @@ ...@@ -8,7 +8,8 @@
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_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 <ProgressBar
android:id="@+id/login_progress" android:id="@+id/login_progress"
...@@ -49,6 +50,7 @@ ...@@ -49,6 +50,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/image_logo" android:layout_below="@+id/image_logo"
android:textColor="@color/transparent_white"
android:layout_marginTop="12dp"> android:layout_marginTop="12dp">
<AutoCompleteTextView <AutoCompleteTextView
...@@ -60,6 +62,8 @@ ...@@ -60,6 +62,8 @@
android:layout_marginRight="30dp" android:layout_marginRight="30dp"
android:layout_marginStart="30dp" android:layout_marginStart="30dp"
android:hint="@string/prompt_email" android:hint="@string/prompt_email"
android:textColorHint="@color/transparent_white"
android:textColor="@color/transparent_white"
android:inputType="textEmailAddress" android:inputType="textEmailAddress"
android:maxLines="1" android:maxLines="1"
android:singleLine="true" /> android:singleLine="true" />
...@@ -71,6 +75,7 @@ ...@@ -71,6 +75,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/email_layout" android:layout_below="@+id/email_layout"
android:textColor="@color/transparent_white"
android:layout_marginEnd="30dp" android:layout_marginEnd="30dp"
android:layout_marginLeft="30dp" android:layout_marginLeft="30dp"
android:layout_marginRight="30dp" android:layout_marginRight="30dp"
...@@ -80,7 +85,9 @@ ...@@ -80,7 +85,9 @@
android:id="@+id/password" android:id="@+id/password"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" 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:imeActionId="6"
android:imeActionLabel="@string/action_sign_in_short" android:imeActionLabel="@string/action_sign_in_short"
android:imeOptions="actionUnspecified" android:imeOptions="actionUnspecified"
...@@ -98,9 +105,9 @@ ...@@ -98,9 +105,9 @@
android:layout_below="@+id/password_layout" android:layout_below="@+id/password_layout"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="26dp" android:layout_marginTop="26dp"
android:background="@color/colorPrimary" android:background="@color/transparent_black"
android:text="@string/action_sign_in" android:text="@string/action_sign_in"
android:textColor="@android:color/white" android:textColor="@color/mid_transparent_white"
android:textSize="20sp" android:textSize="20sp"
android:textStyle="bold" /> android:textStyle="bold" />
...@@ -114,7 +121,7 @@ ...@@ -114,7 +121,7 @@
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:background="@android:color/transparent" android:background="@android:color/transparent"
android:text="@string/action_register" android:text="@string/action_register"
android:textColor="@color/colorPrimaryDark" android:textColor="@color/transparent_white"
android:textStyle="bold" /> android:textStyle="bold" />
</RelativeLayout> </RelativeLayout>
......
...@@ -6,4 +6,6 @@ ...@@ -6,4 +6,6 @@
<color name="transparent_black">#99000000</color> <color name="transparent_black">#99000000</color>
<color name="transparent_red">#CC4E0707</color> <color name="transparent_red">#CC4E0707</color>
<color name="transparent_white">#99FFFFFF</color>
<color name="mid_transparent_white">#CCFFFFFF</color>
</resources> </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