마수현

스타일 지정

...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 + android:background="@color/colorPrimary"
7 tools:context=".MainActivity" 8 tools:context=".MainActivity"
8 tools:layout_editor_absoluteY="81dp"> 9 tools:layout_editor_absoluteY="81dp">
9 10
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
18 android:layout_marginStart="24dp" 19 android:layout_marginStart="24dp"
19 android:layout_marginTop="24dp" 20 android:layout_marginTop="24dp"
20 android:orientation="vertical" 21 android:orientation="vertical"
22 + android:background="#ffffff"
21 app:layout_constraintBottom_toTopOf="@+id/textView" 23 app:layout_constraintBottom_toTopOf="@+id/textView"
22 app:layout_constraintEnd_toEndOf="parent" 24 app:layout_constraintEnd_toEndOf="parent"
23 app:layout_constraintHorizontal_bias="0.0" 25 app:layout_constraintHorizontal_bias="0.0"
......
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<resources>
3 +
4 + <style name="ButtonStyle" parent="Widget.AppCompat.Button.Colored">
5 + <item name="android:colorButtonNormal">@color/colorAccent</item>
6 + <item name="android:textColor">@android:color/white</item>
7 + </style>
8 +
9 +</resources>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <resources> 2 <resources>
3 - <color name="colorPrimary">#3F51B5</color> 3 + <color name="colorPrimary">#b2ebf2</color>
4 - <color name="colorPrimaryDark">#303F9F</color> 4 + <color name="colorPrimaryDark">#81b9bf</color>
5 - <color name="colorAccent">#FF4081</color> 5 + <color name="colorAccent">#80cbc4</color>
6 </resources> 6 </resources>
......
1 <resources> 1 <resources>
2 - <string name="app_name">Refrigerator</string> 2 + <string name="app_name">띵동 프레쉬</string>
3 </resources> 3 </resources>
......
1 <resources> 1 <resources>
2 2
3 <!-- Base application theme. --> 3 <!-- Base application theme. -->
4 - <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 4 + <style name="AppTheme" parent="Theme.AppCompat.Light">
5 <!-- Customize your theme here. --> 5 <!-- Customize your theme here. -->
6 <item name="colorPrimary">@color/colorPrimary</item> 6 <item name="colorPrimary">@color/colorPrimary</item>
7 <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 7 <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8 <item name="colorAccent">@color/colorAccent</item> 8 <item name="colorAccent">@color/colorAccent</item>
9 + <item name="android:buttonStyle">@style/ButtonStyle</item>
10 + </style>
11 +
12 + <style name="ButtonStyle" parent="Widget.AppCompat.Button.Colored">
13 + <item name="colorButtonNormal">@color/colorAccent</item>
14 + <item name="android:textColor">@android:color/white</item>
9 </style> 15 </style>
10 16
11 </resources> 17 </resources>
......