开发者

Custom Android Layouts

I have an upcoming project that requires me to make a custom layout. I have been looking all over for a way to complete this but with no success. The layout will have custom buttons that need to fit the screen and some other custom views. In other words I need it to look the same on all types of devices. So these custom views need to stretch to fit the screens. Something similar to the weather bug app but the buttons will be at the top and there won't be so many options开发者_StackOverflow中文版. The buttons will fit the screen width wise. Basically the layout will not contain any stock UI.

I would like to have a book or tutorial that I could follow to help me out here.


check out this blog: http://blog.stylingandroid.com/

there are a lot of good examples for every kind of layout manager in Android.

Furthermore I strongly recommend to you to have a look in the Android's API Demo and source code.

For creating custom view, that's the best resource: http://developer.android.com/guide/topics/ui/custom-components.html

good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜