titlebar - Android: having different title name and launcher name -
titlebar - Android: having different title name and launcher name -
i have application custom title bar in have used in image title background or title image , have removed string of title.
now problem if remove string title since using own customized titlebar, there no launcher name application (the name displayed below icon of application).
if select notitlebar activity, won't show customized titlebar well. don't know why android takes string title , launcher same resource..it doesn't create sense so.
here code of customized title bar
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="titlebarbackgroundstyle"> <item name="android:background">@drawable/titlebar</item> </style> <style name="theme.mycustomtheme" parent="android:theme"> <item name="android:windowtitlebackgroundstyle">@style/titlebarbackgroundstyle</item> <item name="android:windowtitlesize">54dp</item> </style>
any suggestions???
the application-name shown app defined in android manifest in <application>
-tag:
<application android:icon="@drawable/icon" android:label="your app name"> ... </application>
if implemented titlebar
yourself, should able not print string in bar (as want it) removing textview
layout.
however needs set, otherwise (as noticed yourself) app won't have name in launcher.
android titlebar launcher
Comments
Post a Comment