Android
-
Detailed explanation of attribute animation of Android source code analysis
preface We can't do without animation in our daily development. Attribute animation is more powerful. We should not on…… -
Judge whether the screen is on and whether to unlock the function in Android
1. Whether the screen is on: 2. Whether the screen is unlocked: The current screen lock has five settings: no screen l…… -
Setting of focus color when Android handles onitemclicklistener
Setting of focus color when Android handles onitemclicklistener When we use onitemclicklistener to change the item to …… -
Example of home key listening and interception in Android
First of all, you should understand a situation first, that is, Android cannot intercept the home key in applications.…… -
Android folding toolbar uses full parsing (collapsingtoolbarlayout)
brief introduction In various applications, you may often see such an effect: the toolbar is transparent, with a backg…… -
Android uses viewpager to realize left-right circular sliding and rotation effect
Viewpager is a commonly used Android component, but usually when we use viewpager, we can't realize left-right infinit…… -
Five common memory leaks in Android development and their solutions
An object in Android is no longer needed, but other objects still hold its reference, so it cannot be recycled, result…… -
Example of sending messages using eventbus for Android
1、 Overview Eventbus is a publish / subscribe event bus optimized for Android. The main function is to replace intent…… -
Detailed introduction of scheduled task taskscheduler in spring
@H_ 502_ 2 @ Preface As we all know, after spring version 3.0, it comes with a timed task tool, which is simple and co…… -
The FAB (floating action button) in Android realizes the gradient effect of sliding up and down
preface Promoted actions refers to an action button, which is not placed in the actionbar, but directly in the visible…… -
Android programming implements the method of opening local HTML files using WebView
This article describes the method of using WebView to open local HTML files in Android programming. Share with you for…… -
Android implements ImageView shadow and layer effects
This example shares the implementation code of ImageView shadow and layer effect for your reference. The specific cont…… -
Android two methods to achieve long press return key exit
Android long press the return key to exit background Usually, it is common to press the return key twice within a cert…… -
Android implements a circular progress bar with numbers (custom progress bar)
development I designed a progress bar with circular progress. I strolled around GitHub and found that I didn't find it…… -
About stretching of user-defined camera preview interface in Android
About stretching the user-defined camera preview interface 1. The main reason for the deformation is that the rotation…… -
Development of AppWidget (desktop widget) for Android
What is an AppWidget AppWidget is a desktop widget, also known as desktop control, which is a small program that can b…… -
Implementation method of adding multiple buttons to the sideslip deletion of uitableview in IOS
1、 Requirements: Cell sideslip deletion has only one delete button by default. Add multiple buttons to sideslip, 'Del…… -
Example of status pop-up and disappearance of Android soft keyboard
Recently, I encountered a problem about the soft keyboard. I need to get the status of the soft keyboard, whether it i…… -
ImageView click on the variable dark instance code (Android code tips)
No more nonsense. I'll post the code directly to you. The specific code is as follows: The above is the ImageView inst…… -
Android recyclerview pull-up loading and pull-down refresh (basic version)
Here, we use Google's native swiperefreshlayout to refresh, and use the scrolling event of recycleview to judge whethe…… -
Solutions to multiple sliding conflicts in Android
1、 Foreword There are two solutions to sliding in Android: external interception method and internal interception met…… -
Very practical Android date calculation class
Share a convenient date calculation class: Android date formatting tool class: The above is the whole content of this …… -
How does Android modify the default name of APK
How does Android modify the default name of APK The default name generated when packaging an app with Android studio i…… -
Summary of methods of paint class and canvas class in Android
Common methods of the paint class 1. SetColor method, used to set the color of the brush, Public void SetColor (int co…… -
Summary of seven ways to realize sliding in Android
There are many ways to realize sliding in Android. This blog will provide some ideas to realize sliding, hoping to hel…… -
Android bottom menu simple application
There are many ways to realize menu function in Android. Options menu: the menu displayed when the user presses the me…… -
Implicit jump of activity display in Android
Activity jump is often involved in Andrews. How to implement jump in Andrews is as follows. Creating a second activity…… -
Android time control extension based on countdownview
First of all, I wish you all success in the new year and good luck in the year of the chicken. Last year, there was a …… -
Listview and ImageView in Android realize the effect of item radio selection
Some time ago, in the project development, listview realized the effects of single selection and multiple selection, e…… -
Example of Android using Baidu map SDK to obtain location information
This article is developed using Android studio. Obtaining location information is relatively simple. We only need the …… -
Android implementation adds watermark to pictures
The method of adding watermark is very simple. The specific contents are as follows design sketch The above is the who…… -
Principle analysis and example code of Android handler
Principle analysis of Android handler Handler is a headache for countless Android developers. I hope my article here t……
