Closed vahidreza closed 6 years ago
hey I tried below code and put it inside the @Override protected void onStart() method in the UnityPlayerActivity.java file with no success.
@Override protected void onStart()
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) { getWindow().setStatusBarColor(Color.parseColor("#FAFAFA")); }
Is there anyway so I can change the statusbar color even for sdk versions before lolipop?
You can try AppCompat library: https://chris.banes.me/2014/10/17/appcompat-v21/
hey I tried below code and put it inside the
@Override protected void onStart()
method in the UnityPlayerActivity.java file with no success.if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) { getWindow().setStatusBarColor(Color.parseColor("#FAFAFA")); }
Is there anyway so I can change the statusbar color even for sdk versions before lolipop?