Android
-
How Android studio uses AAR
I brief introduction AAR is a file format similar to jar. But there are differences between them. Jar: contains only c…… -
Detailed explanation of Android APK optimization tool zialign
The Android SDK includes a new tool ziphalign for optimizing APK. It improves the interaction efficiency between the o…… -
Implementation method for Android to obtain local IP address and MAC physical address
Get native IP address Get the physical address of this machine The above is the method for Android to obtain mobile ph…… -
Click the Android simulation switch button to open the animation (translation animation of attribute animation)
In Android, some cool animations are really attractive. They are pleasing to the eye. A good-looking animation may imp…… -
Explanation of Android dialog using examples
Dialog boxdialog What is a dialog box Dialog box is a small window that pops up on the current page. It is used to dis…… -
Android progress bar component ProgressBar
The first is main XML file The code is as follows: Then write activity Java class The code is as follows: Operation ef…… -
Detailed explanation of Android multithreading
handler. In fact, post (R) does not start a new thread. It just executes the run () method in runnable, but does not e…… -
The behavior of material design series realizes the home page of Android
The purpose of this blog is to simulate the animation of hiding toolbar, flocationactionbutton and tab navigation when…… -
Android touch event explanation and sample code
Event triggered by touch Android events: onclick, onscroll, onfling, etc. are composed of many touch. The first state …… -
Android imitation iPhone list data view refresh animation details
Because I like to add some interesting animation when jumping between different pages. Today, I inadvertently see an a…… -
Summary of simple use of WebView in Android Development
preface WebView is used to display web pages in andorid. Let's take a look at how it is used. 1、 Basic use 1. Declare…… -
Recyclerview adapter auxiliary class details and sample code
What is it? Baserecyclerviewadapterhelper is a powerful and flexible recyclerviewadapter What can you do design sketch…… -
Android realizes dynamic expansion and contraction of landing page logo with keyboard retraction and retraction (perfectly solves the problem of keyboard pop-up blocking controls)
In two recent projects, the project requirements require us to realize / * the content of the login page can be pushed…… -
Solution to key problem of Android settag method
When Android designs the view class, in order to store some auxiliary information, it designs a settag / gettag method…… -
Android image color processing example code
Imitate Meitu XiuXiu, move the mouse to adjust seekbar and adjust the color of the picture The project layout is as fo…… -
Android dialog full explanation and sample code
Activities provides a dialog box mechanism for creating, saving and replying that is convenient for management, such a…… -
Android news interface simulates the application of listview and viewpager
Simulate the interface of news app 1) Write layout before writing listview: There are two layouts of items: The first …… -
Detailed explanation of code confusion examples in Android App
Receive a new task to code confuse the existing project. I have some understanding of confusion before, but it is not …… -
Detailed explanation of five layout modes of Android
The five layout methods commonly used in Android are as follows: Linear layout: components laid out vertically or hori…… -
Android custom actionprovider toolbar implements menu red dots
Today's goals: 1 Custom actionprovider 2 Toolbar actionbar custom menu 3 Add a corner sign to the menu on the right si…… -
Several common methods of Android adapter
Several common methods of Android adapter are shared with you. The specific contents are as follows 1. When did the li…… -
Android calls the system camera to take photos and record videos
This paper implements the call of Android system camera to take photos The layout of the project is quite simple, with…… -
Android recyclerview data binding instance code
preface In the last project, there were a lot of recyclerviews, and then I needed to write a lot of adapters and viewh…… -
Three lines of Android code to achieve smooth switching between day and night modes
Usage xml android:background= ? Attr / zzbackground app: backgroundattr = zzbackground / / if the current page needs t…… -
Detailed explanation and example code of Android listview and adapter
A listview usually has two responsibilities. (1) Populates the layout with data. (2) Handle user selection, click and …… -
Detailed explanation of the correct posture of Android screen lock pop-up window demo
In the last article, I introduced the function of pop-up window under the screen of imitation QQ lock for Android prog…… -
Android QQ login interface drawing code
First look at the renderings: First, several problems encountered in the process: 1. Customize the background of EditT…… -
Explain in detail the use of URL schema for Android business componentization
preface: Recently, the company's business has developed rapidly, and a single project is no longer suitable for the co…… -
Method of making round head portrait using circleimageview and cardview in Android
Round avatars are very common in our daily apps because they are more beautiful The method of using circular pictures …… -
Android listview universal adapter instance code
Listview is the most commonly used control in development, but it will always write duplicate code, which is a waste o…… -
Android sensor — detailed explanation and use of light sensor
Android devices have many sensors, one of which controls the brightness of your screen. When you use your phone in a d…… -
Code implementation of navigation effect at the bottom of Android imitation wechat page
When referring to the local code, you should modify it appropriately according to your needs. There are redundant code……