|
|
@@ -9,7 +9,6 @@ import android.content.Intent;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.CallSuper;
|
|
|
import android.support.annotation.IntDef;
|
|
|
-import android.support.design.widget.CoordinatorLayout;
|
|
|
import android.support.v7.app.AppCompatActivity;
|
|
|
import android.util.Log;
|
|
|
import android.view.KeyCharacterMap;
|
|
|
@@ -33,8 +32,6 @@ import kr.co.zumo.app.lifeplus.model.SuperModel;
|
|
|
import kr.co.zumo.app.lifeplus.supervisor.FragmentSkipBackChanger;
|
|
|
import kr.co.zumo.app.lifeplus.supervisor.ScreenChanger;
|
|
|
import kr.co.zumo.app.lifeplus.supervisor.ScreenID;
|
|
|
-import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
-import kr.co.zumo.app.lifeplus.view.custom.AndroidBug5497Workaround;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.FragmentBase;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.factory.BasicFragmentFactory;
|
|
|
import kr.co.zumo.app.lifeplus.view.screen.factory.FragmentFactory;
|
|
|
@@ -84,15 +81,16 @@ public abstract class ActivityBase extends AppCompatActivity {
|
|
|
setContentView(R.layout.activity_main);
|
|
|
|
|
|
//resize screen in full screen
|
|
|
- AndroidBug5497Workaround.assistActivity(this);
|
|
|
+ //AndroidBug5497Workaround.assistActivity(this);
|
|
|
|
|
|
- //소프트키 있을 경우 판별하여 레이아웃 조절
|
|
|
- if(hasNavBar(this , ((CoordinatorLayout)findViewById(R.id.layout_container)))){
|
|
|
- findViewById(R.id.layout_container).setPadding(0, 0, 0, ResourceUtil.getSoftKeyHeight());
|
|
|
- }
|
|
|
- findViewById(R.id.layout_app_bar).setPadding(0, ResourceUtil.getStatusBarHeight(), 0, 0);
|
|
|
+// //소프트키 있을 경우 판별하여 레이아웃 조절
|
|
|
+// if(hasNavBar(this , ((CoordinatorLayout)findViewById(R.id.layout_container)))){
|
|
|
+// findViewById(R.id.layout_container).setPadding(0, 0, 0, ResourceUtil.getSoftKeyHeight());
|
|
|
+// }
|
|
|
+ //findViewById(R.id.layout_app_bar).setPadding(0, ResourceUtil.getStatusBarHeight(), 0, 0);
|
|
|
|
|
|
StatusBarCompat.setStatusBarColor(this, getResources().getColor(R.color.C80FFFFFF));
|
|
|
+ // StatusBarCompat.setTranslucent(getWindow(), true);
|
|
|
|
|
|
/*
|
|
|
setting helpers
|
|
|
@@ -338,7 +336,7 @@ public abstract class ActivityBase extends AppCompatActivity {
|
|
|
|
|
|
boolean hasBackKey = KeyCharacterMap.deviceHasKey(KeyEvent.KEYCODE_BACK);
|
|
|
boolean hasHomeKey = KeyCharacterMap.deviceHasKey(KeyEvent.KEYCODE_HOME);
|
|
|
- return (!(hasBackKey && hasHomeKey));
|
|
|
+ return (!(hasBackKey && hasHomeKey));
|
|
|
}
|
|
|
}
|
|
|
|