Android-satellite-menu Implementation Click the Main button, will pop up a plurality of buttons arranged around the main button, thus forming a satellite pop-up menu. The animation of the child buttons popping up and disappearing is great. This pop-up menu button is applied in Path2.0. Usage in your V Add a component definition to the Iew XML, as shown in the
An overview:
Recently has been committed to the Android custom view learning, mainly in the "Android Heroes biography", as well as Csdn blog, the great God and wing of the great God of some articles, wrote in detail, his whim, learned to write a similar satellite effect to achieve a custom view, Share to the blog, look at you pointing twos. Write more rough, for
First, the preface
Android implementation of the satellite menu is also called the Arc menu, the main work to do is as follows:
1. The processing of animation
2. Custom ViewGroup to implement the satellite menu view
(1) Custom properties
A. Defining properties in Attrs.xml
B. Using custom attributes in a layout
C. Reading custom attributes from View a layo
Anyone who has ever used path should know that there is a very interesting menu at the bottom left of the path main interface. The menu consists of a main button, and when the user taps the button, a series of buttons pops up, and satellite menu is an open-source version of it.For satellite menu, its project sponsor, Siyamed, said the menu structure was like a planet surrounded by many satellites, which is
Problem descriptionHow does the range Finder (distance) tool in the Smart Tools tool measure distances when you download the ranging software from the Android system phone? It uses the camera ranging, alignment to measure the object and so on can get the distance, the principle of the camera ranging is what ah? Can I get any parameters from the camera or use some sensors or something? Please master the Grea
When developing and customizing the Android system, it often discourages a lot of source code. To search for a keyword, using the IDE to build a project takes some time, we can use this tool to easily find the source content, to find the development ideas:Specify the filename suffix, location, and other parameters of the searchSpecify Search ContentSpecify Search FieldsSpecify field valuesSpecify additional search PropertiesSave search results as HTML
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.