Browse Source

update passphrase UI

V1.1.0-btc-release
ZhangJun 5 years ago
parent
commit
208715a3a6
  1. 2
      app/src/main/java/com/cobo/cold/ui/fragment/PassphraseFragment.java
  2. 9
      app/src/main/res/layout/passphrase.xml

2
app/src/main/java/com/cobo/cold/ui/fragment/PassphraseFragment.java

@ -93,7 +93,7 @@ public class PassphraseFragment extends SetupVaultBaseFragment<PassphraseBinding
mBinding.inputHint.setTextColor(Color.RED);
} else {
mBinding.inputHint.setText(R.string.passphrase_hint3);
mBinding.inputHint.setTextColor(Color.WHITE);
mBinding.inputHint.setTextColor(mActivity.getResources().getColor(R.color.white40));
}
}
};

9
app/src/main/res/layout/passphrase.xml

@ -92,7 +92,7 @@
android:layout_height="wrap_content"
android:background="@null"
android:focusable="true"
android:paddingVertical="5dp"
android:paddingVertical="10dp"
android:focusableInTouchMode="true"
android:hint="@string/passphrase_hint2"
android:imeOptions="actionNext"
@ -113,10 +113,11 @@
<TextView
android:id="@+id/input_hint"
android:layout_marginTop="10dp"
android:layout_marginHorizontal="10dp"
android:layout_marginHorizontal="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textColor="@color/white40"
android:textSize="12sp"
android:text="@string/passphrase_hint3" />
<LinearLayout
@ -132,7 +133,7 @@
android:layout_height="wrap_content"
android:background="@null"
android:focusable="true"
android:paddingVertical="5dp"
android:paddingVertical="10dp"
android:focusableInTouchMode="true"
android:hint="@string/passphrase_hint_agian"
android:imeOptions="actionDone"

Loading…
Cancel
Save