Skip to content

Commit

Permalink
button design for map buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonials committed Dec 17, 2024
1 parent bea35b0 commit 3520b6c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/src/main/res/drawable/button_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/map_onClickBackground"
>
<item>
<shape android:shape="oval">
<solid android:color="@color/map_btnBackground" />
<stroke android:width="1dp" android:color="@color/btnBorder" />
</shape>
</item>
</ripple>
5 changes: 5 additions & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<color name="colorAccent">#39796b</color>
<color name="colorPrimaryText">#ffffff</color>

<!-- Map buttons -->
<color name="btnBorder">#000000</color>
<color name="map_btnBackground">#19303234</color>
<color name="map_onClickBackground">#303234</color>


<!-- Light Base application colors -->
<!-- https://material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=80CBC4 -->
Expand Down

0 comments on commit 3520b6c

Please sign in to comment.