如何在下拉微调框文本框中添加自定义突出显示以替换蓝色色调?

时间:2013-07-25 11:20:51

标签: android android-spinner

我在我的应用程序中使用下拉式微调器。我正在尝试用自定义颜色替换主要选定单元格的蓝色。任何提示如何进行相同的操作?这是我对下拉微调器的代码:

<TextView xmlns:android="http://schemas.android.com/apk/res/android"

        android:id="@+id/item"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:ellipsize="end"
        foo:customFont="Roboto-Regular.ttf"
        android:paddingLeft="18dp"
        android:paddingTop="10dp"
        android:background="@drawable/manage_market_category_btnbg"
        android:singleLine="true"
        android:textSize="16sp" 
        android:textColor="@color/white"/>

调用旋转器单元格。

1 个答案:

答案 0 :(得分:0)

尝试以下代码:http://android-holo-colors.com/用于微调器:)