0

I use ActionBarCompat (So my Action Bar works on API 8 and above.) And I also use this so I can have split Action Bar.

android:uiOptions="splitActionBarWhenNarrow"

Now I have all my actions in the bottom, but I want to take the search-action and put it up on the right corner.

enter image description here

I have tried to Google this, but I don't find any solutions to this. (Every link seems to be old).

Thank you so much.

DMT82
  • 871
  • 2
  • 14
  • 32

1 Answers1

1

It is not possible. Look here

As suggest here you can just use a workaround for this issue.

Community
  • 1
  • 1
GVillani82
  • 17,196
  • 30
  • 105
  • 172
  • Okey, thank you. Cuz it didnt work with the : _____________________________________________________________________________________ ActionBar actionBar = getActionBar(); actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); View view = View.inflate(getApplicationContext(), R.layout.actionbar, null); actionBar.setCustomView(view); – DMT82 Oct 13 '13 at 22:54