Now let's briefly introduce the technical points:
1. How to use fillet input box and button background
2. How to realize the vertical line behind "mobile number" and "password"
3. How to nest the layout of input boxes
4. How to listen to the input events of the input box and the dyna ...
Posted on Wed, 17 Jun 2020 22:12:59 -0400 by robinjohn
Previous This paper explains the initialization steps of custom control, and the width and height measurement of custom control.
Override onMeasure method
We get the relevant parameters from the layout file. Now we need to measure the width and height of this control. Rewrite the following method.
Posted on Wed, 17 Jun 2020 02:06:34 -0400 by AtomicRax
The author of the original text: a detailed account of the past and the future
Article link: link
What is Bootchart
What is it in Android
Google translation in Chinese
There is only one truth!
What is Bootchart
Bootchart is an open source softwa ...
Posted on Tue, 16 Jun 2020 22:35:13 -0400 by pointsplat
ListView is a very common part of Android development, and it is used in all kinds of APP, whether it is QQ's chat list or WeChat's official account list.
In practice, we have encountered such a problem:
Maybe I want the ListView to be nested in the ScrollView, and there are many o ...
Posted on Mon, 15 Jun 2020 23:50:55 -0400 by someone2088
1. Call a third-party application to determine if it is installed
pname is the Android application package name, action is the URL Scheme when ios is called, returns boolean
2. Determine if the current device is Android or ios
Posted on Mon, 15 Jun 2020 21:47:00 -0400 by jeet_0077
This article draws a window according to the previous analysis and implements it with the pure native API. The native API here is not ndk, but a native layer function, which needs to be implemented in the AOSP compilation environment.
First, create the drawWindowTest test directory in the / frameworks/n ...
Posted on Mon, 15 Jun 2020 01:58:37 -0400 by akumakeenta
Step 1: import static code block into so Library
Step 2: write external functions
public native String getString(); //native stands for c\c + + implementation
Step 3: generate function header with javah
Enter the src/main/java directory of the pr ...
Posted on Mon, 15 Jun 2020 00:41:14 -0400 by TropicalBeach
Five or six years in a flash, time is running out, can't help exclamating: once geometrically, when we were obsessed with the framework, we had to find a framework for whatever we need. After a while, we found many problems, and sometimes we had to use it. Should we be left and right by others?The answer is No, or try to improve your ar ...
Posted on Sun, 14 Jun 2020 12:44:30 -0400 by szym9341
Android architecture components – ViewBinding learning notes
1. Problems solved
The purpose of ViewBinding is to reduce the use of template code findViewById(int), improve development efficiency, and simplify the code of Activity and Fragment.
2. Using ViewBinding
The use of ViewBinding req ...
Posted on Sun, 14 Jun 2020 04:40:48 -0400 by Wes1890
Android system startup process 1 -- analyze init process startup process
zygote process startup process
In Android system, all application processes and system service processes system server are generated by the zygote process, which may be why we call it zygote. Because zygote ...
Posted on Fri, 12 Jun 2020 05:43:17 -0400 by bmarinho