i have created an app which has a TextView which contain some text. i made it transparent by this code
<TextView xmlns:android="htt开发者_JAVA技巧p://schemas.android.com/apk/res/android"
android:id="@+id/Label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Credit Balance 52$"
android:background = "#00000000"
/>
i want my application to be full screen but at the same time user will be able to see device statusbar behind TextView at top.
Please suggest me some solution of this problem.
Thanks
try using android.R.style.Theme_Translucent theme for your activity
精彩评论