Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/212.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 4.4设备上运行的应用程序的主题问题_Java_Android_Themes - Fatal编程技术网

Java 4.4设备上运行的应用程序的主题问题

Java 4.4设备上运行的应用程序的主题问题,java,android,themes,Java,Android,Themes,所以我被告知我们的一个应用程序有问题 由于将设备更新为4.4,应用程序将丢失所有文本!就好像它已经“隐形”了 在我的清单中,我有: <application ..... ..... android:theme="@android:style/Theme.Holo.Light"> 然而,我被告知这也许不是最好的方法 My styles.xml是: <style name="AppBaseTheme" parent="android:Theme

所以我被告知我们的一个应用程序有问题

由于将设备更新为4.4,应用程序将丢失所有文本!就好像它已经“隐形”了

在我的清单中,我有:

    <application
    .....
    .....
    android:theme="@android:style/Theme.Holo.Light">

然而,我被告知这也许不是最好的方法

My styles.xml是:

<style name="AppBaseTheme" parent="android:Theme.Holo">
</style>

但是,values-v11和values-v14中的my style.xml是:

<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
</style>

<style name="FullscreenTheme" parent="AppBaseTheme">
    <item name="android:actionBarStyle">@style/FullscreenActionBarStyle</item>
    <item name="android:windowActionBarOverlay">true</item>
    <item name="android:windowBackground">@null</item>
    <item name="buttonBarStyle">?android:attr/buttonBarStyle</item>
    <item name="buttonBarButtonStyle">?android:attr/buttonBarButtonStyle</item>
</style>

@样式/全屏ActionBarStyle
符合事实的
@空的
?安卓:属性/按钮样式
?android:attr/buttonBarButtonStyle
我不明白为什么这在4.4设备上不起作用,但在4.3及以下版本上却可以正常工作

我做错什么了吗


谢谢

经过大量的挖掘,我发现这是由于安卓4.4中的一个错误,没有正确显示true type字体造成的

我把所有的字体都改成了OTF格式,它又像往常一样了

我听说它已在内部树中修复,但尚未发布