Explorar o código

-Change color in button

ilhamitubagoes %!s(int64=4) %!d(string=hai) anos
pai
achega
1ad75791e0

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

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

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

@@ -8,6 +8,9 @@
8 8
     <color name="colorGreenDark">#19771D</color>
9 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 14
     <color name="backgroundInner">#FFFFFF</color>
12 15
     <color name="backgroundOuter">#F5F5F5</color>
13 16
     <color name="backgroundCanvas">#f2f2f9</color>