summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer/widget/res
diff options
context:
space:
mode:
authormdooley <mdooley@google.com>2018-02-20 17:19:45 -0800
committerEric Erfanian <erfanian@google.com>2018-02-22 21:10:20 +0000
commitfa95b2d3c5696790d2b174b0d42984341dfc80f2 (patch)
tree19b8f8e9ae303db8b971271fbdb65eb9e0db4e95 /java/com/android/dialer/widget/res
parentf5326db368ba35faf861f690b09d0ea9c8d5080f (diff)
downloadandroid_packages_apps_Dialer-fa95b2d3c5696790d2b174b0d42984341dfc80f2.tar.gz
android_packages_apps_Dialer-fa95b2d3c5696790d2b174b0d42984341dfc80f2.tar.bz2
android_packages_apps_Dialer-fa95b2d3c5696790d2b174b0d42984341dfc80f2.zip
Adding information section to voicemail settings
this cl moves the TextViewPreference from dialer to third_party so it can be shared (sorry i meant to make that a separate cl, but forgot to switch branches). and it uses the TextViewPreference to add some informational text to the voicemail settings. screen shot: https://drive.google.com/open?id=0B9o_KvtLkcuIbENkeHRCSTUyOVpkM0JEZ0liMHphMnVzVHlN mock: https://drive.google.com/file/d/1gKt72pY-igXfphpamf8CqZV8HEmnOexj/view Bug: 37340510 Test: manual test PiperOrigin-RevId: 186388299 Change-Id: I2c142f1214a9424bec0bc7f12d841f0eeaef96f1
Diffstat (limited to 'java/com/android/dialer/widget/res')
-rw-r--r--java/com/android/dialer/widget/res/layout/text_view_preference.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/java/com/android/dialer/widget/res/layout/text_view_preference.xml b/java/com/android/dialer/widget/res/layout/text_view_preference.xml
new file mode 100644
index 000000000..39b550657
--- /dev/null
+++ b/java/com/android/dialer/widget/res/layout/text_view_preference.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2018 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
+ -->
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="16dp"
+ android:fontFamily="sans-serif"
+ android:linksClickable="true"
+ android:singleLine="false"/>