Tôi chỉ có một câu hỏi ngu ngốc ... Tôi đang sử dụng (hoặc tốt hơn, tôi giả sử dụng) ánh sáng chủ đề holo trong ứng dụng của tôi: Tôi đã đặt nó trong tệp kê khai. Nhìn vào ảnh chụp màn hình bên dưới: văn bản quá sáng, phải không? Ok, tôi biết rằng tôi có thể đặt nó nhưng câu hỏi của tôi là: nó là màu văn bản thực sự trong chủ đề holo hoặc có một lỗi trong ứng dụng của tôi? Tôi cho rằng điều đó là lạ vì trong google một màu bất hợp pháp như thế này đã được chọn.Android: màu chữ holo nhạt
EDIT:
tôi đặt chủ đề với các thuộc tính
android:theme="@android:style/Theme.Holo.Light"
của phần tử ứng dụng. Đây là mã listview whick tôi dân cư với một listfragment:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/songsLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="left"
android:orientation="vertical"
android:padding="12dp" >
<ListView
android:id="@id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fastScrollEnabled="true"
android:scrollbarStyle="insideInset"
android:textFilterEnabled="false"/>
<TextView
android:id="@+id/songsFragment_titleTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="7dp"
android:paddingBottom="0dp"
android:textSize="18sp"
android:lines="1">
</TextView>
<TextView
android:id="@+id/songsFragment_artistTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="7dp"
android:paddingTop="0dp"
android:lines="1"
android:textSize="14sp">
</TextView>
</LinearLayout>
Hy vọng bạn có thể giúp tôi :)
Bố cục nào bạn tăng cao trong Bộ điều hợp ListView của mình? – Cheesebaron
Bố cục bạn tìm thấy ở trên ... phải không? Xin lỗi tôi nghĩ rằng tôi không hiểu ý của bạn là gì: D – user1315621