Android linear layout achieves chat bubbles + diversified layer effects, android linear Layout

Source: Internet
Author: User

Android linear layout achieves chat bubbles + diversified layer effects, android linear Layout

Android linear layout achieves chat bubbles + diversified Layers

Supported platforms: Android runtime environment: Eclipse development language: Java

:Http://www.devstore.cn/code/info/222.html 

Source code Introduction
This Demo uses the LinearLayout linear layout combination, and the outer layer is ScrollView to realize the chat bubble + A different layout (that is, add a diversified layer above the chat bubble-similar to the ListView effect ), creates and deletes the Q & A view. For details, see the tool class. Click the question view to delete the view ).

Source code running


Display multiple layers in the CAD Layout

The layout allows multiple views, and each view can point to a different part of the model.
In addition, you can create a polygon view using the "View" toolbar, which is very diverse. You can also set a hidden layer for each view. Generally, you can use "View"> "View" to add a view. The view above the overlapping view will overwrite the following view.
There are several things to be aware of. Sometimes a single view contains another small one. When you want to enter a small view, you will find that it is a large one, in this case, you need to remove the small view from the large view first, and then move it back after editing. The view can be copied and other operations to give a simple figure.





Related Article

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.