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

Linear and Frame Layouts

The second time, the puppy was very calm. Today let's talk about the layout of Android Q. The problems I encountered and what I learned. Don't laugh at the bulls. If something goes wrong, the puppy will change when he sees it. Today, my student began to lay out with us. Looking at the data, there seem to be five or more layouts, but Ouch, basi ...

Posted by Studio381 on Sun, 10 May 2020 17:27:02 -0700

React Native super simple and complete example - tabs, page navigation, hot update, user behavior analysis

Learning React Native for the first time, if there is no guidance, you will find that many things can not be started, but when there is guidance, you will find it is very simple. This is also the main reason for me to write this blog, hoping to help beginners. This article will not introduce how to build a development environment. If you haven ...

Posted by kazer on Fri, 08 May 2020 19:15:12 -0700

Please don't use the pprint printing dictionary anymore

WeChat official account: Python programming time Online blog address: http://python.iswbm.com/en/latest/c02/c02_14.html 1. make complaints about problems You should be familiar with pprint in Python, right? Most people will recommend you to use this product when you search on search engines about how to print beautiful dictionaries or form ...

Posted by hostfreak on Fri, 08 May 2020 18:16:20 -0700