MotionLayout teaches you to play animation easily

Rouseneed to finish reading15 minuteSpeed ​​reading in just 5 minutesIf you don't know MotionLayout yet, or you know it but have never actually used it, then here will take you to fully experience the magic, simplicity and efficiency of MotionLayout.I believe that you will be reluctant to part with it after you do animation.Through this ar ...

Posted by jonah on Tue, 14 Feb 2023 06:41:55 +0300

Build Android common layout interface

1. Experimental tasks (1) Mastering writing layouts in XML files and Java code (2) Mastering common layouts: relative layout, linear layout, frame layout and table layout 2. Experiment content 1. Write layouts in XML files and in Java code 2. Build a common layout (1) Relative layout (2) Linear layout (3) Frame layout (4) Table layout ...

Posted by fareasd on Sat, 10 Sep 2022 23:03:12 +0300

B0-52-16-7b-f6-b3 05 initial experience of Android Development (Experimental Project II)

preface Android is a free and open source operating system based on Linux. The application layer is mainly written in Java language. Because I learned some Java last semester, I have a certain foundation, but there are some differences between Android application development and Java GUI programming. The first is the construction of the ...

Posted by weknowtheworld on Thu, 05 May 2022 04:23:38 +0300

8-3 Play Music and Video

1. Play music 1. Use MediaPlayer to play music Playing audio files in Android is generally implemented using the MediaPlayer class, which provides a very comprehensive control method for audio files in multiple formats, so that the work of playing music becomes very simple. Some of the more commonly used control methods in the MediaPlaye ...

Posted by snoopgreen on Mon, 02 May 2022 18:47:42 +0300

The usage of Android Notification when sending message notification is compatible with the download of high and low version demo

catalogue   preface 1, Basic notice implementation steps 1. Create a notification channel and set the importance (this 8.0 and above must be set before notification can be provided) 2. Set click notification jump activity 3. Create notification and set icon 4. Display notification 2, Implementation steps of message notification (using ...

Posted by JimStrosky on Sat, 30 Apr 2022 18:07:35 +0300

Advanced skills of Android -- Summary of ContentProvider

1. Applicable scenarios ContentProvider provides a unified interface for storing and reading dataUsing ContentProvider, applications can share dataMany of the built-in data in android are in the form of ContentProvider for developers to call (such as video, audio, pictures, address book, etc.) There are benefits at the end of the article!!! ...

Posted by joukar on Mon, 11 Apr 2022 11:02:07 +0300

Android advanced technology sharing -- practical part of customized View series - ViewGroup (including customized View treasure map)

Customizing the ViewGroup is actually not complicated, but it needs some effort to support the margin attribute of the child View. I have written a custom FlowLayout to support the padding attribute of my own as well as the margin attribute of the child View. The basic comments have been written in the code in as much detail as possible. Effe ...

Posted by bouton on Sat, 09 Apr 2022 05:24:03 +0300

Custom View series of advanced Android skills (drawing process)

preface This paper aims to make readers have a perceptual understanding of the whole drawing process - what kind of process a diagram goes through and finally shows it to users. Before explaining the process, we need to have a model Explanation: the picture we draw is that after the Paint (brush) acts on the Canvas (drawing board), the dra ...

Posted by xerodefect on Fri, 08 Apr 2022 12:08:12 +0300

Android 10 source code development customization (30) screensap command source code analysis

1, Introduction to screencap command   The screencap command in Android is a screenshot command. The following is a help description for this command: The screen shot can be executed through adb shell command at the terminal, and the current screen can be saved as png picture. As follows:   If the command does not have the - p paramete ...

Posted by breckenridge on Wed, 06 Apr 2022 01:56:19 +0300