Android
-
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…… -
Use bitmapshader in Android to make a round head with its own border
The effects are as follows: A brief introduction to bitmapshader What shaders are, what kinds of shaders are there and…… -
Implementation of calender code for Android Custom Calendar
The product needs a check-in function. The check-in function is based on a calendar, so a calendar is customized accor…… -
Android uses addview to dynamically add components
In project development, we often need to add components dynamically. There are two parts that can be added: layout and…… -
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…… -
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…… -
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…… -
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 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…… -
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…… -
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 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 five layout modes of Android
The five layout methods commonly used in Android are as follows: Linear layout: components laid out vertically or hori…… -
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 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…… -
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 …… -
Precautions for Android application permission
Apply for permission for Android programs note Android system provider provides permission application, that is, use u…… -
Share a special way for Android to set up circular pictures
Cardview and ImageView display circular rendering: When I was just looking at the knowledge points of the custom view,…… -
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…… -
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…… -
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…… -
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…… -
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 …… -
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…… -
Detailed explanation and examples of Android confusion code
In order to prevent others from stealing their own labor achievements and effectively prevent the obfuscated code from…… -
Android QQ new user registration interface drawing
First look at the renderings: Question: 1. Drop down list (because I haven't seen it yet...) 2. Title bar display prob…… -
Detailed explanation of Android activity stack and management examples
This example demonstrates how to change the order of existing activities in the current task stack by setting the flag…… -
Detailed explanation of Android draw9patch picture production and use
Android draw9patch image production and use Understand the following four sentences: Let me take six pictures as examp…… -
Examples of four common dialog boxes in Android
1. Dialog notification When your application needs to display a progress bar or the user needs to confirm the informat…… -
Android custom titleview Title Development example
In the process of Android development, we often encounter a project that needs to repeatedly define the title bar of t…… -
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……
