statusbar - android - Bug Status Bar and navigation Bar TRANSPARENT -


i have problem translucent statusbar when opening of app first time. take @ screenshot:

http://i1335.photobucket.com/albums/w673/ductruongcntt/screenshot_2014-06-26-14-17-26_zps1e9a56f4.png

here xml of style use including translucent status bar:

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:cliptopadding="false" android:fitssystemwindows="true" android:orientation="vertical" >  <com.viewpagerindicator.pagerslidingtabstrip     android:id="@+id/indicatortabhome"     android:layout_width="match_parent"     android:layout_height="40dp"     android:cliptopadding="false"     android:fitssystemwindows="true" > </com.viewpagerindicator.pagerslidingtabstrip>  <android.support.v4.view.viewpager     android:id="@+id/vpmain"     android:layout_width="match_parent"     android:layout_height="match_parent" > </android.support.v4.view.viewpager> 

and theme:

  <style name="mytheme" parent="@android:style/theme.holo.light">     <item name="android:windowcontentoverlay">@null</item>     <item name="android:windowtranslucentstatus">true</item>  </style> 

put inside activity tag in manifest. this'll ensure app opens full screen.

android:label="@string/app_name" android:theme="@android:style/theme.notitlebar.fullscreen" 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -