sorry if question sounds stupid, new android , need help. have 2 menu items
<item android:id="@+id/submenu11" android:title="newest" android:icon="@android:drawable/radiobutton_off_background" /> <item android:id="@+id/submenu12" android:title="oldest" android:icon="@android:drawable/radiobutton_off_background"/>
they use radio button icon, when launch app grey circle- unlike supposed like. how add theme, or color these icons not grey circles , more radio buttons? in advance, help
of question, used radio_off icon, if want set radio button menu, should create custom button on it,like this:
<item android:id="@+id/action_navigate_search" android:icon="@drawable/ic_search_white" android:orderincategory="1" android:title="@string/search" app:actionviewclass="android.support.v7.widget.searchview" app:showasaction="ifroom|collapseactionview"/>
you can use "actionviewclass" set custom view, of want, there can write android.widget.radiobutton
Comments
Post a Comment