[Sugar-devel] Android ActionBar and Activity Toolbar

Daniel Narvaez dwnarvaez at gmail.com
Sun Jul 28 15:45:51 EDT 2013


On 26 July 2013 17:15, Manuel Quiñones <manuq at laptop.org> wrote:

> Andrew pointed me to the Android ActionBar:
>
> - http://developer.android.com/guide/topics/ui/actionbar.html
> - http://developer.android.com/design/patterns/actionbar.html
>
> It is pretty standard on Android apps, and gives consistency between
> them.  For Sugar activities running on Android, we should aim to keep
> that consistency.  And according to their documentation, it is one of
> the most important design elements that developers can implement.
>
> The good news is that the ActionBar really is very similar to our
> Activity Toolbar:
>
> - has the app icon on the left
> - tends to have icon-only buttons
> - has a drop-down menu
>
> Next to the App Icon, the bar can have a View Control, to switch
> views.  Sugar activities don't usually have different views, so we can
> ignore this difference.
>
> The drop-down menu is for the buttons that overflow, and for less
> often used buttons.  We have the first in GTK, not the second.
>
> Android also have split action bars, which is very interesting for a
> solution to the design issue we were bumping with in GTK: toolbars
> whose elements don't fit in portrait mode.
>
> So the question is: what kind of consistency will we favor?
>
> - consistency between sugar activities and other android apps?
> - consistency between sugar activities in any platform?
> - or can we find something in between?
>
> To make sugar activities more like other Android apps, we could
> programmatically replace the HTML toolbar with an Android ActionBar.
> But then we'll lose Sugar palettes and the Sugar theme.  Or we'll have
> to implement the Sugar theme on Android.
>
> After all this considerations I conclude that we should make the HTML
> toolbar imitate the ActionBar in style and behaviour.
>

You mean we should do that cross-platform or just when running on Android?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130728/6519b105/attachment.html>


More information about the Sugar-devel mailing list