Android UI examples [closed]

2020-05-14 04:30发布

问题:

I am new with Android UI and I am looking for some resources about best practices to design a UI (examples of UI elements, tutorials, etc.)

I've been looking in Google or http://developer.android.com/resources/tutorials but there is nothing helpful at all.

Can anyone provide me some resources/links ?

回答1:

There is actually a nice web which explains the most usable UI Design patters used by many apps already: http://www.androidpatterns.com/



回答2:

If you have no experience with Android UI but you know a little Java already, maybe this is something for you:

SimpleUi ( https://github.com/bitstars/SimpleUi )

The generated UI (code below):

The complete code to create this Android UI:

I use it in real applications, not only for fast prototyping or dialogs and its well tested over the years. The concept is based on the model view control principle and for most common scenarios there are ready to use components which automatically look correct on any device. I don't say it should be used for any UI (e.g. listviews should be done by hand) but for most usecases this should be quite handy ;) Oh and feel free to fork it and improve it further if you want



回答3:

UI Patterns, shown on the Twitter app, but they're common on Android in general:

http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html

http://www.androiduipatterns.com/

Depending which pattern you want to implement, there are open source projects/samples out there, i.e. for the Quick Contact Bar, etc.



回答4:

Check anddev.. normally there are nice examples of UI elements. Also some nice tutorials at mobiforge 1 and 2.