I. purpose: the same set of pages can be compatible with devices of different resolutions.
2. Implementation mode: using grid system to achieve:
A row is divided into 12 squares. You can set an element to occupy several squares according to the size of the screen.
Posted by antonello on Tue, 25 Feb 2020 20:06:38 -0800
Mobile phone verification code is a function that we use in our daily life
So let's assume that we can make this function work
There are many ways to achieve this. Some of them are in slow storage
Here I simply record the implementation process of the latter!
First, make a button to submit the u ...
Posted by tsilenzio on Tue, 25 Feb 2020 19:56:11 -0800
I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separator line of HeaderView, configuration trouble ...
Posted by Nixon on Tue, 25 Feb 2020 04:15:46 -0800
Wechat applet is a new way to connect users and services. It can be easily obtained and spread in wechat, and has an excellent use experience.
Advantages and disadvantages
1. It's really convenient for users to use. When they want to use it, they can turn ...
Posted by fireant on Mon, 24 Feb 2020 01:42:47 -0800
I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separat ...
Posted by thinkgfx on Sat, 22 Feb 2020 22:35:37 -0800
After watching the teaching video, I can get the code and knowledge points down here for my convenience in the future.
Posted by one on Fri, 21 Feb 2020 02:00:16 -0800
A few days ago, I found a non code error in learning the wechat applet:
<cover-view class='cv-cls'>Please put the car body in the viewfinder~</cover-view>
<cover-image src='carBackground.png' class='cb-cls'></cover- ...
Posted by sayedsohail on Tue, 18 Feb 2020 05:49:31 -0800
This program is based on the operation environment of STM32F103ZET6.
I had some losses before running this experiment. Let me come together!
1. After the software was written, it was found that there was no enumeration of USB after the USB cable was inserted and connected to the computer
Posted by kokomo310 on Tue, 18 Feb 2020 05:20:57 -0800
Section 382: Django+Xadmin create online standard online education platform - xadmin advanced
1. Background administrator details page layout
The details page of the background administrator. Blocks can be dragged and divided into many blocks
The layout of this page is in the UserAdmin class in xadmin/ ...
Posted by ropic on Mon, 17 Feb 2020 19:57:48 -0800
Section 327, web crawler introduction 2 - urllib library crawler
Write a simple crawler using the urlib Library of python system
urlopen() gets the html source of a URL
read() reads the html source content
decode("utf-8") converts bytes to strings
# -*- coding:utf-8 -*-
Posted by _DarkLink_ on Mon, 17 Feb 2020 00:38:08 -0800