包含标签:Android 的文章
-
Android imitation wechat sliding exit activity
design sketch: Principle: The principle can be described clearly in one sentence. Rewrite the dispatchtouchevent of th…… -
In Android, set user avatar instances by accessing local photo albums or cameras
At present, almost all apps need to set avatars when users register, which can be roughly divided into three cases: (1…… -
Explain the use of dialog in Android
In Android, dialog is often used to realize some prompts and special effects, and the style is also different. You hav…… -
Add picture function to the default dialog box of Android system
Development tools Android studio Today, the company's UI requires that the software dialog box be changed to add pictu…… -
Android implements highlight search list based on recyclerview
Not much to say, let's look at the effect of today's implementation: I believe this effect will be used in many projec…… -
Example of reading NFC card number for Android implementation
An example of reading NFC card number by Android is as follows: 1. Authority 2. Registration (static) 3.Activity initi…… -
Detailed explanation of switching monitoring between WiFi and data traffic in Android
Recently, I have been working on a WiFi and mobile data monitoring function, which has been tossing around for a while…… -
Android custom seekbar dynamically changes the hardware volume to synchronize with the volume keys (recommended)
1. Figure above: 2. Code: MainActivity.Java main_ activity.xml: seekbar_ progress_ layer_ list.xml No, you won't, just…… -
On the use of static variables in Android
In the project, after continuously receiving serial port data for a long time (several hours), an error will be report…… -
Android implements Alipay 6 bit password input interface
Let's analyze according to the picture: (1) limit the input of 6 bits, each bit has its own frame, and each frame disp…… -
Implementation method of Android imitation wechat progress pop-up box
MainActivity: activity_ main: LoadingDialog: dialog_ loading: R.style.loadingDialogStyle: drawable-yuanjiao: effect: A…… -
Explain the simple use of Android native JSON and fastjson
Android native operation JSON data There are mainly two classes: jsonobject operation object and jonsarray operation J…… -
Solution of automatic pop-up of Android shielding soft keyboard
Problem overview The soft keyboard will pop up when inputting content in the edit box, and the limited screen area of …… -
Android viewflipper simple app
Android viewflipper is a simple application. Don't talk nonsense. Look at the code directly activity_ guide.xml GuideA…… -
Example of dialog pop-up from the bottom of Android implementation (I)
@H_ 502_ 2 @ I. overview Let's see the renderings first: @H_ 502_ 2@ Click the display pop-up button in the middle to …… -
Android uses files for IPC
1、 Document for IPC introduction Sharing files is also a good way of inter process communication. Two processes excha…… -
Android solution to prevent multiple response events caused by too fast clicking
Recently, there are some small problems in the development process. For example, a BTN click user may only click once,…… -
Detailed explanation of Android memory optimization — lrucache
Concept: LruCache What is lrucache? What is the implementation principle of lrucache? In fact, these two questions can…… -
Detailed explanation of how to use Android custom toolbar
This article introduces: How to use the toolbar; Customize Toolbar; Let's take a look at the effect and learn about to…… -
Data storage of ContentProvider in Android development tutorial
1、 Introduction to saving data by ContentProvider A program can completely expose its own data by implementing an abs…… -
Explain the basic use of Android image loading framework fresco (2)
PS: Recently, I saw that many people began to write year-end summaries. Time passed quickly. At the end of the year, I…… -
Detailed explanation of Android control drag instance
Android control drag The dragging of Android control is mainly to override its ontouch () method by setting the setont…… -
Detailed explanation of messenger and Aidl for Android process communication
1. Preface Mentioned inter process communication (IPC): in the Android system, one process cannot directly access the …… -
Android drawerlayout implementation drawer effect example code
Official website: https://developer.android.com/training/implementing-navigation/nav-drawer.html Paste the main logic …… -
Android implements the tangent chart as an example of avatar
Android tangent chart The renderings are as follows: MyView class Mainactivity class xml Thank you for reading, hope t…… -
Implementation code of dialog animation effect pop up from the lower left corner of the screen in Android
Mainactivity Code: Layout of main interface: Dialog layout: Styles Code: Enter the animation (zoom in at the lower lef…… -
Folding and unfolding effects of tableview similar to QQ packets in IOS development
Similar to QQ grouping, realize the folding and expansion of tableview. In fact, to achieve this effect, I first thoug…… -
Detailed introduction to the constructor of Android custom view
Constructor for Android custom view Custom view is a common requirement in Android. Each custom view needs to implemen…… -
Android thread realizes picture rotation
1、 Realization effect This article implements a simple picture rotation, initializing 3 resource pictures, changing t…… -
Android touch event monitoring (activity layer, ViewGroup layer, view layer) details
Android touch event monitoring at different levels In app development, we often encounter operations related to gestur…… -
Create a cool Android studio plug-in
After learning the basics of Android studio plug-ins in the previous articles, this article intends to develop a cool …… -
Dialog pops up at the bottom of Android imitation apple
Style file Animation folder anim two files actionsheet_ dialog_ in.xml actionsheet_ dialog_ out.xml Main activity appl……