04 RealetiveLayout layout --- [Whistling Android Development Video] And androidlayout Layout
Today is the fourth lesson, mainly explaining the realativelayout layout in Android.
This layout is frequently used. In addition to the basic usage of realativelayout layout, this article also introduces how to use realativeLayout to design a clever floating window.
Playback address:
Click Open Link
For Android videos on whistling:
The biggest feature of this video set is its practicality. I have carefully considered what to say and what to say. There are no imaginary eight-brainers, no lengthy things. Everything is simple, clear, and thorough.
When Android is relatively deployed, android: layout_below is at the bottom of an element. android: layout_abve is at the top of an element.
When the border layout file in android is displayed, the following prompt is displayed. The prompt disappears. You can delete a few characters and enter android again.
Simple layout problems in android Development
Delete the attributes of the RelativeLayout layout of the outermost layer.
Android: paddingBottom = "@ dimen/activity_vertical_margin"
Android: paddingLeft = "@ dimen/activity_horizontal_margin"
Android: paddingRight = "@ dimen/activity_horizontal_margin"
Android: paddingTop = "@ dimen/activity_vertical_margin"