Avoid blink effect

This commit is contained in:
Benoit Marty 2020-12-16 15:51:30 +01:00
parent 451750f08a
commit 10575698de

View file

@ -85,44 +85,54 @@
android:id="@+id/setupRecoveryButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:actionTitle="@string/secure_backup_setup"
app:iconTint="?riotx_text_primary"
app:leftIcon="@drawable/ic_secure_backup"
app:textColor="?riotx_text_secondary" />
app:textColor="?riotx_text_secondary"
tools:visibility="visible" />
<im.vector.app.features.workers.signout.SignOutBottomSheetActionButton
android:id="@+id/setupMegolmBackupButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:actionTitle="@string/keys_backup_setup"
app:iconTint="?riotx_text_primary"
app:leftIcon="@drawable/backup_keys"
app:textColor="?riotx_text_secondary" />
app:textColor="?riotx_text_secondary"
tools:visibility="visible" />
<im.vector.app.features.workers.signout.SignOutBottomSheetActionButton
android:id="@+id/exportManuallyButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:actionTitle="@string/keys_backup_setup_step1_manual_export"
app:iconTint="?riotx_text_primary"
app:leftIcon="@drawable/ic_download"
app:textColor="?riotx_text_secondary" />
app:textColor="?riotx_text_secondary"
tools:visibility="visible" />
<im.vector.app.features.workers.signout.SignOutBottomSheetActionButton
android:id="@+id/exitAnywayButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:actionTitle="@string/sign_out_bottom_sheet_dont_want_secure_messages"
app:iconTint="@color/riotx_destructive_accent"
app:leftIcon="@drawable/ic_material_leave"
app:textColor="@color/riotx_destructive_accent" />
app:textColor="@color/riotx_destructive_accent"
tools:visibility="visible" />
<im.vector.app.features.workers.signout.SignOutBottomSheetActionButton
android:id="@+id/signOutButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:actionTitle="@string/action_sign_out"
app:iconTint="@color/riotx_notice"
app:leftIcon="@drawable/ic_material_exit_to_app"
app:textColor="@color/riotx_notice" />
app:textColor="@color/riotx_notice"
tools:visibility="visible" />
</LinearLayout>