Do the students who develop Android apps are obsessed with the brilliant effects of launcher? What the. Even Android launcher is not aware of anything. All right, pick up Lennon's cell phone. Swipe left or right on the first page after unlocking, experience, this is launcher.
Launcher is actually an app, but someone else is a system-level. Despite the high level of customization to launcher by the various Android handset makers, it is necessary to avoid user confusion. The operation and functions of the launcher are almost identical.
Below is a brief introduction to several common features of the launcher desktop.
1. Split screen display app icon and name
2, the app icon can be dragged in the current screen, slightly better able to drag across the screen
3, in the drag process exchange position, there is a series of beautiful displacement animation
4, after the end of the drag. Lancher will remember the position of another arrangement.
5, the app icon can be deleted. After deletion, the subsequent image will be shifted forward in succession to the past
6, transverse sliding launcher for cutting screen, the background image will be linked together
The summary is complete, so much is introduced. It's all for today's dry goods to foil. Today's dry goods, heavy weight. Heavy pressure I can not spare a day, just to squeeze out the time to organize the implementation of the Code. The following is an introduction to the advantages of dry goods today in relation to native launcher.
1, the number of split-screen can be unlimited expansion. can be a screen. Also can be 10 screen, at the same time do not have to worry about Oom. And the slide is pretty smooth.
2, each item 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 Demo sample code uses 4 rows and 2 columns, and actively calculates the width and height of the item
4, dynamically set the total number of container, according to the number of rows, the active calculation of pages
5, long Press to enter the editing mode. You can delete item by clicking on it, and adding item is quite simple and convenient.
The following look at the delicate effect, want to play with a classmate please go to GitHub download installation
The code is not posted today. The gaze of the source code is written very concretely. I believe there should be no difficulty in reading.
For those who like to study the effects of Android and business students have such needs, believe that today's dry goods will help pretty big.
For the sake of the appearance of the effect, I have a few pictures of the last owner. I hope we do not commercial. For learning and communication purposes only.
Code Address: Https://github.com/JackCho/AndroidLauncher
If you think it's helpful, you're welcome to subscribe to my public account-Android dry Sharing (Id:android_share). The following is the QR code. To provide you with timely high-quality Android dry. Technical Exchange QQ Group: 318588906, welcome everyone to add a group, together to explore the next Android and Java technology, together to expand our dry sharing community.
A very gorgeous imitation desktop app, but it's worth launcher