button styles changed
This commit is contained in:
parent
c667f0a8b2
commit
b4360cbbb7
@ -1,20 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||||
you may not use this file except in compliance with the License.
|
<gradient a:startColor="#001c45"
|
||||||
You may obtain a copy of the License at
|
a:endColor="#003481"
|
||||||
|
a:angle="90"/>
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
<corners a:radius="0dp" />
|
||||||
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<gradient android:startColor="#071622" android:endColor="#253541" android:angle="90"/>
|
|
||||||
<corners android:radius="0dp" />
|
|
||||||
</shape>
|
</shape>
|
||||||
|
20
res/drawable/default_button.xml
Normal file
20
res/drawable/default_button.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||||
|
|
||||||
|
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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<gradient android:startColor="#071622" android:endColor="#253541" android:angle="90"/>
|
||||||
|
<corners android:radius="0dp" />
|
||||||
|
</shape>
|
@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
|
||||||
<gradient a:startColor="#001c45"
|
|
||||||
a:endColor="#003481"
|
|
||||||
a:angle="90"/>
|
|
||||||
<corners a:radius="0dp" />
|
|
||||||
</shape>
|
|
@ -12,13 +12,13 @@
|
|||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">fill_parent</item>
|
||||||
<item name="android:layout_weight">1</item>
|
<item name="android:layout_weight">1</item>
|
||||||
<item name="android:focusable">true</item>
|
<item name="android:focusable">true</item>
|
||||||
<item name="android:background">@drawable/button</item>
|
<item name="android:background">@drawable/default_button_dark</item>
|
||||||
<item name="android:layout_marginLeft">1dp</item>
|
<item name="android:layout_marginLeft">1dp</item>
|
||||||
<item name="android:layout_marginBottom">1dp</item>
|
<item name="android:layout_marginBottom">1dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="default_digit_button_style" parent="button_style">
|
<style name="default_digit_button_style" parent="button_style">
|
||||||
<item name="android:background">@drawable/blue_button</item>
|
<item name="android:background">@drawable/default_button</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="violet_digit_button_style" parent="button_style">
|
<style name="violet_digit_button_style" parent="button_style">
|
||||||
@ -26,17 +26,17 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="light_blue_digit_button_style" parent="button_style">
|
<style name="light_blue_digit_button_style" parent="button_style">
|
||||||
<item name="android:background">@drawable/light_blue_button</item>
|
<item name="android:background">@drawable/blue_button</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="default_control_button_style" parent="button_style"/>
|
<style name="default_control_button_style" parent="button_style"/>
|
||||||
|
|
||||||
<style name="violet_control_button_style" parent="button_style">
|
<style name="violet_control_button_style" parent="button_style">
|
||||||
<item name="android:background">@drawable/dark_violet_button</item>
|
<item name="android:background">@drawable/violet_button_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="light_blue_control_button_style" parent="button_style">
|
<style name="light_blue_control_button_style" parent="button_style">
|
||||||
<item name="android:background">@drawable/dark_blue_button</item>
|
<item name="android:background">@drawable/blue_button_dark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="default_control_image_button_style" parent="default_control_button_style">
|
<style name="default_control_image_button_style" parent="default_control_button_style">
|
||||||
|
Loading…
Reference in New Issue
Block a user