Styles
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid a:color="@color/cpp_metro_button" />
|
||||
<solid a:color="@color/grey_900" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid a:color="@color/cpp_metro_button_lighter" />
|
||||
<solid a:color="@color/grey_850" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid a:color="@color/cpp_metro_button_light" />
|
||||
<solid a:color="@color/grey_800" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
@@ -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>
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user