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
diff --git a/res/layout/voicemail_playback_layout.xml b/res/layout/voicemail_playback_layout.xml
index 4d5f74f..984a52b 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"