0

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.

andygeers
  • 6,909
  • 9
  • 49
  • 63

1 Answers1

1

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) .

penkzhou
  • 1,200
  • 13
  • 30
  • I'll accept this answer, since you persuaded me to give in and use ActionBarSherlock. I checked out this Google one but I need API v6, not 7 (and I couldn't get it to work, anyway) – andygeers Feb 25 '14 at 09:30
  • Thanks.In my opinion,the phone using API v6 is very rare and Google's code may make the app more smooth. – penkzhou Feb 25 '14 at 12:37