Android slide up or down to end Activity

I've seen it before xiaanming The side slip is written to return, so it follows his Demo and writes the slide from top to bottom or the slide from bottom to top to end the Activity Let's take a picture first. Because of the problem of the resolution of this computer and the reason of the simulator, let's have a look Post ...

Posted by k3Bobos on Tue, 19 May 2020 08:58:24 -0700

Continuous integration - UniApp

A basic APP build script. Please ignore this article. The author is not talented and can only try to sum up experience repeatedly.FROM fake front end Engineer background The official development tool HBX (abbreviated as HbuilderX) of UniApp needs to manually export the project file and then operate the Android project. Recall the scena ...

Posted by DeadEvil on Sun, 17 May 2020 21:30:44 -0700

Android serial 11 - excellent practice of news app

1, Using shards for a best practice, we write a news app 1. First, create a news class   package com.example.fragmentbestpractice; ​ public class News { private String title; private String content; ​ public String getTitle() { return title; } ​ public void setTitle(String title) { this.title = title; } ​ ...

Posted by TonyIOD on Sun, 17 May 2020 09:03:54 -0700

Android custom ToolBar and immersive

The ToolBar is Android Five A new navigation control is introduced to replace the previous ActionBar. Because of its high customizability, flexibility, Material Design style and other advantages, more and more apps also use toolbars.Immersive status bar is from android Kitkat (Android Four point four )In the beginning, it can be set to the same ...

Posted by bios on Sat, 16 May 2020 07:04:15 -0700

Load wfs service of openlayer

wfs Service is the most flexible and powerful Web gis service. Through the request to gis Server, return vector data, generally in two formats (KML and geojson), of course, there are other formats. Then through the built-in parsing function of openlayer, the data is parsed. However, the data returned by wfs does not hav ...

Posted by russellbcv on Fri, 15 May 2020 07:59:40 -0700

Mix react native and applet

background In this paper, we will open a brain hole to integrate and run the small program scheme on the basis of react native project. First look at the effect as follows: Environment construction npm install -g react-native-cli yarn Official Environment construction documents It has been explained in detail and will not be repeated here. You ...

Posted by morphboy23 on Thu, 14 May 2020 01:27:53 -0700

First line kotlin series kotlin button click event

Button findViewBuId <Button android:id="@+id/mButton4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Jump" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@+id/mB ...

Posted by Aeglos on Wed, 13 May 2020 08:50:10 -0700

Lifecycle aware component

brief introduction Lifecycle is one of Google's recommended architecture components Lifecycle aware components can perform actions in response to changes in the lifecycle state of another component, such as Activity and Fragment. These components help you write more organized and often streamlined code that is easier to maintain. By using life ...

Posted by killerofet on Wed, 13 May 2020 03:20:25 -0700

Modify the column of AppCompatActivity

How to modify the title bar of AppCompatActivity When we create a new ui interface in android studio, we often find the AppCompatActivity layout, which has its own title bar, but sometimes the title bar can not meet our needs, so we need to customize the title bar. This morning I Baidu for a long time finally solved. ...

Posted by SJones on Mon, 11 May 2020 10:43:39 -0700

Read by Unity3D -- read Excel file content

In the process of Unity3D development, reading excel table is a very frequent thing. It is mainly used to record various data. Various platforms may have many methods, such as Android, you can plug-in, or you can use third-party java to develop. dll package for Plugin, and then C ා and Java interact to realize Excel reading (it's troublesome, ...

Posted by jbille on Mon, 11 May 2020 09:08:14 -0700