Commit 0c6da851 authored by tianyang's avatar tianyang

竖屏兼容配置

parent dcbca47c
......@@ -85,10 +85,6 @@ public class LoginAct extends BaseBarActivity<LoginContract.View, LoginPresenter
test2();
}
@Override
public void initValue(@Nullable Bundle savedInstanceState) {
......
......@@ -109,7 +109,7 @@ public class BApplication extends Application {
instances = this;
fontScale = getFontScale();
ScreenAdapter.setup(this);
ScreenAdapter.register(this, 375, ScreenAdapter.MATCH_BASE_HEIGHT, ScreenAdapter.MATCH_UNIT_DP);
ScreenAdapter.register(this, 360, ScreenAdapter.MATCH_BASE_WIDTH, ScreenAdapter.MATCH_UNIT_DP);
// initWxFacePay();
DaoManager.getInstance().init(this);
initRefreshParams();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment