Android Layout---frame Layout

Source: Internet
Author: User
<span id="Label3"></p><p><p>Frame layout, rarely used in development, simplest layout</p></p><pre><pre><br>Add multiple controls that overlap in order in the Upper-left corner of the screen and transparently display the text of the previous control<br>Syntax format:<br><span style="font-size: 15px;"><?xml version= "1.0" encoding= "utf-8"?></span><br><span style="font-size: 15px;"><framelayout xmlns:android= "http://schemas.android.com/apk/res/android"</span><br><span style="font-size: 15px;"> android:orientation= "vertical" android:layout_width= "match_parent"</span><br><span style="font-size: 15px;"> android:layout_height= "match_parent" ><br><br><Widgets><br>...<br></Widgets></span><br><br><span style="font-size: 15px;"></FrameLayout></span><br><br><br>Example<br><br></pre></pre><pre><pre><?xml version= "1.0" encoding= "utf-8"?><br><framelayout xmlns:android= "http://schemas.android.com/apk/res/android"<br> android:layout_width= "match_parent" android:layout_height= "match_parent" ><br><br> <button<br> Android:id= "@+id/fbtn1"<br> Android:layout_width= "wrap_content"<br> android:layout_height= "wrap_content"<br> android:text= "Button12"/><br><br> <button<br> Android:id= "@+id/fbtn2"<br> Android:layout_width= "wrap_content"<br> android:layout_height= "wrap_content"<br> android:text= "Button2"/><br><br></FrameLayout><br><br></pre></pre><p><p></p></p><pre><pre></pre></pre><pre><pre>  </pre></pre><p><p>Android Layout---frame Layout</p></p></span>

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.