mirror of
https://github.com/TimeCrafters/TimeCraftersConfigurationTool.git
synced 2025-12-15 05:02:33 +00:00
Corrected button active to pressed
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/button_disabled" android:state_enabled="false" />
|
||||
<item android:drawable="@drawable/button_selected" android:state_focused="true" />
|
||||
<item android:drawable="@drawable/button_active" android:state_active="true" />
|
||||
<item android:drawable="@drawable/button_active" android:state_pressed="true" />
|
||||
<item android:drawable="@drawable/button_hover" android:state_hovered="true" />
|
||||
<item android:drawable="@drawable/button_default" />
|
||||
</selector>
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/navigationButtonSelected" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_hovered="true">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/navigationButtonHover" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_selected="true">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/navigationButtonSelected" />
|
||||
<solid android:color="@color/navigationButtonActive" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
<color name="buttonDisabled">#765</color>
|
||||
<color name="navigationButtonSelected">#00a000</color>
|
||||
<color name="navigationButtonHover">#00d000</color>
|
||||
<color name="navigationButtonActive">#00d000</color>
|
||||
<color name="navigationButton">#006000</color>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user