包含标签:Android 的文章
-
android:layout_ Gravity and Android: the difference between gravity and Android
1. Let's first look at Android: layout_ Gravity and Android: the difference between gravity and Android. android:gravi…… -
Simple implementation method of Android local verification code (preventing violent login)
0. Preface The verification code is everywhere. Someone asked me, do you know what is under the Da Vinci password? Yes…… -
Android uses shared preferences to store passwords and remember passwords in the login interface
There are many storage methods for Android. The storage method used here is SharedPreferences, which uses the map data…… -
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…… -
Android property animation principle and databinding
Android property animation principle and databinding When you see this title, you may wonder what is the relationship …… -
Android imitation function button floatingactionbutton effect
Some time ago, I was watching attribute animation. It happened that the effect of this button can be realized by attri…… -
Android ADT offline download steps
Android ADT offline download steps Many online Android ide eclipse development environment tutorials, ADT installation…… -
Detailed explanation of Android dialog animation examples
Detailed explanation of Android dialog animation examples Animation description: the animation appears and disappears …… -
Creation method of Android custom control
This article shares the specific code for Android to create custom controls for your reference. The specific contents …… -
EditText limits the setting method of entering numbers to 1 digit after the decimal point
Set in the layout file of EditText: In the code: The above EditText restricts the input of numbers to 1 decimal place.…… -
Android Gaode map positioning SDK integration and map function implementation
1: Baidu Gaode official website, and then create an application website: http://lbs.amap.com/ 1. Find the console and…… -
Android implementation of illustrated button example code
The renderings are as follows: code: The above is the example code of buttons in Android introduced by Xiaobian. I hop…… -
Android realizes user-defined curve chart of price trend
This article refers to the linechart of the open source chart library framework mpadroidchart Address: https://github.…… -
Detailed explanation of the use of timer in Java multithreading
We see a lot of timing functions on mobile phones, such as regular garbage cleaning, alarm clock, etc. the timer objec…… -
Red dot display of Android unread messages
In many apps, you often see small red dots of unread messages, as shown in the following figure: This function uses a …… -
Quickly handle the case where the listview is empty
List display is often used in mobile development. For list display, we often use listview control. There are usually t…… -
Android implements unread corner marks on the desktop
Display the number (number of unread messages) on the icon of Xiaomi Samsung Sony mobile phone: this part of the code …… -
Filter and listener listener details
Filter and listener listener details Filter filter Introduction to filter Filtering the access to resources is equival…… -
Printing example of Android Bluetooth connected ESC / POS thermal printer (Bluetooth connection)
A mobile CRM project of the company recently needs to add the function of small ticket printing, which is the kind of …… -
How Android changes the default location of toast
The default location of toast in Android is near the bottom of the screen, which is sometimes inappropriate. For examp…… -
Implementation method of Android optimized adapter through viewholder (must see)
Definition of adapter class: The adapter object is the bridge between the AdapterView and the underlying data. The ada…… -
Android determines whether the current language environment is Chinese
If you don't have much to say, please see the code: PS: Android determines what language the current system uses Judge…… -
Android skillfully uses decorview to realize dialog function
If you don't know decorview, it doesn't matter^_^ Let's take a look at the effect General idea of implementation [lots…… -
ImageView in Android realizes the function of selecting local pictures and displaying them
Operation results: There are only three simulators in the library. I can't help it. The picture quality is very moving……