diff options
author | Sarmad Hashmi <mhashmi@google.com> | 2016-03-04 12:32:17 -0800 |
---|---|---|
committer | Sarmad Hashmi <mhashmi@google.com> | 2016-03-04 16:09:11 -0800 |
commit | 78f55ff9587f427ea97017dd270c9a772b82082d (patch) | |
tree | b923d64a610058842c78d4657f94823c27d3da5c /res | |
parent | 40026e882fa3e5bdc897606e4cb96ed6ac1bfbb9 (diff) |
Disable voicemail archive by default.
+Archive-specific actions are not drawn unless the runtime flag is
enabled
+Disable archive button and menu item
BUG=27375884
Change-Id: Ide7d0a162468279f614e09e01de99d782854a3e1
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/voicemail_playback_layout.xml | 8 | ||||
-rw-r--r-- | res/menu/dialtacts_options.xml | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/res/layout/voicemail_playback_layout.xml b/res/layout/voicemail_playback_layout.xml index 4d5f74f2d..984a52bf1 100644 --- a/res/layout/voicemail_playback_layout.xml +++ b/res/layout/voicemail_playback_layout.xml @@ -102,16 +102,18 @@ android:tint="@color/voicemail_icon_tint" android:contentDescription="@string/call_log_trash_voicemail" /> - <Space + <Space android:id="@+id/space_before_archive_voicemail" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_weight="1"/> + android:layout_weight="1" + android:visibility="gone" /> <ImageButton android:id="@+id/archive_voicemail" style="@style/VoicemailPlaybackLayoutButtonStyle" android:src="@drawable/ic_archive_white_24dp" android:tint="@color/voicemail_icon_tint" - android:contentDescription="@string/call_log_archive_voicemail" /> + android:contentDescription="@string/call_log_archive_voicemail" + android:visibility="gone" /> <Space android:layout_width="0dp" diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index 8e31026a7..0f068f505 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -21,7 +21,8 @@ android:title="@string/action_menu_call_history_description" /> <item android:id="@+id/menu_archive" - android:title="@string/voicemail_archive_activity_title" /> + android:title="@string/voicemail_archive_activity_title" + android:visible="false" /> <item android:id="@+id/menu_import_export" android:title="@string/menu_import_export" /> |