diff options
author | Yorke Lee <yorkelee@google.com> | 2013-08-09 08:41:55 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-08-09 08:41:55 -0700 |
commit | 4e4d12f1d2a82694ee376d58bb0fe450dd325802 (patch) | |
tree | 475c008883cdf266137735015bac0856c12bc9b3 | |
parent | 15ef3e1d3772d9e35182572fed9b0f1c7c958547 (diff) |
Hide dial button in-call so that in-call chooser dialog shows up
Bug: 10248510
Change-Id: Ib70b6b5eee8f1f16e2a9ea306292e324bfe3474d
-rw-r--r-- | res/layout/dialpad_chooser_list_item.xml | 5 | ||||
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/dialpad_chooser_list_item.xml b/res/layout/dialpad_chooser_list_item.xml index 853ca4734..5ba88ca54 100644 --- a/res/layout/dialpad_chooser_list_item.xml +++ b/res/layout/dialpad_chooser_list_item.xml @@ -4,9 +4,9 @@ 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. @@ -27,6 +27,7 @@ <TextView android:id="@+id/text" android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="@color/dialpad_text_color" android:layout_gravity="center_vertical" android:layout_width="0dip" android:layout_weight="1" diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 3052c67f0..12b618355 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -374,6 +374,7 @@ public class DialpadFragment extends Fragment // Load up the resources for the text field. Resources r = getResources(); + mDialButtonContainer = fragmentView.findViewById(R.id.dialButtonContainer); mDigitsContainer = fragmentView.findViewById(R.id.digits_container); mDigits = (EditText) fragmentView.findViewById(R.id.digits); mDigits.setKeyListener(UnicodeDialerKeyListener.INSTANCE); |