Aru*_*ole 4 android android-theme android-4.2-jelly-bean
当我在Eclipse中创建新的Android应用程序时.其AndroidManifest.xml设置为application的主题是android:theme="@style/AppTheme"&style.xml如下.
<resources>
<style name="AppTheme" parent="android:Theme.Light" />
</resources>
Run Code Online (Sandbox Code Playgroud)
我的屏幕显示如下.

我想从应用程序中删除TitleBar,但想要显示Android 4.1的主题.
为此我试过了
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar" >
Run Code Online (Sandbox Code Playgroud)
现在我的屏幕显示为这样,TitleBar被删除但主题已更改.

请帮我解决这个问题.
| 归档时间: |
|
| 查看次数: |
4669 次 |
| 最近记录: |