maven uses the setting.xml configuration file to configure the warehouse address

Only one image library can be configured. Alibaba's cloud address is used here, which is faster Upload a maven settings.xml configuration file: <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apa ...

Added by cmaclennan on Thu, 26 Dec 2019 21:04:02 +0200

Android Studio uses ViewPager + Fragment to achieve the effect of sliding menu Tab -- simple version

Description: I have done a bookkeeping APP before. It is easy to practice. It is developed with Eclipse; Recently, I want to improve this APP, add some new functions, and choose Android Studio to develop it; APP has improved a part of it. Now I want to sort out and record the functions that have been done.   Design sketch: You can slide the men ...

Added by zeth369 on Wed, 25 Dec 2019 18:48:14 +0200

Add toolbar menu to Fragment

This kind of demand is often met in the application: There are different fragments in an Activity, such as MainActivity. Two different fragments require different toolbar s and menu s. How to customize Fragment's toolbar? 1. Add toolbar to the xml of fragment; 2. Add setHasOptionsMenu(true) to onCreate method of fragment; ...

Added by amarquis on Tue, 24 Dec 2019 21:17:23 +0200

Custom TextView - custom View, custom attribute base case

User defined view is the basis of Android development. There are not too many difficulties in itself, and there are not many knowledge points to be considered, mainly including canvas drawing related knowledge, view control measurement, user-defined attributes, etc. in this case, we try to demonstrate the above knowledge points ...

Added by therealairness on Tue, 24 Dec 2019 17:37:07 +0200

js calls flash to report error in chrome

1. There is an error in the flash generated dynamically embedded in the web page. The error information is as follows:      #25081850 myChartId::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information. 2. Error reason: chrome disable flash Plug-in 3. Solution: Before generatin ...

Added by Negligence on Mon, 23 Dec 2019 19:14:27 +0200

Front end learning notes-8.4 data interaction

Ajax: asynchronous JavaScript and XML, using JavaScript to execute asynchronous network requests If you want users to stay on the current page and send out new HTTP requests at the same time, you must send this new request with JavaScript. After receiving the data, you can use JavaScript to update the page. In this way, users wi ...

Added by misterfine on Sun, 22 Dec 2019 19:07:01 +0200

android floating layout

1. gravity: floats internal elements. A view (TextView,ImageView,ImageButton...) is a div, but it can't have flow: left|right and other attributes like a Div. if you don't want to use floating positioning, you can add a third-party dependency. The usage is as follows: //Add dependency in build compile 'com.nex3z:flow-layout: ...

Added by starnol on Fri, 20 Dec 2019 18:11:26 +0200

The way of springboot for beginners, integrating log4j2 logs

0. Preface Log recording is essential to the system. The commonly used log components in spring boot include log4j, logback and log4j2. Logback is the default of spring boot and has been brought by itself. You can choose log4j2, and others don't need to pay attention; 1, Integrated log4j2 log component 1. Remove the default logback log frame ...

Added by PerfecTiion on Thu, 19 Dec 2019 20:47:41 +0200

Basic Introduction and Quick Setup of DBLE Learning for Database Middleware

Introduction to the basic dble architecture dble is a highly available and scalable distributed middleware based on mysql.The River Laker sent the nickname MyCat Plus. Open source address Let's start with the architecture diagram, where external applications are connected via NIO/AIO.First, let's talk about what NIO/AIO is. BIO, the traditiona ...

Added by MadDawgX on Wed, 18 Dec 2019 04:50:53 +0200

UI experience -- Material Design practice (2)

Catalog I. FloatingActionButton II. Snackbar III. CoordinatorLayout IV. CardView I. FloatingActionButton 1, effect For example, the button in the lower right corner: 2, use <android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" ...

Added by scarface222 on Sun, 15 Dec 2019 21:59:27 +0200