multi screen support application in Android
I am new to Android and I have developed one application with tab bar at bottom and with multiple activ开发者_StackOverflow中文版ity in every tab. Now I am facing screen resolution problem. I want to make my application comfortable with every resolution. I have some activity with few text boxes and buttons at particular position. How can I create layout file that fit every screen properly? If anyone can provide me example of xml file it would be very helping. I have gone through http://developer.android.com/guide/practices/screens_support.html link but can't get any help.
In xml you can find LinearLayout and it has id and for layout width which will be fill_parent or wrap_content where fill_parent will allowing device to use fullwidth and wrap_content will use fixed width of content set layout attributes to
layout_width:FILL_PARENT
layout_height:WRAP_CONTENT
hope this works for you..
精彩评论