Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:background="@drawable/dialpad_background_opaque"> |
| 21 | <!-- The buttons here have a text label floating off to the side |
| 22 | (which is necessary because these buttons are used only in |
| 23 | a few rare states, and the meaning of the icon might not be |
| 24 | obvious.) The entire row (button + text) is clickable. --> |
| 25 | |
| 26 | <!-- "Manage conference" --> |
| 27 | <!-- This button is used only on GSM devices, during a conference call. --> |
| 28 | <LinearLayout android:id="@+id/manageConferenceButton" |
| 29 | android:orientation="horizontal" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:paddingStart="@dimen/button_cluster_side_padding" |
| 33 | android:paddingEnd="@dimen/button_cluster_side_padding" |
| 34 | android:background="?android:attr/selectableItemBackground"> |
| 35 | <!-- The entire LinearLayout here is clickable, so we don't |
| 36 | care about clicks on the ImageButton itself. --> |
| 37 | <ImageButton android:id="@+id/manageConferenceButtonImage" |
| 38 | android:clickable="false" |
| 39 | style="@style/InCallExtraRowButton" |
| 40 | android:src="@drawable/ic_groups_holo_dark" |
| 41 | android:contentDescription="@string/onscreenManageConferenceText" /> |
| 42 | <TextView android:id="@+id/manageConferenceButtonLabel" |
| 43 | style="@style/InCallExtraRowButtonLabel" |
| 44 | android:text="@string/onscreenManageConferenceText" /> |
| 45 | </LinearLayout> |
| 46 | |
| 47 | <!-- CDMA-specific "Merge" --> |
| 48 | <!-- This button is used only on CDMA devices, where we can't use |
| 49 | the Merge button in the main button row (because the "Add Call" |
| 50 | button might need to be enabled at the same time.) --> |
| 51 | <LinearLayout android:id="@+id/cdmaMergeButton" |
| 52 | android:orientation="horizontal" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:paddingStart="@dimen/button_cluster_side_padding" |
| 56 | android:paddingEnd="@dimen/button_cluster_side_padding" |
| 57 | android:background="?android:attr/selectableItemBackground"> |
| 58 | <!-- The entire LinearLayout here is clickable, so we don't |
| 59 | care about clicks on the ImageButton itself. --> |
| 60 | <ImageButton android:id="@+id/cdmaMergeButtonImage" |
| 61 | android:clickable="false" |
| 62 | style="@style/InCallExtraRowButton" |
| 63 | android:src="@drawable/ic_merge_holo_dark" |
| 64 | android:contentDescription="@string/onscreenMergeCallsText" /> |
| 65 | <TextView android:id="@+id/cdmaMergeButtonLabel" |
| 66 | style="@style/InCallExtraRowButtonLabel" |
| 67 | android:text="@string/onscreenMergeCallsText" /> |
| 68 | </LinearLayout> |
| 69 | |
| 70 | </FrameLayout> |