mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Fix styling on disabled recover button
This commit is contained in:
@@ -80,7 +80,7 @@ public class AuthorNameFragment extends SetupFragment {
|
||||
authorNameInput.setOnEditorActionListener(enabled ? this : null);
|
||||
nextButton.setEnabled(enabled);
|
||||
recoverButton.setEnabled(!enabled);
|
||||
recoverButton.setVisibility(enabled ? View.INVISIBLE : View.VISIBLE);
|
||||
// recoverButton.setVisibility(enabled ? View.INVISIBLE : View.VISIBLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/briar_button_text_positive" android:state_enabled="true"/>
|
||||
<item android:color="@color/briar_button_text_disabled" />
|
||||
</selector>
|
||||
@@ -57,6 +57,7 @@
|
||||
<Button
|
||||
android:id="@+id/buttonRestoreAccount"
|
||||
style="@style/BriarButtonFlat.Positive.Tiny"
|
||||
android:textColor="@drawable/button_positive_tiny_disable"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/margin_activity_horizontal"
|
||||
|
||||
Reference in New Issue
Block a user