Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
android-mvp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marcus Sales
android-mvp
Commits
14c6540a
Commit
14c6540a
authored
Mar 03, 2017
by
Isaac Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tematização da tela de Login
parent
4a29beab
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
13 deletions
+20
-13
button_primary_bg.xml
app/src/main/res/drawable-v21/button_primary_bg.xml
+1
-1
border_dark_color.xml
app/src/main/res/drawable/border_dark_color.xml
+1
-1
bottom_border_shadow.xml
app/src/main/res/drawable/bottom_border_shadow.xml
+1
-1
button_primary_bg.xml
app/src/main/res/drawable/button_primary_bg.xml
+3
-3
activity_login.xml
app/src/main/res/layout/activity_login.xml
+4
-4
colors.xml
app/src/main/res/values/colors.xml
+2
-0
strings.xml
app/src/main/res/values/strings.xml
+2
-2
styles.xml
app/src/main/res/values/styles.xml
+6
-1
No files found.
app/src/main/res/drawable-v21/button_primary_bg.xml
View file @
14c6540a
...
...
@@ -15,5 +15,5 @@
<ripple
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:color=
"@color/shadow"
>
<item
android:drawable=
"@color/
black_effective
"
/>
<item
android:drawable=
"@color/
teal
"
/>
</ripple>
\ No newline at end of file
app/src/main/res/drawable/border_dark_color.xml
View file @
14c6540a
...
...
@@ -16,7 +16,7 @@
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/
colorPrimaryD
ark"
/>
<solid
android:color=
"@color/
teal_d
ark"
/>
<corners
android:radius=
"1dp"
/>
</shape>
</item>
...
...
app/src/main/res/drawable/bottom_border_shadow.xml
View file @
14c6540a
...
...
@@ -16,7 +16,7 @@
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/
shadow
"
/>
<solid
android:color=
"@color/
teal
"
/>
<corners
android:radius=
"1dp"
/>
</shape>
</item>
...
...
app/src/main/res/drawable/button_primary_bg.xml
View file @
14c6540a
...
...
@@ -14,7 +14,7 @@
-->
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:drawable=
"@color/
light_gray
"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@color/
black_effective
"
android:state_focused=
"true"
/>
<item
android:drawable=
"@color/
black_effective
"
/>
<item
android:drawable=
"@color/
teal_dark
"
android:state_pressed=
"true"
/>
<item
android:drawable=
"@color/
teal_dark
"
android:state_focused=
"true"
/>
<item
android:drawable=
"@color/
teal
"
/>
</selector>
\ No newline at end of file
app/src/main/res/layout/activity_login.xml
View file @
14c6540a
...
...
@@ -18,7 +18,7 @@
android:id=
"@+id/activity_main"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@
drawable/bg_design
"
>
android:background=
"@
color/teal
"
>
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
...
...
@@ -27,8 +27,8 @@
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:layout_marginTop=
"80dp"
app:cardCornerRadius=
"
7
dp"
app:cardElevation=
"
22
dp"
>
app:cardCornerRadius=
"
2
dp"
app:cardElevation=
"
16
dp"
>
<TextView
style=
"@style/TextStyle.Heading"
...
...
@@ -57,7 +57,7 @@
android:background=
"@drawable/input_border_bottom"
android:cursorVisible=
"true"
android:gravity=
"center|left|bottom"
android:hint=
"@string/
email
"
android:hint=
"@string/
username
"
android:inputType=
"textEmailAddress"
android:maxLength=
"50"
android:paddingBottom=
"10dp"
...
...
app/src/main/res/values/colors.xml
View file @
14c6540a
...
...
@@ -46,4 +46,6 @@
<color
name=
"blue_grey_light"
>
#A5B4C8
</color>
<color
name=
"orange"
>
#FFA500
</color>
<color
name=
"yellow"
>
#fff44f
</color>
<color
name=
"teal"
>
#009688
</color>
<color
name=
"teal_dark"
>
#00796B
</color>
</resources>
app/src/main/res/values/strings.xml
View file @
14c6540a
...
...
@@ -39,9 +39,9 @@
<string
name=
"connection_error"
>
Internet connection lost!
</string>
<!--Login-->
<string
name=
"login_dummy"
>
Login Dummy
</string>
<string
name=
"login_dummy"
>
Evológica MVP
</string>
<string
name=
"login"
>
Login
</string>
<string
name=
"
email"
>
Email
</string>
<string
name=
"
username"
>
Username
</string>
<string
name=
"password"
>
Password
</string>
<!--Login Validation-->
...
...
app/src/main/res/values/styles.xml
View file @
14c6540a
...
...
@@ -63,7 +63,7 @@
<item
name=
"android:layout_marginBottom"
>
2dp
</item>
<item
name=
"android:layout_marginLeft"
>
2dp
</item>
<item
name=
"android:layout_marginRight"
>
2dp
</item>
<item
name=
"android:textColor"
>
@color/
black_effective
</item>
<item
name=
"android:textColor"
>
@color/
teal_dark
</item>
</style>
<style
name=
"TextStyle.Title"
parent=
"TextStyle"
>
...
...
@@ -85,6 +85,11 @@
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Text.Italic
</item>
</style>
<style
name=
"TextStyle.Edit"
parent=
"TextStyle"
>
<item
name=
"colorControlActivated"
>
@color/teal
</item>
</style>
<style
name=
"Toolbar"
parent=
"Base.ThemeOverlay.AppCompat.Dark.ActionBar"
>
<item
name=
"android:layout_width"
>
match_parent
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
...
...
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