包含标签:Android 的文章
-
Android OpenGLES how to add filters to the camera
Filter introduction At present, there are many filters on the market, but the overall classification is just a few, wh…… -
Android shape for shadow or blurred edge effects
1. How to achieve shadow or blurred edge effect: 2. It is realized through shape, specifically through layer list mult…… -
Fluent passes values to any widget (when widgets need to be nested)
If we have such an application scenario: After widgeta executes the click, the data is passed to the widget C under it…… -
How to adapt the dark mode to the shutter (darkmode)
1. Talk nonsense I don't know what to write. I wanted to write the integration test of flutter. Because I gave it to f…… -
Implementation code of textfield component of fluent input box
TextField As the name suggests, the text input box is similar to uitextfield in IOS, EditText in Android and textinput…… -
Android’s use of okhttp may trigger a point of oom
There is a problem: you need to add signature verification to all requests to prevent brushing the interface; The inco…… -
Fluent can realize the effect of circular rotation
design sketch New adpicturewidget inherits from statefulwidget_ Adpicturewidgetstate class inherits from state < ad…… -
Android uses mediaplayer and TextureView to achieve seamless video switching
Requirement description For example, when advertising plays, each video lasts 15 seconds. When switching between video…… -
In depth explanation of window management in Android
1、 Understand Android window Window represents the concept of a window. It is an abstract concept. Each window corres…… -
Android implements the label (surround effect) effect of tilting in the upper left corner (other corners)
Let's start with the renderings Since the project needs to achieve the label effect of oblique surround in the upper l…… -
Android judge login
Whether to screen login /** * 测试是否登陆 */ loginButton.setOnClickListener(new OnClickLoginedListener(mContext) { …… -
Android implements the functions of customizing gestures and recognizing gestures
1. Complete the activity of custom gesture first 1.1 because the gesture file needs to be stored, the permission needs…… -
Implementation of fluent expansiontile hierarchical menu
development environment effect Used for multi-level menu display or selection. Such as each province, city and county…… -
Head suspension control based on recycleview developed by Android
Recyclerview is a sliding list similar to listview, but compared with listview, recyclerview is better than listview. …… -
Example code of login page with video background implemented by fluent
Final effect Project address https://github.com/Tecode/flutter_ widget Implementation method Install plug-ins Install …… -
Android uses third-party libraries to implement date selectors
This article mainly introduces how to use the third-party library to realize the bottom date selector roller effect, w…… -
Detailed explanation of kotlin’s enumeration and exception examples
1、 Definition of enumeration in kotlin Enum requires two keywords enum class, for example enum class Color(val r: Int…… -
Android generates barcode and QR code
Background: With the popularity of mobile Internet and the wide application of intelligent terminal devices, mobile pa…… -
Summary of the use and principle of Android custom view
In Android development, the UI controls provided by the system are limited. When we need to use some special controls,…… -
Example code of Android dselector Bryant radio scroll selector
Rolling selector, DIY rich, damping effect, simple and beautiful, touch or click mode GitHub address YangsBryant/DSele…… -
Android treeview implements a tree organization structure with check boxes
Previously, it was used in the project and in the personnel organization structure. It can also be used in the directo…… -
Identify multiple URLs in Android textview and click the jump method to explain in detail
Implementation scheme: We directly refer to the example code: private String pattern = "((http|ftp|https)://)(([a-…… -
Fluent encapsulates the example code of a banner round robin effect
CustomBanner( this._images,{ this.height = 200,this.onTap,this.curve = Curves.linear,}) : assert(_images != null);…… -
Android custom ImageView with rounded corners
Recently, there is a requirement to implement an ImageView with rounded corners. I found three parties on the Internet…… -
Android connect anonymous WiFi sample code
preface Because the development needs to realize WiFi connection inside the application. Combined with online material…… -
Talk about exceptions and handling methods in rxjava2
preface As we all know, when an exception is thrown in a chain call in rxjava2, if there is no corresponding consumer …… -
Android to achieve long picture loading effect
A key class bitmapregiondoder is used for long graph loading. Bitmap memory reuse is used for long graph loading. For …… -
Android realizes automatic login and remembering user name and password through SharedPreferences
Recently, the Android project needs an automatic login function. After completion, I would like to summarize that this…… -
Android programming method for monitoring network connection state change
This paper describes the method of Android programming to monitor the change of network connection state. Share with y…… -
Android uses broadcast to monitor USB connection status (changes)
No more nonsense. I'll post the code directly to you. The specific code is as follows: The above is what Xiaobian intr…… -
Difference between optstring and getString methods in JSON
The optstring method will return an empty string when the value in the corresponding key does not exist, but getString…… -
Android fan menu example with pop-up and contraction animation
Recently, I tried to make a fan-shaped menu with pop-up and contraction animation on Android. Take a note. The effect ……