Android
-
How to use Android listview and ProgressBar (progress bar control)
Use of listview control: the listview control contains data row by row. There may be multiple columns in a row. If a r…… -
The framework of Android development tutorial adds resource resources such as string resources and pictures
Add string Add a string in Android frameworks / base / core / RES / RES / values. For example, add a string in string.…… -
Android string resource file format method usage example
Many times, we believe that Google abides by a large number of MVC architecture when designing Android, which can make…… -
The textview content of Android development tutorial exceeds the screen width and displays ellipsis
The implementation is as follows: -
Android string resource file format method usage example
Many times, we believe that Google abides by a large number of MVC architecture when designing Android, which can make…… -
How to use system resources in Android development tutorial Android resource file
1、 Color resource 1. Color XML file format 2. Reference format: In Java code: r.color.color_ Name (this is an int typ…… -
HTTP request utility class encapsulated by Android
Another encapsulated get request is frequently used recently: -
Android display textview text reflection effect implementation code
Today, record the reflection effect of textview, display a string of text, and then display its reflection below the t…… -
Underlined method of Android textview
If it is in a resource file, it can be written like this If the code is written like this -
How to use listview in Android development tutorial
The first is the layout file. Two layout files are required here. One is the layout file main.xml corresponding to the…… -
Underlined method of Android textview
If it is in a resource file, it can be written like this If the code is written like this -
Android development tutorial using listview to display QQ contact list
First, the XML layout file, in which the listview control is added: Main layout_ main.xml Then, the layout of each lin…… -
Android TCP file client and server demo introduction
The main functions are: 1. The TCP server provides file download service, and the server supports multithreading. 2. T…… -
Android custom title bar shows the method instance of web page loading progress
During the adaptation of lephone these days, the test team submitted a bug: when the text in the title bar is long, it…… -
Implementation method of Android timer and time calculator
Demand: the default is "00:00:00". When you click the start button, reset and start timing, such as 10:28:34. Stop tim…… -
Android custom semicircular disc scroll selector
Some time ago, the company's project required a special sliding selector, and the effect is as follows: Functional req…… -
Tips for adapting notification bar in Android 8.0 system
Hello everyone, today we continue to learn the adaptation of Android 8.0 system. As we have mentioned before, there ar…… -
Android realizes similar wechat page switching effect based on viewpager
This article is only for personal learning Android, recording growth and convenient review! Realize viewpager and real…… -
Android asynchronously loading image instance code
The main process of asynchronously loading pictures is to judge whether there are pictures in the cache. If there are …… -
The Android custom control Scrollview realizes the up and down sliding function
This example shares the specific code of Android Scrollview to realize the up and down sliding function for your refer…… -
Android implements radio button function
When we register our personal information, we are often asked to choose whether we are boys or girls. How is this radi…… -
Android broadcastreceiver enables real-time monitoring of network status
Recently, in the company's project reconstruction, in order to improve the user experience, the project requires to ad…… -
A small example of Android getting thumbnails of pictures and videos on SD card
How to judge the file? You can traverse the database through cursor and compare with international_ CONTENT_ The value…… -
Android custom table controls meet people’s visual needs
The Android platform has provided us with many standard components, such as textview, editview, button, ImageView, men…… -
Android method of saving string as TXT file in SD card
As follows: The above method for Android to save string as TXT file in SD card is all the content shared by Xiaobian. …… -
Implementation principle of Android 8.0 slow charging and fast charging prompt
@H_ 419_ 2@1. Prompt for slow and fast charging \frameworks\base\packages\systemUI\res-keyguard\values-zh-rCN Chinese …… -
Code implementation of setting WiFi of Android device to never disconnect during sleep
Mainactivity is as follows: The code is as above, but in the actual project, it's rude to set WiFi to never disconnect…… -
Solution based on making Android project into jar package and resource file
It should be noted that if it is provided to third-party developers in the form of jar package and resource package, r…… -
Android implements the picture selector function
This example shares the specific code for Android to realize the image selector function for your reference. The speci…… -
Using kotlin’s coprocess to realize simple asynchronous loading
preface As we all know, in Android, when the execution time of the program exceeds 5 seconds, it will cause anr and ca…… -
Android uses broadcastreceiver to listen for changes in network connection status
You only need to implement the following two codes to monitor the network connection status. Don't forget to add netwo…… -
Method for setting the size of Android pop-up activity
How to set the size of the activity so that your window no longer looks full screen. Some netizens may know that it is……