Absolute layout of Android layout detailed explanation of absolutelayout

This example shares the specific code of Android absolute layout for your reference. The specific contents are as follows

1> Absolute layout

It can also be called coordinate layout, which can directly specify the absolute position (XY) of child elements

2> Due to the large difference in the screen size of mobile phones

The adaptability of using absolute positioning will be poor, and there are defects in the adaptation of the screen

3> Properties of the absolutelayout subclass control

android:layout_ X = "35dip" controls the x position of the current subclass control Android: Layout_ Y = "40DIP" controls the Y position of the current subclass control

Not recommended in development

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>