Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
Lavina
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
69090d28
authored
May 14, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redesigned login activity
parent
6f571bf2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
app/src/main/res/drawable/logo.png
app/src/main/res/drawable/red_background.jpg
app/src/main/res/layout/activity_login.xml
app/src/main/res/values/colors.xml
app/src/main/res/drawable/logo.png
View file @
69090d28
20.7 KB
|
W:
|
H:
12.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
app/src/main/res/drawable/red_background.jpg
0 → 100644
View file @
69090d28
104 KB
app/src/main/res/layout/activity_login.xml
View file @
69090d28
...
@@ -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>
...
...
app/src/main/res/values/colors.xml
View file @
69090d28
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment