diff options
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/call_background_activated.xml | 10 | ||||
-rw-r--r-- | res/drawable/call_background_holo.xml | 10 | ||||
-rw-r--r-- | res/drawable/ic_action_call_background.xml | 27 |
3 files changed, 47 insertions, 0 deletions
diff --git a/res/drawable/call_background_activated.xml b/res/drawable/call_background_activated.xml new file mode 100644 index 00000000..9fe8d3f6 --- /dev/null +++ b/res/drawable/call_background_activated.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <gradient android:startColor="#33b5e5" android:endColor="#33b5e5" + android:angle="270" /> + <corners android:radius="2dp" /> + <stroke android:color="#33b5e5" android:width="1dp" /> + <padding android:top="5dp" android:bottom="5dp" android:left="5dp" + android:right="5dp" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/call_background_holo.xml b/res/drawable/call_background_holo.xml new file mode 100644 index 00000000..b947b20a --- /dev/null +++ b/res/drawable/call_background_holo.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <gradient android:startColor="#00000000" + android:endColor="#00000000" + android:angle="270" /> + <corners android:radius="2dp" /> + <padding android:top="5dp" android:bottom="5dp" android:left="5dp" + android:right="5dp" /> +</shape>
\ No newline at end of file diff --git a/res/drawable/ic_action_call_background.xml b/res/drawable/ic_action_call_background.xml new file mode 100644 index 00000000..71ac2a9b --- /dev/null +++ b/res/drawable/ic_action_call_background.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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_focused="true" + android:state_pressed="true" + android:drawable="@drawable/call_background_activated" /> + <item android:state_focused="false" + android:state_pressed="true" + android:drawable="@drawable/call_background_activated"/> + <item android:state_focused="false" + android:state_pressed="false" + android:drawable="@drawable/call_background_holo"/> +</selector>
\ No newline at end of file |