summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Chen <christinech@google.com>2013-10-03 22:21:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-03 22:21:25 -0700
commit4b4aa226bb067f5c6cdc86fe151694e3e5541d27 (patch)
treee3d94b0f77ab461e20dd1447a3edb073da26823d
parentea89b84c984b5da37fad7d01ced0db1c62ae7057 (diff)
parentf4b214111094e331102e74dbe0fd9586a3ff3e6e (diff)
am 01fcc52a: Removes textured background for InCallUi
* commit '01fcc52a059c359acec49d1f2d3d2f0df80a40db': Removes textured background for InCallUi
-rw-r--r--InCallUI/res/drawable/dialpad_background.xml19
-rw-r--r--InCallUI/res/drawable/dialpad_background_opaque.xml30
-rw-r--r--InCallUI/res/layout/call_button_fragment.xml1
-rw-r--r--InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml2
-rw-r--r--InCallUI/res/layout/extra_button_row.xml2
-rw-r--r--InCallUI/res/values/colors.xml6
6 files changed, 9 insertions, 51 deletions
diff --git a/InCallUI/res/drawable/dialpad_background.xml b/InCallUI/res/drawable/dialpad_background.xml
deleted file mode 100644
index 0e31f5eac..000000000
--- a/InCallUI/res/drawable/dialpad_background.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?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/dial_background_texture"
- android:tileMode="repeat" />
diff --git a/InCallUI/res/drawable/dialpad_background_opaque.xml b/InCallUI/res/drawable/dialpad_background_opaque.xml
deleted file mode 100644
index d8792f201..000000000
--- a/InCallUI/res/drawable/dialpad_background_opaque.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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.
--->
-
-<!-- Opaque version of dialpad_background.xml. -->
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-
- <!-- An opaque black layer underneath. -->
- <item android:drawable="@android:color/black" />
-
- <!-- ...and the "dial_background_texture" tiled on top. -->
- <item>
- <bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/dial_background_texture"
- android:tileMode="repeat" />
- </item>
-
-</layer-list>
diff --git a/InCallUI/res/layout/call_button_fragment.xml b/InCallUI/res/layout/call_button_fragment.xml
index 338190ccf..420d2aa6a 100644
--- a/InCallUI/res/layout/call_button_fragment.xml
+++ b/InCallUI/res/layout/call_button_fragment.xml
@@ -66,6 +66,7 @@
android:layout_height="wrap_content"
android:paddingStart="@dimen/button_cluster_side_padding"
android:paddingEnd="@dimen/button_cluster_side_padding"
+ android:background="@color/button_background"
>
<!-- This row has either 4 or 5 buttons, depending on
diff --git a/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml b/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml
index c4fecf358..fe84010c7 100644
--- a/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml
+++ b/InCallUI/res/layout/dtmf_twelve_key_dialer_view.xml
@@ -60,7 +60,7 @@
android:paddingStart="5dip"
android:paddingEnd="5dip"
android:paddingBottom="10dip"
- android:background="@drawable/dialpad_background"
+ android:background="@color/dialpad_background"
android:layoutDirection="ltr">
<TableRow
diff --git a/InCallUI/res/layout/extra_button_row.xml b/InCallUI/res/layout/extra_button_row.xml
index a1600e80a..ade3e4e1d 100644
--- a/InCallUI/res/layout/extra_button_row.xml
+++ b/InCallUI/res/layout/extra_button_row.xml
@@ -18,7 +18,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@drawable/dialpad_background_opaque">
+ android:background="@color/button_background">
<!-- The buttons here have a text label floating off to the side
(which is necessary because these buttons are used only in
a few rare states, and the meaning of the icon might not be
diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml
index 53d8f527f..6080e910b 100644
--- a/InCallUI/res/values/colors.xml
+++ b/InCallUI/res/values/colors.xml
@@ -43,4 +43,10 @@
<!-- Used when the End Call button is disabled -->
<drawable name="end_call_disabled_state">#303030</drawable>
+
+ <!-- Dialpad background -->
+ <color name="dialpad_background">#000000</color>
+
+ <!-- Button background -->
+ <color name="button_background">#000000</color>
</resources>