2013-12-24 39 views
0

我有一個按鈕,我把ontop的我的谷歌地圖,但文本都變灰這樣的:按鈕文字採用的是Android谷歌地圖灰色的

enter image description here

反正是有使文本不會變灰,所以它會更容易閱讀?

我的XML是:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:tools="http://schemas.android.com/tools" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    tools:context=".MainActivity" > 

    <fragment 
     android:id="@+id/map" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     class="com.google.android.gms.maps.MapFragment" /> 

    <Button 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:text="Navigate to Brewery" 
     android:id="@+id/button2" 
     android:textColor="@color/orange" 
     android:textStyle="bold" 
     android:onClick="getMap" 
     /> 


</RelativeLayout> 
+0

這似乎是橘子給我。比背景更深的橙色,但橙色。 #D38100絕對不是灰色 – gian1200

回答

0

機器人:文字顏色= 「@色/橙色」

嘗試使用白色,而不是