Percentage + background icon progress bar
Recently, there is a demand for project development, in fact, it is the commonly used percentage progress bar. There are a lot of materials on this function, not to mention much. The function I mentioned below is to add a background icon to the percentage text on the basis of the original. The effect chart is as follows:
Onl ...
Posted by Scummy12 on Wed, 01 Jan 2020 16:08:04 -0800
Learning of servlet path jump
There are many kinds of path jumps for servlets. Let's briefly list them today.
The first is to use hyperlink path to access directly, which is divided into relative path and absolute path.
public class RecServlet extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, ...
Posted by jackpf on Wed, 01 Jan 2020 14:40:35 -0800
windows command line view file tree structure
tree command
Use the tree command on the command line of windows to print the file tree structure of the specified directory.
PS E:\work> tree /?
Graphically displays the folder structure of the drive or path.
TREE [drive:][path] [/F] [/A]
/F displays the name of the file in each folder.
/A uses ASCII characters ins ...
Posted by MilesStandish on Wed, 01 Jan 2020 13:19:29 -0800
Android - no solution for custom classes can be found when compiling AIDL created by Android studio
Please indicate the source of Reprint: https://blog.csdn.net/l1028386804/article/details/82728536
When using AS to create ADIL files, AS will generate an aidl folder and a package with the same package name for us under the main folder. Generally, we will put all classes or files related to ADIL under this package. However, if ...
Posted by alex57 on Wed, 01 Jan 2020 07:38:39 -0800
App Resource -- inline complex XML resource
Some resource types are combinations of multiple complex resources represented by XML files. An example is animation vector drawable, which is a paintable resource, encapsulating vector drawable and animation. This requires at least three XML files.
res/drawable/avd.xml
<?xml version="1.0" encoding="utf-8"?>
<animate ...
Posted by tegwin15 on Wed, 01 Jan 2020 02:41:48 -0800
Spring MVC + mybatis to configure multiple data sources
Business scenario:
In the actual project development, sometimes the data will be stored in multiple databases, that is, there are different data sources. So in the SSM framework, how to configure multiple databases?
Get ready:
Two Oracle data sources
DataSource1:172.83.242.145:1521/orcl user name: zsyw · Jr password: ...
Posted by richo89 on Tue, 31 Dec 2019 20:49:13 -0800
LinearLayoutCompat under v7 package
In normal development, we often have the requirement that each Item layout should be distinguished by using a split line in the layout, as shown in the following code:
The effect is shown in Figure 1-1
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
...
Posted by ashebrian on Tue, 31 Dec 2019 18:42:06 -0800
Spring source reading - 4
Creation of BeanDefinitionHolder
The inheritance structure of BeanDefinition in the Spring framework is as follows:
BeanDefinition is the internal representation of the configuration file < bean > element label in the container. The < bean > element tag has class, scope, lazy init and other configuration attributes, while BeanDe ...
Posted by dakkonz on Tue, 31 Dec 2019 18:11:42 -0800
The first line of code
1, Create and load layouts
app/src/main/res/new/directory, create a directory named layout, and right-click / layout resource file/
Add button code
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height=" ...
Posted by sloede on Tue, 31 Dec 2019 16:09:26 -0800
How to design a nice user name and password input box for Android studio
How to design a nice user name and password input box for Android studio
Hello everyone, today is my first time to write a blog. I'm not familiar with the functions of blogging. Please forgive me and criticize me
Equivalent to a registration page
----------<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:and ...
Posted by techek on Tue, 31 Dec 2019 12:05:15 -0800