code reformat
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/blue_button_shape"/>
|
||||
<item a:drawable="@drawable/blue_button_shape" />
|
||||
|
||||
</selector>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/blue_button_dark_shape"/>
|
||||
<item a:drawable="@drawable/blue_button_dark_shape" />
|
||||
|
||||
</selector>
|
@@ -7,8 +7,9 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<gradient a:startColor="#000d1f"
|
||||
a:endColor="#002255"
|
||||
a:angle="90"/>
|
||||
<corners a:radius="0dp" />
|
||||
<gradient
|
||||
a:startColor="#000d1f"
|
||||
a:endColor="#002255"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
@@ -1,8 +1,9 @@
|
||||
<?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" />
|
||||
<gradient
|
||||
a:startColor="#001c45"
|
||||
a:endColor="#003481"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 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.
|
||||
@@ -15,10 +14,7 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/default_abs__btn_cab_done_pressed_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="true"
|
||||
android:drawable="@drawable/default_abs__btn_cab_done_focused_holo_dark" />
|
||||
<item android:state_enabled="true"
|
||||
android:drawable="@drawable/default_abs__btn_cab_done_default_holo_dark" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/default_abs__btn_cab_done_pressed_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/default_abs__btn_cab_done_focused_holo_dark" />
|
||||
<item android:state_enabled="true" android:drawable="@drawable/default_abs__btn_cab_done_default_holo_dark" />
|
||||
</selector>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 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.
|
||||
@@ -16,11 +15,11 @@
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
|
||||
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
|
||||
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<transition xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/default_abs__list_pressed_holo_dark" />
|
||||
<item android:drawable="@drawable/default_abs__list_longpressed_holo" />
|
||||
<item android:drawable="@drawable/default_abs__list_pressed_holo_dark" />
|
||||
<item android:drawable="@drawable/default_abs__list_longpressed_holo" />
|
||||
</transition>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 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.
|
||||
@@ -16,12 +15,12 @@
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_window_focused="false" android:drawable="@android:color/transparent" />
|
||||
<item android:state_window_focused="false" android:drawable="@android:color/transparent" />
|
||||
|
||||
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
|
||||
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
|
||||
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/default_abs__list_selector_background_transition_holo_dark" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
</selector>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 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.
|
||||
@@ -15,11 +14,8 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false"
|
||||
android:drawable="@drawable/abs__spinner_ab_disabled_holo_dark" />
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/default_abs__spinner_ab_pressed_holo_dark" />
|
||||
<item android:state_pressed="false" android:state_focused="true"
|
||||
android:drawable="@drawable/default_abs__spinner_ab_focused_holo_dark" />
|
||||
<item android:drawable="@drawable/abs__spinner_ab_default_holo_dark" />
|
||||
<item android:state_enabled="false" android:drawable="@drawable/abs__spinner_ab_disabled_holo_dark" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/default_abs__spinner_ab_pressed_holo_dark" />
|
||||
<item android:state_pressed="false" android:state_focused="true" android:drawable="@drawable/default_abs__spinner_ab_focused_holo_dark" />
|
||||
<item android:drawable="@drawable/abs__spinner_ab_default_holo_dark" />
|
||||
</selector>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 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.
|
||||
@@ -15,20 +14,20 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/default_abs__tab_selected_holo" />
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/default_abs__tab_selected_holo" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/default_abs__tab_selected_focused_holo" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@drawable/default_abs__list_focused_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/default_abs__tab_selected_focused_holo" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/default_abs__list_pressed_holo_dark" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_selected_pressed_holo" />
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/default_abs__list_pressed_holo_dark" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_selected_pressed_holo" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_unselected_pressed_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_selected_pressed_holo" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_unselected_pressed_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/default_abs__tab_selected_pressed_holo" />
|
||||
</selector>
|
||||
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/gray_button_shape"/>
|
||||
<item a:drawable="@drawable/gray_button_shape" />
|
||||
|
||||
</selector>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/gray_button_dark_shape"/>
|
||||
<item a:drawable="@drawable/gray_button_dark_shape" />
|
||||
|
||||
</selector>
|
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<gradient a:startColor="#000000"
|
||||
a:endColor="#333333"
|
||||
a:angle="90"/>
|
||||
<corners a:radius="0dp" />
|
||||
<gradient
|
||||
a:startColor="#000000"
|
||||
a:endColor="#333333"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
@@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<gradient a:startColor="#071622"
|
||||
a:endColor="#253541"
|
||||
a:angle="90"/>
|
||||
<corners a:radius="0dp" />
|
||||
<gradient
|
||||
a:startColor="#071622"
|
||||
a:endColor="#253541"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 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.
|
||||
@@ -15,20 +14,20 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__tab_selected_holo" />
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__tab_selected_holo" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__list_focused_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__tab_selected_focused_holo" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__list_focused_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@drawable/metro_blue_abs__tab_selected_focused_holo" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__list_pressed_holo_dark" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo" />
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__list_pressed_holo_dark" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_unselected_pressed_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_unselected_pressed_holo" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@drawable/metro_blue_abs__tab_selected_pressed_holo" />
|
||||
</selector>
|
||||
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/metro_blue_button_shape"/>
|
||||
<item a:drawable="@drawable/metro_blue_button_shape" />
|
||||
|
||||
</selector>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_metro_blue_color"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_metro_blue_color" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,20 +2,20 @@
|
||||
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_blue_color" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_blue_color" />
|
||||
</selector>
|
||||
|
@@ -2,8 +2,7 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/metro_button_dark_shape"/>
|
||||
<item a:drawable="@drawable/metro_button_dark_shape" />
|
||||
</selector>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_metro_button_background"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_metro_button_background" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/metro_button_green_shape"/>
|
||||
<item a:drawable="@drawable/metro_button_green_shape" />
|
||||
|
||||
</selector>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_metro_green_color"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_metro_green_color" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,8 +2,7 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/metro_button_light_shape"/>
|
||||
<item a:drawable="@drawable/metro_button_light_shape" />
|
||||
</selector>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_metro_light_button_background"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_metro_light_button_background" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#C9C9C9"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="#C9C9C9" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/metro_button_purple_shape"/>
|
||||
<item a:drawable="@drawable/metro_button_purple_shape" />
|
||||
|
||||
</selector>
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_metro_purple_color"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_metro_purple_color" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,21 +2,21 @@
|
||||
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_green_color" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_green_color" />
|
||||
|
||||
</selector>
|
||||
|
@@ -2,20 +2,20 @@
|
||||
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="false" a:drawable="@android:color/transparent" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="false" a:drawable="@color/cpp_metro_purple_color" />
|
||||
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<!-- Pressed -->
|
||||
<!-- Non focused states -->
|
||||
<item a:state_focused="false" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="false" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<!-- Focused states -->
|
||||
<item a:state_focused="true" a:state_selected="false" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
<item a:state_focused="true" a:state_selected="true" a:state_pressed="true" a:drawable="@color/cpp_metro_purple_color" />
|
||||
</selector>
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
<?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.
|
||||
@@ -15,6 +14,6 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/cpp_pane_background"/>
|
||||
<corners android:radius="1dp" />
|
||||
<solid android:color="@color/cpp_pane_background" />
|
||||
<corners android:radius="1dp" />
|
||||
</shape>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/violet_button_shape"/>
|
||||
<item a:drawable="@drawable/violet_button_shape" />
|
||||
|
||||
</selector>
|
@@ -2,9 +2,8 @@
|
||||
|
||||
<selector xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item a:state_pressed="true"
|
||||
a:drawable="@drawable/metro_button_pressed"/>
|
||||
<item a:state_pressed="true" a:drawable="@drawable/metro_button_pressed" />
|
||||
|
||||
<item a:drawable="@drawable/violet_button_dark_shape"/>
|
||||
<item a:drawable="@drawable/violet_button_dark_shape" />
|
||||
|
||||
</selector>
|
@@ -7,8 +7,9 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<gradient a:startColor="#2b0325"
|
||||
a:endColor="#4f1c47"
|
||||
a:angle="90"/>
|
||||
<corners a:radius="0dp"/>
|
||||
<gradient
|
||||
a:startColor="#2b0325"
|
||||
a:endColor="#4f1c47"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
@@ -7,8 +7,9 @@
|
||||
-->
|
||||
|
||||
<shape xmlns:a="http://schemas.android.com/apk/res/android">
|
||||
<gradient a:startColor="#520546"
|
||||
a:endColor="#8a307c"
|
||||
a:angle="90"/>
|
||||
<corners a:radius="0dp"/>
|
||||
<gradient
|
||||
a:startColor="#520546"
|
||||
a:endColor="#8a307c"
|
||||
a:angle="90" />
|
||||
<corners a:radius="0dp" />
|
||||
</shape>
|
||||
|
Reference in New Issue
Block a user