Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

update start button to be more visible

n8fr868ce40e76249
diff --git a/src/main/res/drawable/fill_drawable_accent.xml b/src/main/res/drawable/fill_drawable_accent.xml
new file mode 100644
index 0000000..415ac38
--- /dev/null
+++ b/src/main/res/drawable/fill_drawable_accent.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <stroke
+ android:width="3dp"
+ android:color="@color/colorAccent" />
+
+ <solid android:color="@color/colorAccent" />
+
+ <padding
+ android:left="7dp"
+ android:right="7dp" />
+
+ <corners
+ android:bottomLeftRadius="7dp"
+ android:bottomRightRadius="7dp"
+ android:topLeftRadius="7dp"
+ android:topRightRadius="7dp" />
+</shape>
\ No newline at end of file
diff --git a/src/main/res/layout/activity_monitor.xml b/src/main/res/layout/activity_monitor.xml
index 9d58e9f..a02dd54 100644
--- a/src/main/res/layout/activity_monitor.xml
+++ b/src/main/res/layout/activity_monitor.xml
@@ -50,10 +50,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
- android:background="@drawable/round_drawable_accent"
+ android:background="@drawable/fill_drawable_accent"
android:padding="6dp"
android:text="@string/start_now"
- android:textColor="@color/colorAccent"
+ android:textColor="@color/colorPrimaryDark"
android:textSize="25sp"
android:textStyle="bold" />