One, commonly used units: relative units mainly: PX, SP, DPabsolute units mainly include: PT, in, MM
Second, the Unit application summary: The general use relative unit, but not absolute unit1, the size of the general use of the SP, the font of
There were a lot of Chinese users. The operation interface of the Blue finger simulator is neither beautiful nor commercial, so we have specially prepared this tutorial, hoping to make up for the lack of commercialization with a more convenient
Case four custom switches:
Function Introduction: The function of this case is to create a custom switch, you can decide the background of the switch. When the slide switch, the slider of the switch can follow the finger to move. When the finger is
The examples in this article describe ways to connect WiFi and create WiFi hotspots. Share to everyone for your reference, specific as follows:
Android's hotspot features are not visible, with the technology of reflection being done.
Eclipse
1 in the Android phone interface we only need to click on the "Standby interface" and then click "Phone", then we find the "dial-up interface" Input "* #06 #" input, as shown in the figure:
2 and then you can see the Android phone IMEI number,
The RE file manager must be installed we need to install a re file manager on the Android phone before we can view the WiFi password.
1. Mobile phone installation re File manager
2. Then we open the phone in the "RE File Manager" below
3.
Recently handled some memory leaks in the work, in this process I found some basic problems instead of causing memory leaks, such as static variables, cursor shutdown, thread, timer, reverse registration, bitmap and so on, I have a little statistics
The example in this article describes the way Android implements a partial or scrolling display when TextView text is too long. Share to everyone for your reference, specific as follows:
There is a Ellipsize property in the TextView that shows how
Recyclerview has been out for a long time, but in the project before the use of ListView, the recent new projects have been a large number of use of recycleview. In particular, the waterfall flow of the Drop-down refresh, online bar is not the right
This example shows how Android realizes the number of missed calls and unread messages, which is very common in Android program development and is a very useful feature that is now shared for your reference. Specifically as follows:
First, unread
This example describes the dynamic wallpaper of Android programming. Share to everyone for your reference, specific as follows:
Since the Android 2.1 version introduced the concept of dynamic wallpaper, people familiar with Android will not be
Alarmmanager is usually used to develop the phone alarm clock, and it is a global timer that can start other components at a specified time or a specified period (including activity,service,broadcastreceiver)
Get Alarmmanager object:
1 first download the corresponding Linux JDK version on the JDK website. After entering the website, first select Accept License Agreement and then download. My Linux system is Ubuntukylin 16.04 64-bit, so choose 64-bit system downloads.
2, and then
HTTP URL link, an error occurs, mainly because in the main UI thread, the Networkonmainthreadexception exception is thrown by using network invoke (network call).
Version: API level above 11.
You can avoid this situation by using a simple thread
Keywords: Android keyguard lock screen cannot be displayed in full screen. The unlock page becomes smaller.
Platform: s5pc110 s5pv210
System: android2.3 android2.3.4
Problem description:
After the Board is burned for the first time (updated with
Visual Studio Emulator for Android first experience, emulatorandroid
Visual Studio Emulator for Android has been released for a while, but it has never been used. After downloading and installing it two days ago, the overall experience is much
Monkey test ==== monkey test is used to check app Memory leakage and cpu usage, and monkeyapp
Monkey testing has been being studied recently. There are a lot of online materials, but they are all copied one by one. Few Original
I will sort out the
Android data storage and android Data StorageSharedPreferences and Editor
As long as SharedPreferences stores data in a format similar to configuration information, SharedPreferences stores data in a simple key-value pair. Diagram below
We can see
Use Java code to create a view. Use java code to create a view.Use Java code to create view 1. Introduction
Knowledge needed
Ii. Method
1) create a view using java code* 1. Create a view object first
View view = View. inflate (this, R. layout.
Mobile Game channel SDK access tool project sharing (2) Everything starts hard, mobile game sdk
After receiving the task, programmers usually start to conduct technical research, but I am the project owner. There are a lot of things to be prepared
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service