Basic use of ConstraintLayout layout

Android Basic Layout Constraint Layout Google I/O 2016 released Constraint Layout, which is said to be very powerful. Let's explore it. gradle configuration compile 'com.android.support.constraint:constraint-layout:1.0.0-beta2' Reading Prerequisites: Familiarity with the Four Basic Layouts 1. Position control 8 boundary contr ...

Added by capetonian on Thu, 04 Jul 2019 23:14:08 +0300

SpringBoot Writes API Documents with Springfox+swagger 2

With the separation of front-end and back-end, excuse documents become particularly important. springfox automatically generates API documents in the form of annotations. With it, restful API can be written easily. swagger is mainly used to show API documents generated by springfox. Official address: http://springfox.github.io/springfox/ Genera ...

Added by hostcord on Tue, 02 Jul 2019 00:05:06 +0300

Detailed description of <environments> configuration elements for Mybatis configuration

In this article, we continue to look at other configuration elements. Today's protagonist is our <environments> element, which is used to set up the database configuration we need to access. Let's first look at the configuration: <environments default="development"> <environment id="development"> <!-- Use jdbc transa ...

Added by phpforme on Tue, 02 Jul 2019 00:03:05 +0300

file files for form forms upload those things

file API The client directly accesses the files of the user's computer. Before 2000, the <input type="file"> field was added to the form. The file API is a secure way to provide web development, so that the client can better access the user's files and fields. Some interfaces directly accessing file information - files col ...

Added by Mastermind on Mon, 01 Jul 2019 21:25:18 +0300

Android Technology Review Series (7) - Android Application Resources _2

This chapter gives a brief description of Drawable resources. What you need to know is the various types of Drawable resources and their usage scenarios. Common types are Bitmap File, Nine Patch Drawable, StateList Drawable, Gradient Drawable. Drawable resources refer to graphics that can be drawn on the screen and retrieved or applied to ...

Added by examancer on Mon, 01 Jul 2019 02:17:18 +0300

What are the activation modes of activity? What does it mean? (three)

FLAG_ACTIVITY_NEW_TASK Label Configuration form: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.open.android.task5"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@str ...

Added by Stephen68 on Sun, 30 Jun 2019 04:14:17 +0300

Four common ways of parsing XML

Four common ways of parsing XML 1. Introduction to XML Language XML is an extensible markup language. It can define semantic markup (tag), which is a meta-markup language. Unlike HTML, which is a hypertext markup language, XML can only use specified tags. For XML, users can define tags they need. Tree model. XML (eXtensible Markup Language) ...

Added by kiltannen on Sun, 30 Jun 2019 02:13:42 +0300

H5 Case Sharing: jquery.qrcode.js Generates Simple Two-Dimensional Codes

Recent projects need to generate two-dimensional codes, and decode to obtain information. jquery.qrcode.js generates two-dimensional codes to compare conveniently. Write a tutorial to share with you. Welcome to test the message, I will improve the code. Now two-dimensional code is becoming more and more popular, pay attention to scanning two ...

Added by GooberDLX on Fri, 28 Jun 2019 04:39:53 +0300

Implementation of Android Custom Composite Control CheckBox Change

Foreword: The greatest advantage of custom composite control is reusability, which can save us a lot of code. But when we customize composite control, the encapsulated control is either used by ourselves or by others. The encapsulated code should be readable and easy to modify. There is no need to encapsulate too many attributes. Generally, it ...

Added by MG-WebDesigns on Thu, 27 Jun 2019 00:47:40 +0300

Constraint Layout

Constraint Layout (Constraint Layout), the latest Android layout launched by Google I/O in 2016, is still in the perfect stage. It should become the mainstream layout style in terms of the strength of its launch. In the latest version of Android Studio, Constraint Layout has become the default layout. concept ConstraintLayout Constraints ...

Added by phait on Tue, 25 Jun 2019 23:56:03 +0300