ActionBarSherlock Library를 사용하고 있습니다.Android : textColor = "@android : color/holo_blue_bright"작동하지 않습니다.
<?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" >
<TextView
android:id="@+id/shareWhat"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:textSize="15dp"
android:text="@string/what_is_the_picture_about_" />
<TextView
android:id="@+id/shareProduct"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/product_underlined"
android:textColor="@android:color/holo_blue_dark"
android:textSize="25dp" />
<TextView
android:id="@+id/sharePrice"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/price_underlined"
android:textColor="@android:color/holo_blue_light"
android:textSize="25dp" />
<TextView
android:id="@+id/shareStore"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/store_underlined"
android:textColor="@android:color/holo_blue_bright"
android:textSize="25dp" />
<TextView
android:id="@+id/shareMarket"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="@string/market_underlined"
android:textColor="@android:color/holo_blue_bright"
android:textSize="25dp" />
</LinearLayout>
내가 텍스트 색상이 파란색으로 원하는 @android의 3 개 가지 값이 있습니다 : 색 파란색위한 간단한 레이아웃에서
나는이 코드를 가지고있다. 나는 3을 모두 사용하여 어떤 것이 좋게 보이는지 확인했다.1. android:textColor="@android:color/holo_blue_dark"
2. android:textColor="@android:color/holo_blue_light"
3. android:textColor="@android:color/holo_blue_bright"
하지만 난 1 두 가지 색상을 사용하고 때 나는 white colored text
을 얻고있다. 그리고 세 번째 색상을 사용하는 경우 textView 자체가 표시되지 않습니다.
심지어 보이지 않습니다.
왜 그렇습니까?
난 내 매니페스트
android:theme="@style/Theme.Sherlock"
로 응용 프로그램 테마를 사용하고 있습니다.
어떤 버전을 확인 하시겠습니까? – logcat
API가 1 –