How to use combination of Layouts to get widgets at desired position
we are confused with designing interface file for android,we have made user interface with Absolute layout and used "dip" instead of "px" (for different screen size issue) ,but it looks like,Absolute layout has been depreciated,and developer.android, recommends not to use Absolute layout
So other option we have is to use 1.Linear layout 2.Frame layout 3.Table Layout But we are unable to bring Combina开发者_JAVA技巧tion of above layouts so,that we can make button/widgets to proper position we need How do we make widgets to desired position of screen with above said layouts and making them compatible with different screen sizes we have in android devices would like to get a generic answer about same,
Tools used are: DrawDroid
The best layout to use if you were considering an AbsoluteLayout
is a RelativeLayout
.
Check out the Android Common Layout Objects page and its explanation of how to use a RelativeLayout.
Without more information on what you are trying to do, expanding this answer anymore is useless.
精彩评论