The effect of a very gorgeous imitation desktop app

Source: Internet
Author: User

Are the students who are developing Android apps obsessed with the brilliant effects of launcher's implementation? What, even Android launcher doesn't know anything. OK, pick up Lennon's mobile phone, after unlocking the first page of the interface on the sliding sliding, experience experience, this is launcher.

Launcher is actually an app, but it's a system-level one. Although each Android handset manufacturer to launcher the degree of customization is higher, but in order to avoid the user to use the confusion, launcher's operation and the function basically are similar. The following is a brief introduction to several common features of the launcher desktop.

1. Display the app icon and name in Split screen

2, the app icon can be dragged in the current screen, slightly cool can be dragged across the screen

3, in the process of the transfer of Exchange position, a series of beautiful displacement animation

4, after dragging the end, Lancher will remember the location of the rearranged

5, the app icon can be deleted, after deletion, the following picture will be shifted forward in turn past

6, horizontal sliding launcher to cut the screen, the background picture will be linked up

Summary finished, introduction so much, are for today's dry goods to do foil. Today's full dry goods, heavy weight, heavy pressure on my day is not idle, just to squeeze out the implementation of the time code. Below is a description of the advantages of today's dry goods relative to the native launcher.

1, the number of screen can be unlimited expansion, can be a screen, also can be 10 screen, but also not for oom trouble, sliding is quite smooth

Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

2, each item of the icon can be two pictures, a normal state display, a press state reality

3, dynamically set the number of rows and columns per screen, the sample code uses 4 rows 2 columns, and automatically calculates the width and height of the item

4, dynamically set the total number of container item, according to the number of rows, automatic calculation of pages

5, long Press can enter edit mode, click can delete item, add item is quite simple and convenient.

Below look at the static effect, want to play a classmate please go to GitHub download installation

Today, the code is not posted, the source notes written in detail, I believe that reading should have no difficulties. For those who like to study the effects of Android and the business of the students, I believe that today's dry goods will help pretty big. In order to effect the beautiful, I a the last owner of a few pictures, I hope we do not commercial, only for the exchange of learning.

Code Address: Https://github.com/JackCho/AndroidLauncher

Author: cnblogs Jackcho

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.