Android
-
Detailed explanation of layoutinflator example for Android layout loading
preface When creating the interface, the activity needs to load the contents in the XML layout file. Just as we need t…… -
Android realizes picture click preview effect (zoom animation)
reference resources: https://developer.android.google.cn/training/animation/zoom.html 1. Create views The following la…… -
Detailed explanation of automatic line feed in text drawing with staticlayout in Android
preface Using canvas's DrawText to draw text will not wrap automatically. Even if a very long string is used, DrawText…… -
Implementation code of Android sharing function
Implementation code of Android sharing function In an activity, take out all activities that support sharing actions i…… -
Detailed explanation of manifest.xml file in Android
Detailed explanation of manifest.xml file in Android Each Android project contains a manifest file, androidmanifest.xm…… -
Method and process of Android custom view drawing (2)
The last "Introduction to Android custom view (I) paint, rect and canvas" talked about the most basic how to customize…… -
Android suspended window shields the instance code of all click events outside the suspended window
Android can add a view above all applications, that is, add a view to WindowManager. When creating a view, you can set…… -
Detailed examples of interaction and intermodulation methods between WebView and JS in Android
Detailed examples of interaction and intermodulation methods between WebView and JS in Android preface: For the functi…… -
Android custom control imitation QQ drawer effect
In fact, there are many similar implementations on the Internet, and the principle is not difficult, but there are som…… -
Android caused by: java.lang.classnotfoundexception solution
Android caused by: java.lang.classnotfoundexception solution Problem: 08-13 18:29:22.924: E/AndroidRuntime(1875): Caus…… -
Summary of Android file reading and writing operation methods
Summary of Android file reading and writing operation methods Files in Android are placed in different locations, and …… -
Round and rounded ImageView of Android custom controls
1、 What's the problem? The problem comes from a very common scenario in app development - the user's Avatar should be…… -
Android GridView animation effect implementation code
Android GridView for animation For some animations used in the project, the items of GridView fly into the correspondi…… -
Android custom view imitation IOS disk time selector
Realize the effect of point selection time at both ends of sliding by imitating IOS through custom view design sketch …… -
Android settings transparent status bar and transparent navigation bar
The Android transparent status bar is only available after 4.4. Add the following lines of code to the code The above …… -
Android: java.lang.noclassdeffounderror… Error resolution
Today, the test suddenly told me that the XX interface I wrote would crash at the slightest app! Nani, I must disagree…… -
Android imitation short book length generates picture effect by article
preface Students who use Jianshu app know that Jianshu has such a function; When you press the page length of the arti…… -
Android realizes the effect that the top fixed middle part moves up when the pop-up input method is used
preface Recently, I encountered a problem when working on a project. In the feedback, the submit button is written to …… -
Android custom controls to achieve universal dialog box
Custom controls haven't been updated for some time. Today we bring you a new dialog style to realize richer functions …… -
Android imitation Moby bike sharing bike progress bar to achieve stepview effect
Look at the renderings first: Step1: define stepbean Define five statuses: completed, in progress, completed, end poin…… -
Detailed explanation and example of Android network HTML source code viewer
Detailed explanation and example of Android network HTML source code viewer Understanding of data transmission of IO b…… -
Explain in detail the usage of stretchcolumns and shrinkcolumns in Android tablelayout
Explain in detail the usage of stretchcolumns and shrinkcolumns in tablelayout in Android Android: stretchcolumns = "1…… -
The horizontal and vertical screen switching of activity in Android
What needs to be explained before the explanation is Sets the orientation of the screen brief introduction Official we…… -
Android implementation of sending SMS verification code countdown function example
1、 Introduction: In the development of functions such as user registration or password retrieval, it is often encount…… -
Picasso source code analysis of Android image loading tool
After seeing this, I believe you are familiar with the use of Picasso. This blog will start with the basic usage and g…… -
Android takes photos and displays pictures
This example shares the specific code of Android photographing and picture display for your reference. The specific co…… -
Simple code for Android download tool
Downloading should be a necessary function of every app. If we don't use a third-party framework, we need to implement…… -
Several methods of realizing full screen display on Android
Several methods of realizing full screen display on Android A. Set theme to achieve full screen Set the activity theme…… -
Android uses viewpager for navigation
First, understand that the effect of viewpager is to slide the view left and right. The declaration of viewpager in XM…… -
Android custom textview realizes automatic font size adjustment of text content
Recently made contact name display on small screen of address book -- the font becomes smaller when the length exceeds…… -
Android gets the status of monitoring SD card
Project introduction: This item monitors the SD card status Details: After the application is deployed, when the SD ca…… -
Picasso basic usage of Android image loading tool
Today, let's learn about Picasso. The plan includes the following aspects: Picasso advanced image loading tool Picasso……