Browse Source

-Change color in button

ilhamitubagoes 4 years ago
parent
commit
1ad75791e0

+ 2 - 0
app/src/main/res/layout/activity_scan_result_new.xml

@@ -161,6 +161,7 @@
161
             <Button
161
             <Button
162
                 android:id="@+id/btn_home"
162
                 android:id="@+id/btn_home"
163
                 style="@style/ButtonCommon"
163
                 style="@style/ButtonCommon"
164
+                android:background="@color/btn_home"
164
                 android:layout_width="120dp"
165
                 android:layout_width="120dp"
165
                 android:layout_height="wrap_content"
166
                 android:layout_height="wrap_content"
166
                 android:layout_below="@id/rv_document_problem"
167
                 android:layout_below="@id/rv_document_problem"
@@ -171,6 +172,7 @@
171
             <Button
172
             <Button
172
                 android:id="@+id/btn_scan_again"
173
                 android:id="@+id/btn_scan_again"
173
                 style="@style/ButtonCommon"
174
                 style="@style/ButtonCommon"
175
+                android:background="@color/btn_scan_other"
174
                 android:layout_width="120dp"
176
                 android:layout_width="120dp"
175
                 android:layout_height="wrap_content"
177
                 android:layout_height="wrap_content"
176
                 android:layout_below="@+id/rv_document_problem"
178
                 android:layout_below="@+id/rv_document_problem"

+ 3 - 0
app/src/main/res/values/colors.xml

@@ -8,6 +8,9 @@
8
     <color name="colorGreenDark">#19771D</color>
8
     <color name="colorGreenDark">#19771D</color>
9
     <color name="colorBlueDark">#195677</color>
9
     <color name="colorBlueDark">#195677</color>
10
 
10
 
11
+    <color name="btn_home">#9CA7AE</color>
12
+    <color name="btn_scan_other">#64A64B</color>
13
+
11
     <color name="backgroundInner">#FFFFFF</color>
14
     <color name="backgroundInner">#FFFFFF</color>
12
     <color name="backgroundOuter">#F5F5F5</color>
15
     <color name="backgroundOuter">#F5F5F5</color>
13
     <color name="backgroundCanvas">#f2f2f9</color>
16
     <color name="backgroundCanvas">#f2f2f9</color>