Added button press color and margin resized to 1dp
This commit is contained in:
parent
7904c139f6
commit
11489e6f6f
2 changed files with 11 additions and 4 deletions
7
OsmAnd/res/drawable/dashboard_button.xml
Normal file
7
OsmAnd/res/drawable/dashboard_button.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/dashboard_divider" android:state_selected="true"></item>
|
||||
<item android:drawable="@color/dashboard_divider" android:state_pressed="true"></item>
|
||||
<item android:drawable="@color/color_white"></item>
|
||||
</selector>
|
|
@ -24,18 +24,18 @@
|
|||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="android:textColor">@color/dashboard_blue</item>
|
||||
<item name="android:background">@color/color_white</item>
|
||||
<item name="android:background">@drawable/dashboard_button</item>
|
||||
</style>
|
||||
|
||||
<style name="DashboardSearchButton">
|
||||
<item name="android:paddingTop">10dp</item>
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="android:textColor">@color/dashboard_black</item>
|
||||
<item name="android:background">@color/color_white</item>
|
||||
<item name="android:layout_marginTop">2dp</item>
|
||||
<item name="android:background">@drawable/dashboard_button</item>
|
||||
<item name="android:layout_marginTop">1dp</item>
|
||||
</style>
|
||||
|
||||
<style name="ListText">
|
||||
|
|
Loading…
Reference in a new issue