Commit 14c6540a authored by Isaac Pereira's avatar Isaac Pereira

Tematização da tela de Login

parent 4a29beab
...@@ -15,5 +15,5 @@ ...@@ -15,5 +15,5 @@
<ripple xmlns:android="http://schemas.android.com/apk/res/android" <ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/shadow"> android:color="@color/shadow">
<item android:drawable="@color/black_effective" /> <item android:drawable="@color/teal" />
</ripple> </ripple>
\ No newline at end of file
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item> <item>
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="@color/colorPrimaryDark" /> <solid android:color="@color/teal_dark" />
<corners android:radius="1dp" /> <corners android:radius="1dp" />
</shape> </shape>
</item> </item>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item> <item>
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="@color/shadow" /> <solid android:color="@color/teal" />
<corners android:radius="1dp" /> <corners android:radius="1dp" />
</shape> </shape>
</item> </item>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/light_gray" android:state_pressed="true" /> <item android:drawable="@color/teal_dark" android:state_pressed="true" />
<item android:drawable="@color/black_effective" android:state_focused="true" /> <item android:drawable="@color/teal_dark" android:state_focused="true" />
<item android:drawable="@color/black_effective" /> <item android:drawable="@color/teal" />
</selector> </selector>
\ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
android:id="@+id/activity_main" android:id="@+id/activity_main"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/bg_design"> android:background="@color/teal">
<android.support.v7.widget.CardView <android.support.v7.widget.CardView
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:layout_marginTop="80dp" android:layout_marginTop="80dp"
app:cardCornerRadius="7dp" app:cardCornerRadius="2dp"
app:cardElevation="22dp"> app:cardElevation="16dp">
<TextView <TextView
style="@style/TextStyle.Heading" style="@style/TextStyle.Heading"
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
android:background="@drawable/input_border_bottom" android:background="@drawable/input_border_bottom"
android:cursorVisible="true" android:cursorVisible="true"
android:gravity="center|left|bottom" android:gravity="center|left|bottom"
android:hint="@string/email" android:hint="@string/username"
android:inputType="textEmailAddress" android:inputType="textEmailAddress"
android:maxLength="50" android:maxLength="50"
android:paddingBottom="10dp" android:paddingBottom="10dp"
......
...@@ -46,4 +46,6 @@ ...@@ -46,4 +46,6 @@
<color name="blue_grey_light">#A5B4C8</color> <color name="blue_grey_light">#A5B4C8</color>
<color name="orange">#FFA500</color> <color name="orange">#FFA500</color>
<color name="yellow">#fff44f</color> <color name="yellow">#fff44f</color>
<color name="teal">#009688</color>
<color name="teal_dark">#00796B</color>
</resources> </resources>
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
<string name="connection_error">Internet connection lost!</string> <string name="connection_error">Internet connection lost!</string>
<!--Login--> <!--Login-->
<string name="login_dummy">Login Dummy</string> <string name="login_dummy">Evológica MVP</string>
<string name="login">Login</string> <string name="login">Login</string>
<string name="email">Email</string> <string name="username">Username</string>
<string name="password">Password</string> <string name="password">Password</string>
<!--Login Validation--> <!--Login Validation-->
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<item name="android:layout_marginBottom">2dp</item> <item name="android:layout_marginBottom">2dp</item>
<item name="android:layout_marginLeft">2dp</item> <item name="android:layout_marginLeft">2dp</item>
<item name="android:layout_marginRight">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>
<style name="TextStyle.Title" parent="TextStyle"> <style name="TextStyle.Title" parent="TextStyle">
...@@ -85,6 +85,11 @@ ...@@ -85,6 +85,11 @@
<item name="android:textAppearance">@style/TextAppearance.Text.Italic</item> <item name="android:textAppearance">@style/TextAppearance.Text.Italic</item>
</style> </style>
<style name="TextStyle.Edit" parent="TextStyle">
<item name="colorControlActivated">@color/teal</item>
</style>
<style name="Toolbar" parent="Base.ThemeOverlay.AppCompat.Dark.ActionBar"> <style name="Toolbar" parent="Base.ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
......
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 to comment