fix android 9.0 pin code keyboard does not pop up
MODIFY
bither-android/res/layout/layout_pin_code_enter.xml
bither-android/res/layout/layout_pin_code_enter.xml
android:id="@+id/et"
android:layout_width="match_parent"
android:maxLength="4"
- android:layout_height="0dp"/>
+ android:background="@color/transparent"
+ android:layout_height="1dp"/>
<LinearLayout
android:layout_width="match_parent"

MODIFY
bither-android/src/net/bither/fragment/hot/OptionHotFragment.java
bither-android/src/net/bither/fragment/hot/OptionHotFragment.java
@@ -92,6 +92,7 @@ import net.bither.util.ImageManageUtil;
import net.bither.util.LogUtil;
import net.bither.util.MarketUtil;
import net.bither.util.MonitorBitherColdUtil;
+import net.bither.util.PermissionUtil;
import net.bither.util.ThreadUtil;
import net.bither.util.UIUtil;
import net.bither.util.UnitUtilWrapper;
@@ -472,6 +473,9 @@ public class OptionHotFragment extends Fragment implements Selectable,
private OnClickListener avatarClick = new OnClickListener() {
@Override
public void onClick(View v) {
+ if (!PermissionUtil.isWriteExternalStoragePermission(getActivity(), BitherSetting.REQUEST_CODE_PERMISSION_WRITE_EXTERNAL_STORAGE)) {
+ return;
+ }
DialogSetAvatar dialog = new DialogSetAvatar(getActivity(), OptionHotFragment.this);
dialog.show();
}

MODIFY
bither-android/src/net/bither/pin/PinCodeEnterView.java
bither-android/src/net/bither/pin/PinCodeEnterView.java
@@ -153,6 +153,7 @@ public class PinCodeEnterView extends FrameLayout implements TextWatcher,
@Override
public void onAnimationEnd(Animation animation) {
et.setEnabled(true);
+ et.requestFocus();
clearText();
dvNew.clearAnimation();
dvNew.setVisibility(View.GONE);

fix android 9.0 pin code keyboard does not pop up