我想更改标题栏颜色。遵循指令here 或在AndroidManifest中使用Notitle栏消除标题栏不显示文本字体列表视图(我使用“simple_list_item_checked”listview)。更改标题栏结果不显示(字体问题)列表视图项目
下面是该活动的XML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#FFFAFA"
>
<Button
android:id="@+id/btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/green_button"
android:text="@string/show_items_kfc"
android:onClick="onClick"/>
<ListView
android:id="@+id/android:list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</LinearLayout>
(的XML代码的其余部分是与上述相同的链接)
本任何解决方案?
谢谢!
需要进一步解释。无法理解问题! – 2013-03-14 18:52:28
你能看到图像吗?按照我所说的应用链接(为了改变背景标题栏颜色),结果也不显示列表视图项目。你可以在图像中看到。 – George 2013-03-14 18:53:59
你在风格中应用了哪种颜色?它看起来textColor与背景颜色相同!分享xml代码和颜色。 – 2013-03-14 19:02:31