04 RealetiveLayout layout --- [Whistling Android Development Video] And androidlayout Layout

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.