This commit is contained in:
serso
2016-03-14 23:02:48 +01:00
parent 636800178c
commit 539be7399c
37 changed files with 189 additions and 143 deletions

View File

@@ -26,13 +26,13 @@
<item a:state_pressed="true">
<shape>
<solid a:color="@color/cpp_material_blue_lighter" />
<solid a:color="@color/blue_800" />
</shape>
</item>
<item>
<shape>
<solid a:color="@color/cpp_material_blue" />
<solid a:color="@color/blue_900" />
</shape>
</item>

View File

@@ -26,13 +26,13 @@
<item a:state_pressed="true">
<shape>
<solid a:color="@color/cpp_material_blue_lighter_lighter" />
<solid a:color="@color/blue_800" />
</shape>
</item>
<item>
<shape>
<solid a:color="@color/cpp_material_blue_lighter" />
<solid a:color="@color/blue_850" />
</shape>
</item>

View File

@@ -28,7 +28,7 @@
<item>
<shape>
<solid a:color="@color/cpp_metro_button" />
<solid a:color="@color/grey_900" />
</shape>
</item>

View File

@@ -28,7 +28,7 @@
<item>
<shape>
<solid a:color="@color/cpp_metro_button_lighter" />
<solid a:color="@color/grey_850" />
</shape>
</item>

View File

@@ -27,7 +27,7 @@
<item>
<shape>
<solid a:color="@color/cpp_metro_button_light" />
<solid a:color="@color/grey_800" />
</shape>
</item>

View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,8 +21,14 @@
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<selector xmlns:a="http://schemas.android.com/apk/res/android">
<shape xmlns:a="http://schemas.android.com/apk/res/android">
<solid a:color="@color/cpp_pane_bg" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
<item a:drawable="@drawable/material_button_pressed" a:state_pressed="true" />
<item>
<shape>
<solid a:color="@color/grey_850" />
</shape>
</item>
</selector>

View File

@@ -26,13 +26,13 @@
<item a:state_pressed="true">
<shape>
<solid a:color="@color/cpp_material_light_darker" />
<solid a:color="@color/teal_600" />
</shape>
</item>
<item>
<shape>
<solid a:color="@color/cpp_material_light" />
<solid a:color="@color/teal_400" />
</shape>
</item>

View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!--
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,7 +22,18 @@
~ Site: http://se.solovyev.org
-->
<shape xmlns:a="http://schemas.android.com/apk/res/android">
<solid a:color="@color/cpp_pane_bg_light" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
<selector xmlns:a="http://schemas.android.com/apk/res/android">
<item a:state_pressed="true">
<shape>
<solid a:color="@color/teal_600" />
</shape>
</item>
<item>
<shape>
<solid a:color="@color/teal_500" />
</shape>
</item>
</selector>

View File

@@ -25,7 +25,7 @@
a:insetRight="@dimen/cpp_button_padding"
a:insetTop="@dimen/cpp_button_padding">
<shape>
<solid a:color="@color/cpp_metro_blue" />
<solid a:color="@color/blue_900" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
</inset>

View File

@@ -27,7 +27,7 @@
a:insetTop="@dimen/cpp_button_padding">
<shape>
<solid a:color="@color/cpp_metro_button" />
<solid a:color="@color/grey_900" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
</inset>

View File

@@ -26,7 +26,7 @@
a:insetRight="@dimen/cpp_button_padding"
a:insetTop="@dimen/cpp_button_padding">
<shape>
<solid a:color="@color/cpp_metro_green" />
<solid a:color="@color/green_800" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
</inset>

View File

@@ -25,6 +25,5 @@
<selector xmlns:a="http://schemas.android.com/apk/res/android">
<item a:drawable="@drawable/metro_button_pressed" a:state_pressed="true" />
<item a:drawable="@drawable/metro_button_light_shape" />
</selector>

View File

@@ -26,7 +26,7 @@
a:insetRight="@dimen/cpp_button_padding"
a:insetTop="@dimen/cpp_button_padding">
<shape>
<solid a:color="@color/cpp_metro_button_light" />
<solid a:color="@color/grey_800" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
</inset>

View File

@@ -26,7 +26,7 @@
a:insetRight="@dimen/cpp_button_padding"
a:insetTop="@dimen/cpp_button_padding">
<shape>
<solid a:color="@color/cpp_metro_purple" />
<solid a:color="@color/pink_900" />
<corners a:radius="@dimen/cpp_button_corner" />
</shape>
</inset>