Customize the color of the status bar

First, I want to go to Tucao, and I read many blogs on the Internet. I am forced to make complaints about it. Few people can really solve the problem. Some people can really change the color of the status bar. But Nima has a gray layer on top of it, which is also called solving the problem. Some people say it's not easy ...

Posted by mmtalon on Mon, 04 May 2020 06:09:17 +0200

Moving end suspension ball

This is a common case when writing mobile terminal. Many web apps will have a mobile phone like suspension ball, which can be dragged on the interface at will, and then clicking on it is a connection. The effect chart is as follows In the figure, there is a customer service suspension ball that is connected by a window and can slide freely. T ...

Posted by iRock on Sun, 03 May 2020 13:39:32 +0200

Automatic testing of python + selenium -- basic operation of elements

1. Positioning through CSS find_element_by_css_selector() driver.find_element_by_css_selector("#kw").send_keys("Hu Ge") # Baidu home page input box 2. Text information Element assignment .send_keys() driver.find_element_by_xpath('//*[@id="kw"]').send_keys("Hu Ge") # Search box input Hu Ge Get text informatio ...

Posted by PantherX on Sat, 02 May 2020 17:12:08 +0200

How to start the activity of another APP from one APP

How to start the Activity of another APP from one APP 1. Start with custom action In this way, you only need to set an action in the code, and the system will automatically filter to find the corresponding Activity of this action Code of current APP Intent intent = new Intent(); //Here is the custom action used in ...

Posted by ChrisBoden on Sat, 02 May 2020 08:53:50 +0200

Timer implementation - fill in time zone pit

1. Introduction There is a timer requirement for the project, as shown in the figure below. It was supposed to be quite simple, but it actually involves the time zone. The renderings are as follows 2. Solution The key code is relatively simple Milliseconds to HH:ss:mm Refresh and change the time on the control regularly The ...

Posted by Someone789 on Fri, 01 May 2020 07:53:43 +0200

I developed a 2D LiDAR SLAM using MATLAB

0 Introduction You have just started learning SLAM for nearly a month, but you don't know much about the theoretical derivation. So you have developed a simple demo of 2D LiDAR SLAM on matlab to understand the complete process of SLAM. (1) Data source: 2D laser SLAM data from Deutsches Museum, Germany, linked as follows: Public Data - Cartog ...

Posted by ohenewa on Fri, 17 Apr 2020 19:23:39 +0200

Simple Factory Mode for Design Mode

Simple Factory Mode Basic Definition: Simple factory mode, also known as static factory method, is a creation mode.In simple factory mode, instances of different classes can be returned depending on the parameters passed.The Simple Factory pattern defines a class specifically for creating instances of other classes that share a common parent. P ...

Posted by darthmahon on Thu, 16 Apr 2020 08:53:53 +0200

C + + value polymorphism: between traditional polymorphism and type erasure

Introduction I have a display module: There is a 128 * 64 monochrome on the module Display , A single-chip computer (b) controls the content it displays. The I? C bus of single chip microcomputer is connected to other single chip microcomputer (A) through the row pin bus on four sides, A sends instructions to B, and B draws. B can send the dis ...

Posted by Qbasicboy on Wed, 15 Apr 2020 20:50:35 +0200

Using Baidu map to realize map grid

Recently, baidu map will be used to realize the function of building visualization, so the most basic function is to realize the division of building in different regions after gridding the map; 1. Go to the open platform of Baidu map to apply for the secret key. Here I post my secret key; ak=A3CklGvnFOjkAzKzay2dySgfdig0GKz4 2. Create a new sim ...

Posted by nomad9 on Wed, 15 Apr 2020 20:10:36 +0200

Introduction to visualization tool D3.js (Chapter 12) - force oriented graph

The concept of force oriented graph is not discussed in detail here. It is suitable for drawing relational information; Here are a few knowledge points about the force guide diagram: 1,d3.forceSimulation([nodes]) Create a new force map; 2,simulation.force(name[, force]) If force is specified, the force (mechanical model) of the specified name i ...

Posted by Chris Mayo on Sun, 05 Apr 2020 14:43:00 +0200