Material buttons are now used in a wizard

This commit is contained in:
serso
2015-01-30 22:01:52 +01:00
parent 99033ab216
commit 983d6eb2f9
9 changed files with 56 additions and 11 deletions

View File

@@ -23,6 +23,6 @@
-->
<selector xmlns:a="http://schemas.android.com/apk/res/android">
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed"/>
<item a:drawable="@drawable/metro_material_button_shape"/>
<item a:state_pressed="true" a:drawable="@drawable/cpp_wizard_button_shape_pressed"/>
<item a:drawable="@drawable/cpp_wizard_button_shape_normal"/>
</selector>

View File

@@ -21,6 +21,6 @@
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#5a595b"/>
<solid android:color="@color/cpp_wizard_button_normal"/>
<corners android:radius="1dp"/>
</shape>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2013 serso aka se.solovyev
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Contact details
~
~ Email: se.solovyev@gmail.com
~ Site: http://se.solovyev.org
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/cpp_wizard_button_pressed"/>
<corners android:radius="1dp"/>
</shape>