Posted by
sapan
on
- Get link
- Other Apps
@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //make status bar transparent if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
{ Window w = getWindow(); w.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); w.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); } setContentView(R.layout.activity_main); }
Comments
Post a comment