如何保持4.1主题和;删除Android中的标题栏?
当我在Eclipse中创建新的Android应用程序时,在其如何保持4.1主题和;删除Android中的标题栏?,android,android-4.2-jelly-bean,android-theme,Android,Android 4.2 Jelly Bean,Android Theme,当我在Eclipse中创建新的Android应用程序时,在其AndroidManifest.xml中,应用程序的主题设置为Android:theme=“@style/AppTheme”&style.xml如下 <resources> <style name="AppTheme" parent="android:Theme.Light" /> </resources> &我的屏幕显示如下。 我想从应用程序中删除标题栏,但想显示安
AndroidManifest.xml
中,应用程序的主题设置为Android:theme=“@style/AppTheme”
&style.xml如下
<resources>
<style name="AppTheme" parent="android:Theme.Light" />
</resources>
&我的屏幕显示如下。
我想从应用程序中删除标题栏,但想显示安卓4.1的主题
为了这个我试过了
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar" >
现在我的屏幕显示如下标题栏已删除,但主题已更改
请帮我解决这个问题。改用这个:
@android:style/Theme.Holo.NoActionBar
试着把它放在你的清单中
这是完美的(即使一年半之后)。
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"