Вопрос

I have an app with various screens where the user sets up data then presses 'Done' to confirm. On Honeycomb upwards I have an ActionBar button for the confirmation, but this doesn't exist in Gingerbread etc. Does anybody have any suggestions for an easy way to implement a 'Done' button / what the typical UI for this is?

I can't use the 'Done' button on the keyboard since they're multiline edits which need to show the enter key where the done button would otherwise go.

I'd prefer to avoid adding the overhead of ActionBarSherlock if there's a simpler way.

Это было полезно?

Решение

You should try ActionBarActivity which makes actionbar available on devices up API 7. This guide will tell you how to use actionbar(up API 7) .

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top