|
|
@@ -97,8 +97,10 @@ public abstract class ActivityBase extends AppCompatActivity implements IHelperP
|
|
|
if (hasLayout()) {
|
|
|
setContentView(R.layout.activity_main);
|
|
|
|
|
|
- // 하단 네비게이션 바의 컬러를 검정으로 조절하기 위해서 배경에 검은색으로 칠해줌
|
|
|
- findViewById(android.R.id.content).setBackgroundColor(ResourceUtil.getColor(R.color.C000000));
|
|
|
+ // nav bar 있을 경우 하단 네비게이션 바의 컬러를 검정으로 조절하기 위해서 배경에 검은색으로 칠해줌
|
|
|
+ if (AppUtil.hasNavBar()) {
|
|
|
+ findViewById(android.R.id.content).setBackgroundColor(ResourceUtil.getColor(R.color.C000000));
|
|
|
+ }
|
|
|
|
|
|
//resize screen in full screen
|
|
|
FullScreenWithKeyBoardLayout.assistActivity(this, () -> {
|