0
大丈夫Androidでタブをクリックしたときに表示されるオレンジ色を変更する方法をお探しです。TabView 検索バーの周りのオレンジ色の境界線の色を変更します... anyideasそのようなことをする方法?TabViewのデフォルトの色と検索バーのデフォルトの色を変更する
は私のメインタブの表示
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<FrameLayout
android:id="@android:id/tabcontent"
android:background="@drawable/gradient_bg"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
のthatsと私は私の検索バー
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/searchText"
android:hint="@string/Search"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<ImageButton
android:id="@+id/searchButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/Search"
android:src="@drawable/search"
android:onClick="search"/>
</LinearLayout>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="#b5b5b5"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_selector" />
任意のアイデアがためにこれを持っています? ありがとう、すべてのurヘルプ!
さて、あなたはどこでそれを使っているのでしょうか?私は使用できるタブのテーマを持っていますか? HOLOはアンドロイド2.1のために存在しません – FirstLaw
プラス私はあなたが何かを選択すると背景と迷惑オレンジの色を変更したい... – FirstLaw
これは右のアンドロイドのバージョンのためですが、すべてのあなたの助けをありがとう、私は最終的にそれを並べ替えることができました。別のやり方で – FirstLaw