The only way i found in the forum to do this in the manifest is this
AddApplicationText(
<activity
android:name="anywheresoftware.b4a.objects.preferenceactivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
</activity>
)
But this changes the theme of preferenceactivity, so i have different theme on my main activity and different theme on preference activity if target device had API 11 or better. I want the theme of main and preferenceactivity to be the same on every device. If i dont put this code to manifest editor the themes are same. But if i put it the theme of preferenceactivity changes.
Is it possible to change only those attributes (FullScreen and NoTitleBar) without to set a theme?