android - Material translucent status bar with Material Navigation drawer and wallpaper -
i need job this: https://raw.githubusercontent.com/florent37/materialviewpager/master/screenshots/screenshot_2_small.png
as can @ picture, there wallpaper translucent status bar on activity.
im using : http://www.android4devs.com/2014/12/how-to-make-material-design-navigation-drawer.html
for navigation drawer , here i'm done styles.xml
<resources> <style name="apptheme" parent="android:theme.holo.light.darkactionbar"> <item name="android:windowtranslucentstatus">true</item> </style> </resources>
and, in manifest : android:theme="@android:style/theme.holo.noactionbar.translucentdecor">
but wallpaper not in status bar completly.
i dont have java code on application.
so, how can add feature in application or above navigation drawer translucent status completly ?
main_activity.xml :
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingleft="@dimen/activity_horizontal_margin" android:paddingright="@dimen/activity_horizontal_margin" android:paddingtop="@dimen/activity_vertical_margin" android:paddingbottom="@dimen/activity_vertical_margin" tools:context=".mainactivity"> <imageview android:layout_width="match_parent" android:layout_height="200dp" android:id="@+id/imageview" android:src="@drawable/bg" android:layout_alignparentend="true" /> </relativelayout>
cheers!
Comments
Post a Comment