|
|
@@ -17,6 +17,7 @@ import android.view.KeyEvent;
|
|
|
import android.view.View;
|
|
|
|
|
|
import com.bumptech.glide.Glide;
|
|
|
+import com.readystatesoftware.systembartint.SystemBarTintManager;
|
|
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
@@ -88,6 +89,11 @@ public abstract class ActivityBase extends AppCompatActivity {
|
|
|
}
|
|
|
findViewById(R.id.layout_app_bar).setPadding(0, ResourceUtil.getStatusBarHeight(), 0, 0);
|
|
|
|
|
|
+ //status bar tint setting
|
|
|
+ SystemBarTintManager tintManager = new SystemBarTintManager(this);
|
|
|
+ tintManager.setStatusBarTintEnabled(true);
|
|
|
+ tintManager.setTintColor(getResources().getColor(R.color.C80FFFFFF));
|
|
|
+
|
|
|
// CoordinatorLayout.LayoutParams params = new CoordinatorLayout.LayoutParams(
|
|
|
// CoordinatorLayout.LayoutParams.MATCH_PARENT,
|
|
|
// CoordinatorLayout.LayoutParams.MATCH_PARENT
|