The common layout of Android development is all in this article!

I. Brief Introduction As shown in the following figure, according to the way the interface is written, it can be divided into traditional layout and new layout. Linear layout: ** is the most commonly used layout in demo practice. It can be divided into two types: horizontal and vertical, that is, to set its attribute orientation: "vertic ...

Posted by GFXUniverse on Wed, 09 Oct 2019 22:35:34 -0700

Use and Examples of Highcharts.js Chart Library

Part I About Highcharts.js Chart Library: 1. Introduction: Highcharts is a chart library written in pure javascript, which can add interactive charts to Web sites or Web applications. Now the latest official version is API document updated to 5.0.7. 2. Chart types are abundant: 1 Diagram ...

Posted by zevious on Wed, 09 Oct 2019 21:38:04 -0700

uni-app custom navigation bar button |uniapp imitation WeChat top navigation bar

uniApp Native Navigation Bar uni-app native navigation bar can also implement some top custom buttons + search boxes, just do some configuration in page.json. Setting up app-plus, dcloud platform makes a detailed description of app-plus: app-plus configuration However, for the time being, H5 and App are supported, and small programs are not su ...

Posted by mattison on Wed, 09 Oct 2019 15:10:58 -0700

AsyncTask, SQLite, Contacts, AutoComplete TextView (Android)

Links to the original text: https://my.oschina.net/gal/blog/200185 This job is mainly to investigate the use of SQLite, get the information of mobile contacts (name, cell phone number, ...

Posted by Barb54 on Tue, 08 Oct 2019 19:01:31 -0700

LED Operation of Quanzhi A33 Driver Development

LED Operation of Quanzhi A33 Driver Development I. Overall description II. Notes 3. Implementing led driver 1. Source files 2. Makefile file file IV. Application Programs for Implementing Testing Fifth, schematic diagram I. Overall description _The development board used in this time is vstar2 ...

Posted by Space Cowboy on Tue, 08 Oct 2019 09:39:00 -0700

Development and basic use of android-opengles 3.0

GLSurfaceView configuration First determine the version of opengles used, then set the specified renderer, and finally display it on Activity. Note that in Activity's life cycle function, you control the start and pause of GLSurfaceView rendering. public class MainActivity extends AppCompatActivit ...

Posted by ashrust on Tue, 08 Oct 2019 09:23:20 -0700

Add animation to the list using RecyclerView and Layout Animation

Add animation to the list using RecyclerView and Layout Animation Bai Shixiu'er Collection was transferred from May to 14, 2018 Report Here's how to use RecyclerView and Layout Animation to add animation to the list. There are three steps: Add animation to list items Define Layout Animation with Animation of List Items RecyclerView Appl ...

Posted by azaidi on Mon, 07 Oct 2019 19:12:51 -0700

android's manipulation of files under asset and raw

android's manipulation of files under asset and raw There are two kinds of resources in Android, one is compilable resource file under res. This resource file system automatically generates the ID of the resource file in R.Java, and the access is very simple. It only needs to call R.XXX.id. The secon ...

Posted by gmcalp on Mon, 07 Oct 2019 18:32:31 -0700

Android, iPhone and Java are three platform-consistent encryption tools

import java.security.Key; import javax.crypto.Cipher; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESedeKeySpec; import javax.crypto.spec.IvParameterSpec; /** * 3DES Encryption Tool Class * * @author liufeng * @date 2012-10-11 */ public class Des3 { // secret key private final static ...

Posted by Cogen on Mon, 07 Oct 2019 05:19:07 -0700

Multithreading: IntentService + Mind Map

Have a cup of coffee and relax! Summary IntentService uses Step 1: Define the IntentService class and override onHandleIntent Step 2: List file registration Step 3: Open Services Step 1 class SIntentService : IntentService("SIntentService") { override fun onCreate() { Log.e("SInt ...

Posted by shatner on Mon, 07 Oct 2019 02:03:13 -0700