Java backend Android-4 basic layouts

Four basic layouts 1. Linear layout Thread layout is a very common layout. This part will arrange the controls it contains in a linear direction at one time. The linear layout is specified using LinearLayout, and the android:orientation attribute is used to specify whether to arrange horizontally or vertically: android:orientation: vertical ...

Posted by ohdang888 on Fri, 18 Feb 2022 15:16:22 +0100

Source code analysis of Android arch components - Lifecycle

The implementation of Lifecycle is similar to ViewModel, which uses fragment to realize its functions. By adding a fragment to the activity, the fragment can receive various life cycle callbacks. The following source code uses version 2.2.0 Introduction to using method I'm not going to talk too much about the usage of lifecycle here. Un ...

Posted by marty_arl on Mon, 14 Feb 2022 13:09:01 +0100

Android kotlin material design technology points

1.Material design definition Material design is a new set of interface design language developed by google design engineers based on excellent design principles and combined with rich creativity and science and technology, including visual, sports, interactive special effects and other characteristics. 2. Use of toolbar Toolbar not only inhe ...

Posted by andymt on Sun, 13 Feb 2022 17:16:14 +0100

Second week of mobile application development

Lecture 3 Pre class assignment 1linarlayout Submission And. xml files java fileOnly use LinearLayout to complete. The pet file input interface shown in LinearLayout,After inputting the pet information, press "confirm" to display the pet information below, and press "Cancel" to display "please fill in the pet infor ...

Posted by Kingw on Fri, 11 Feb 2022 14:37:44 +0100

Android custom control coordinate system analysis

If you want to thoroughly grasp the custom control and master the coordinate meaning of various Android coordinate systems and some API s, there is no doubt that it is a skill that can not be ignored. The placement position, touch point and control drawing of the control are inseparable from the coordinate system, so let's talk about the Androi ...

Posted by Domhnall on Fri, 11 Feb 2022 05:55:49 +0100

Operation bar and fragment of Android studio

Operation bar and fragment of Android studio Action bar and Fragment are new interface controls introduced by Android 3.0. To some extent, they are produced to meet the needs of interface design of large screen devices such as Android tablets. It has been further developed in Android 4.0 system, which can well support devices with different sc ...

Posted by dmarchman on Tue, 08 Feb 2022 10:10:37 +0100

Flutter entry series - file system

Because fluent is only a UI system and does not have the ability to operate the native system, it can not directly operate the file system. Therefore, it can only realize this function with the help of plug-ins. provider_path is a plug-in widely used in pub. Let's start accessing the plug-in to complete the corresponding file reading and writin ...

Posted by Clintonio on Fri, 04 Feb 2022 05:04:56 +0100

2021-06-10 Android layout

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it Android layout In the Android APP project, there are several layout methods: linear layout, relative layout, flat layout, absolute layout, etc. The most used are linear layout and relativ ...

Posted by theredking on Wed, 02 Feb 2022 07:56:28 +0100

Advanced knowledge of Android - Android threads and thread pools

The topic of this chapter is threads and thread pools in Android. Thread is a very important concept in Android. In terms of purpose, thread is divided into main thread and sub thread. The main thread mainly deals with things related to the interface, while sub thread is often used to perform time-consuming operations. In addition to the thr ...

Posted by AV1611 on Tue, 01 Feb 2022 23:12:06 +0100

Use Android Studio to debug the application of LiveTV: transplant, compile and debug at one go

1. Preface After the detailed explanation of a total of eight articles in "debugging system applications with Android Studio - TvSettings", I believe you have been able to make most of Android MK control system APK source code, transplanted into a project file that can be compiled and debugged with AS. Taking advantage of the hot ...

Posted by jl on Tue, 01 Feb 2022 00:57:22 +0100