Im trying to make a custom Titlebar for my App, which is no more, than an Image.
Totally custom example:
My Goal is to have the Size of the Picture scale by the Screen-width of the Display.
I already tried removing the TitleBar, and just placing an ImageView, but still a Titlebar, with App-Name and Icon got created...
在manifest
的<application>
标记中设置此属性以删除标题栏
android:theme="@android:style/Theme.NoTitleBar">
Set your activity like this in manifest.xml
<activity
android:name=".YourActivity"
android:configChanges="keyboardHidden|orientation|keyboard" // this is hide keyboard
android:theme="@android:style/Theme.Translucent.NoTitleBar" > // hide the title bar
</activity>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.