Permalink
Browse files

pressed background for menu button

  • Loading branch information...
1 parent 530260f commit 22e1406cbd8cec76fcba3dbf5dd1d53b439566a7 @Xlythe committed Feb 20, 2013
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,19 @@
+<?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.
+ 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.
+-->
+
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/menu_button_pressed"
+ android:gravity="center"/>
View
@@ -0,0 +1,20 @@
+<?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.
+ 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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/centered_pressed_menu_bg" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
View
@@ -47,7 +47,7 @@
android:layout_width="48dip"
android:layout_height="match_parent"
android:src="@drawable/ic_menu_overflow"
- android:background="@android:color/transparent"
+ android:background="@drawable/menu_bg"
android:layout_marginLeft="8dip"
android:visibility="gone"
android:contentDescription="@null"/>
View
@@ -45,7 +45,7 @@
android:layout_width="48dip"
android:layout_height="match_parent"
android:src="@drawable/ic_menu_overflow"
- android:background="@android:color/transparent"
+ android:background="@drawable/menu_bg"
android:layout_marginLeft="8dip"
android:visibility="gone"
android:contentDescription="@null"/>
@@ -51,7 +51,7 @@
android:layout_width="48dip"
android:layout_height="match_parent"
android:src="@drawable/ic_menu_overflow"
- android:background="@android:color/transparent"
+ android:background="@drawable/menu_bg"
android:layout_marginLeft="8dip"
android:visibility="gone"
android:contentDescription="@null"/>
@@ -50,7 +50,7 @@
android:layout_width="48dip"
android:layout_height="match_parent"
android:src="@drawable/ic_menu_overflow"
- android:background="@android:color/transparent"
+ android:background="@drawable/menu_bg"
android:layout_marginLeft="8dip"
android:visibility="gone"
android:contentDescription="@null"/>
View
@@ -198,7 +198,7 @@
<string name="cling_matrix_title">Matrices</string>
<string name="cling_matrix_msg">Tap here to start building and solving matrices.</string>
<string name="cling_hex_title">Change bases</string>
- <string name="cling_hex_msg">Switch between decimal (dec), binary (bin), and hexadecimal (hex).\n\nWarning: If you believe you're getting bad results, you're probably in the wrong base. The default is decimal.</string>
+ <string name="cling_hex_msg">Switch between decimal (dec), binary (bin), and hexadecimal (hex).\n\nWarning: If you believe you\'re getting bad results, you\'re probably in the wrong base. The default is decimal.</string>
<string name="cling_graph_title">Graph</string>
<string name="cling_graph_msg">Graphs will automatically show up here. Go to the advanced panel and build a function using X and Y.</string>
<string name="cling_dismiss">OK</string>

0 comments on commit 22e1406

Please sign in to comment.