Learning Android ConstraintLayout
Advantages:
Reduce layout nesting
Better performance
More powerful
Reference blog:
Android ConstraintLayout use details
ConstraintLayout fully parsed. Let's optimize your layout
ConstraintLayout visual operation
Performance advantages of ConstraintLayout
Introduction steps
compile 'com.android.support.constraint:con ...
Posted by new2code on Thu, 30 Jan 2020 23:46:12 -0800
Introduction to Android Development - Common UI controls
date: 2020-01-12 21:46:05
Article directory
control
Button
TextView
EditText
ImageView
ProgressBar
AlertDialog
ProgressDialog
layout
LenearLayout
android:layout_gravity
android:layout_weight
RelativeLayout
FrameLayout
Percentage layout
Other
Custom control
ListView
Customizing the ListView UI
o ...
Posted by cjmling on Thu, 30 Jan 2020 23:42:42 -0800
AOP of architecture design of centralized landing architecture based on aspect oriented idea
1, Before you start:
Centralized login architecture design: this login is not a login request, but a judgment of whether the current login status is available. If it is not, skip the login interface; otherwise, perform the corresponding skip logic. This business is a global business, and the global b ...
Posted by keystroke on Thu, 30 Jan 2020 22:50:33 -0800
UI Interface Design - Android
Android UI Interface Design - with Reference Documents
UI Interface Design
1. Basic Components
1. Text class components
1.1 TextView
Reference Document docs
1.2 EditText (a subclass of the textview component)
2. Button class components
2.1 Button, a common button component (a subclass of the tex ...
Posted by lajollabob on Thu, 30 Jan 2020 18:38:47 -0800
cordova custom plugin
Preparation
Install cordova
npm install -g cordova
Create cordova project and add android platform
cordova create Project name Package name
cd Project name
cordova platform add android
Install plugman
npm install -g plugman
Create plugin
Create a plug-in (this blog demo plug-in name mytoast, package name com.digi ...
Posted by mikegzarejoyce on Thu, 30 Jan 2020 08:26:38 -0800
Android advanced notes -- Retrofit source code analysis
Article directory
I. information
Two, introduction
Three. Introduction
4, Source code analysis
4.1. Create retrofit
4.1.1. Building
4.1.2. Add baseUrl
4.1.3. Add GsonConverterFactory
4.1.4.build()
4.2. Create network request
4.3. Call the network request API, generate a call, and execute the reque ...
Posted by jandrews on Wed, 29 Jan 2020 04:17:57 -0800
How to find ContentProvider from Uri in source Teahouse
Introduction
We all know the use of ContentProvider, one of the four components, which provides you with a unified data access format. The caller doesn't need to care where the data comes from (such as DB, XML file, network, etc.), just get the corresponding ContentResolver to add, delete, query and m ...
Posted by sridhar golyandla on Wed, 29 Jan 2020 03:21:11 -0800
Kotlin series - progress bar with arc
This article has authorized WeChat public number Guo Lin (guolin_blog) to reprint.
This is a progress bar with an arc. In fact, this control has been implemented for a long time, but I want to rewrite and optimize it with Kotlin and explain it.
Project GitHub: CircularArcProgressView
Design sketch
...
Posted by bapi on Tue, 28 Jan 2020 01:19:39 -0800
Allow multiple lines in Android's EditText view?
How to allow multiple lines in the edit text view of Android?
#1 building
This is useful for me, in fact these two attributes are important: inputType and lines. In addition, you may need a scroll bar, and the following code shows how to make one:
<EditText
android:id="@+id/addr_edittext"
android:layout_width="fill_p ...
Posted by fiddy on Tue, 28 Jan 2020 01:07:40 -0800
Android development case 2 - start and stop service in standard binding mode, and complete addition calculation
Android development case 2 - start and stop the service in the standard binding mode, and complete the addition calculation
Preface
1. services
When the startService() method is used to start the service, the execution life cycle method is onCreate(), onStartCommand(), and then the service is in the running state until the ...
Posted by PJ droopy pants on Mon, 27 Jan 2020 08:04:04 -0800