Fluent - Ali P7 tells me the ultimate screen adaptation scheme!!!
I believe that every mobile developer can't avoid this problem, that is, screen adaptation
At present, there are many mobile devices, and the mobile screen of different devices is also different.
At present, mobile terminal development should be adapted to different devices, whether it is mobile native development, applet, H5 page.
So in thi ...
Added by mathewvp on Sun, 02 Jan 2022 20:46:45 +0200
UiAutomator2+Pytest+Allure+PO Model for Android Automated Testing
Introduction to Uiautomator2
uiautomator2 Is a library for UI automation of Android devices using Python. The underlying layer is based on Google uiautomator, which provides a library of uiautomators that can take and manipulate any control property of any APP on the screen
Environment Setup
Install JDK, see This article Install Android SD ...
Added by zoki on Sun, 02 Jan 2022 18:24:42 +0200
How ViewModel saves state
1, Foreword
Although ViewModel has helped us deal with the data retention problem caused by page destruction and reconstruction caused by screen rotation, the data is not saved for page destruction and reconstruction caused by insufficient memory. This article mainly makes a unified improvement and arrangement according to the official doc ...
Added by centenial on Wed, 22 Dec 2021 18:26:05 +0200
[Android] flexible layout -- FlexboxLayout
introduce
When it comes to layout, we all know ConstraintLayout, LinearLayout, RelativeLayout and so on. Today, let's introduce the FlexboxLayout released by Google I/O in 2016. It is said that this layout is called the advanced version of LinearLayout. Compared with LinearLayout,FlexboxLayout mainly has a "line feed" feature.
Flexb ...
Added by procoder on Sat, 11 Dec 2021 11:30:04 +0200
Android Development: explanation of Jetpack Compose Button,IconButton and other buttons
preface
This article will explain the usage of Button, iconbutton, extendedfloatingactionbutton, floatingactionbutton, icontogglebutton, outlinebutton, RadioButton and textbutton in detail. Please read below if you are interested
1: Button usage
Let's take a look at the source code of the Button (the OutlinedButton has the same properties a ...
Added by zulx on Fri, 10 Dec 2021 10:53:52 +0200
Android Application Development - layout and controls
When we open an app at random, the interface displayed in front of us is displayed by the layout or the layout containing controls
layout
Layout is how to arrange the controls it contains. Common layouts include linear layout, RelativeLayout and. FrameLayout. Of course, there are other layouts that I rarely use in development. ...
Added by malcome_thompson on Sat, 04 Dec 2021 03:56:37 +0200
Android learning column - Baidu map moves to my location (picture and text + code)
Series articles
Tip: go to the Android learning column and watch more! Click me directly – > Android learning column
preface
Create a new project named LBSTest. Baidu map (6) moves to my location (picture and text + code) The map is successfully displayed, but maybe it's not what you want. Because this is a default The map s ...
Added by kbdrand on Wed, 24 Nov 2021 03:52:24 +0200
Common Controls and Event Processing for Mobile Device Application Development PC 2
1. Title: Interface design.
(1) Develop a single page APP. (2) Linear Layout TAB page: Display personal related information, using TextView, EditText, Button, CheckBox and other controls. (Page content can also be designed by itself) (3) "Touch Screen Processing" TAB Page: Implement touch screen function in specified areas. (4) Other ...
Added by kidbrax on Thu, 07 Oct 2021 19:36:21 +0300
Android Studio realizes the functions of simple dialing, SMS sending, camera calling and map opening (Android Studio learning notes 3)
1, Simple dialing
Dialer Interface:
Dial up with intent to realize the code:
At this time, dialing error occurred:
Because you don't have permission, you can't dial, so you need to get permission first.
First set permissions in the configuration file:
<uses-permission android:name="android.permission.CALL_PHONE"/>
...
Added by DefunctExodus on Wed, 22 Sep 2021 10:56:04 +0300