diff options
author | Zachary Heidepriem <zachh@google.com> | 2017-11-06 19:10:44 -0800 |
---|---|---|
committer | Zachary Heidepriem <zachh@google.com> | 2017-11-06 19:10:44 -0800 |
commit | 7547d3e963dab2b1ef467ad27c3f0d25e150b50c (patch) | |
tree | 642c7b180b33d1371c1f474be03fbb8de2110f6d /java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml | |
parent | b519cd522d472b5d7980cc015aa37c101be99386 (diff) |
Move voicemail settings to dialer UI
The voicemail module should not contain any UI code.
Bug: 37258159
Test: DialerSettingsActivityTest,VoicemailSettingsFragmentTest. A future CL is refactoring VoicemailChangePinActivity into a fragment.
PiperOrigin-RevId: 174125949
Change-Id: I89cf6a083b0a0952332440d76e7ae0cb1c801931
Diffstat (limited to 'java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml')
-rw-r--r-- | java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml b/java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml deleted file mode 100644 index 50c92777e..000000000 --- a/java/com/android/voicemail/impl/res/layout/voicemail_change_pin.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** Copyright 2014, 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. -*/ ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center_horizontal" - android:orientation="vertical"> - <!-- header text ('Enter Pin') --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1" - android:orientation="vertical" - android:paddingTop="48dp" - android:paddingStart="48dp" - android:paddingEnd="48dp"> - <TextView - android:id="@+id/headerText" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:lines="2" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" - android:accessibilityLiveRegion="polite"/> - - <!-- hint text ('PIN too short') --> - <TextView - android:id="@+id/hintText" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:lines="2"/> - - <!-- error text ('PIN too short') --> - <TextView - android:id="@+id/errorText" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:lines="2" - android:textColor="@android:color/holo_red_dark"/> - - <!-- Password entry field --> - <EditText - android:id="@+id/pin_entry" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:gravity="center" - android:imeOptions="actionNext|flagNoExtractUi" - android:inputType="numberPassword" - android:textSize="24sp"/> - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:clipChildren="false" - android:clipToPadding="false" - android:gravity="end" - android:orientation="horizontal"> - - <!-- left : cancel --> - <Button - android:id="@+id/cancel_button" - android:layout_width="0dp" - android:layout_weight="1" - android:layout_height="wrap_content" - android:text="@string/change_pin_cancel_label"/> - - <!-- right : continue --> - <Button - android:id="@+id/next_button" - android:layout_width="0dp" - android:layout_weight="1" - android:layout_height="wrap_content" - android:text="@string/change_pin_continue_label"/> - - </LinearLayout> -</LinearLayout> |