summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/voicemail/settings/RecordButton.java
diff options
context:
space:
mode:
authorAndroid Dialer <noreply@google.com>2018-06-18 14:54:27 -0700
committerCopybara-Service <copybara-piper@google.com>2018-06-18 14:55:53 -0700
commit8915c215e4d5c02a714c53a3808dea7b8718d052 (patch)
treef680238fd0028a12a5a7ac30ee455034e99e638e /java/com/android/dialer/voicemail/settings/RecordButton.java
parent4a22adba986be3b76b7607f320906729a511b6b4 (diff)
Added Change Voicemail Greeting Preference to Settings screen
Added empty classes and necessary XML files Test: "No Tests" PiperOrigin-RevId: 201063930 Change-Id: I2c24428a91c5d2a706f0e90ce899e8faaf1a2df9
Diffstat (limited to 'java/com/android/dialer/voicemail/settings/RecordButton.java')
-rw-r--r--java/com/android/dialer/voicemail/settings/RecordButton.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/settings/RecordButton.java b/java/com/android/dialer/voicemail/settings/RecordButton.java
new file mode 100644
index 000000000..f144576d4
--- /dev/null
+++ b/java/com/android/dialer/voicemail/settings/RecordButton.java
@@ -0,0 +1,37 @@
+/*
+ * 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
+ */
+
+package com.android.dialer.voicemail.settings;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.widget.Button;
+
+/** Custom Button View for Dialer voicemail greeting recording */
+public class RecordButton extends Button {
+
+ public RecordButton(Context context) {
+ super(context);
+ }
+
+ public RecordButton(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public RecordButton(Context context, AttributeSet attrs, int defStyleAttrs) {
+ super(context, attrs, defStyleAttrs);
+ }
+}