Android
-
Android studio download update Android SDK network exception or unable to download
Android studio download update Android SDK network exception or unable to download Today, I reinstalled Android studio…… -
The font size of APP in Android does not change with the system
In "setting", "display" and "font size", we can set the system font size If the font of the app interface is modified,…… -
Customize dialog style activity in Android. Click the blank space to hide the soft keyboard function (dialog does not disappear)
1、 Demand trigger scenario: The project needs to develop dialog display with EditText. When editing EditText, click t…… -
Android realizes bitmap rotation effect
Bitmap rotation can also be realized with the help of matrix or canvas. Set the rotation angle through the postrotate …… -
Detailed explanation of the calling sequence of set, pre and post of matrix
When matrix calls a series of set, pre and post methods, it can be regarded as inserting these methods into a queue. O…… -
Animation effect of popupwindow entry and exit in Android
No more nonsense. I'll post the code directly to you. The specific code is as follows: Then define the animation file …… -
Simple practical case of popupwindow (displayed below the control)
Step 1: private PopupWindow mPopupWindow; Step 2: write a popupwindow layout file XML Step 3: write code in activity N…… -
Detailed explanation of MVP mode in Android
MVP evolved from the classic mode MVC, and their basic ideas have similarities: Controller / presenter is responsible …… -
Solution to the Caton problem of Android recyclerview
Why does recyclerview get stuck As a new control of V7 package, recyclerview has been widely welcomed by Android devel…… -
Summary of handling upload progress problems during Android large file upload
When uploading large files, displaying the upload progress is a good user experience and can effectively alleviate use…… -
Summary of common problems in Android video playback
Video playback is a common problem in Android development. In conventional videos, you can directly use videoview + me…… -
Summary of methods to judge whether network connection is available in Android
Android network judgment Judge whether the current network is WiFi 1、 Determine whether the network connection is ava…… -
Solve the problem of invalidation of the outermost margin in the item of Android listview
1. This phenomenon is found in the development: The item in the list is LinearLayout. The outermost layer of this item…… -
Android SharedPreferences realizes the function of remembering passwords
Realize the function of remembering passwords for your reference. The specific contents are as follows Write interface…… -
Android ontouchevent processing mechanism summary (required)
Some touch events will always be used in the project. Each time you use Baidu's various materials, look at the analysi…… -
Drawing round, triangular and fan-shaped avatars in Android image processing
preface I believe it is easy to draw circles and pictures in the daily development of Android, but drawing circular pi…… -
Android actionbar fully parses and uses the best navigation bar officially recommended (Part 2)
The main content of this article comes from Android doc. I have done some processing after translation. Good English f…… -
Android method of adding segment header for listview
design sketch: I remember a similar effect on GitHub Let's talk about the idea to achieve this effect: embed the segme…… -
Android limit EditText integer and scale filters (detailed)
A filter is written to limit the integers and decimal places of EditText input as needed, as shown in the following co…… -
Using spinner to realize the drop-down list function in Android
Spinner Spinner is a list selection box. After the user selects, a list will be displayed for the user to select. Spin…… -
Three methods to solve the problem that EditText does not display the cursor (summary)
There are three solutions 1. Add the following attributes to EditText 2. Add the following attributes to EditText 3. I…… -
The layout example code of the navigation bar turning the page below is displayed in the Android page
When there are too many page entries, paging is required. To display the layout related to paging in the layout, use A…… -
Android actionbaractivity setting full screen untitled implementation method summary
Android actionbaractivity setting full screen untitled implementation method summary preface: The new activity inherit…… -
Detailed explanation of image zooming implemented by Android custom ImageView
Detailed explanation of image zooming implemented by Android custom ImageView I think this custom ImageView is very ea…… -
Android determines whether the user has allowed the camera permission instance code
For example, since it is to judge whether the user has allowed the camera permission, we will ignore the problem of ma…… -
Two ways for rxjava to implement three-level cache in Android
As mentioned in the title of this article, rxjava is used to realize the three-level cache of data, namely memory, dis…… -
Return value of ontouch method in Android ontouchevent event (Introduction)
1. If return false, the ontouch event is not successfully executed. After executing the code in ontouch, the ontouch e…… -
Detailed explanation of using AspectJ in Android
What is AOP AOP is the abbreviation of aspect oriented programming, that is, "aspect oriented programming". It is diff…… -
Solve the problem of blank space on the left of custom toolbar and action bar after Android v7
As shown in the figure: 1. View the parent topic of the widget.appcompat.toolbar as follows: The attribute contentinse…… -
Customize the shape of toast. Multiple clicks will not always pop up the implementation method of toast
The effect is as follows: I encapsulated a class: The following two textviews make the toast wider and higher respecti…… -
Android Gaode map POI retrieval imitation wechat sending location example code
Recently, the project needs to change the sending location module into an effect similar to that of wechat sending loc…… -
Android adds a prompt for the number of unread messages to the icon of the application (the number in the red circle)
Recently, we are working on a function to view unread messages. We need to add a function to prompt unread messages in……