Android Development Digest set 1: android digest set
Author: Zhang mingyun
Original Title: What are precautions for Android development?
Author: github homepage: zmywly8866.github. io/
In the Android library, you cannot use the switch-case
Android -- Obtain the title bar, status bar, screen height, and android -- title bar
Retrieve the Status Bar Height
Rect frame = new Rect (); getWindow (). getDecorView (). getWindowVisibleDisplayFrame (frame); int statusBarHeight = frame. top;
Android shape xml file, androidshapexml
The xml file of Android shape can be used to write different shapes, backgrounds, borders, rounded corners, and other effects. It can be used to reduce the size of the resource file by replacing many. 9 images.
Android development self-study note (Android Studio)-4.3ImageView and its subclass, androidstudio self-studyI. Introduction
ImageView inherits from the View component and is mainly used to display images. In fact, it can display not only images, but
Android Studio-4.4 AdapterView and its subclass, androidadapterviewI. Introduction
AdapterView itself is an abstract class, and its derived sub-classes are similar in usage, but there are some differences in display, so they are also classified as a
Introduction to Android performance tuning tools and introduction to Android Performance TuningTraceview
Traceview is a graphical viewer for execution logs. These logs are recorded by using the Debug class. Traceview can help debug application and
The pitfalls for sending broadcast packets through Android SocketThe Socket broadcast package is often used for mutual discovery and message transmission between two devices in the LAN. During Android Application Development, such requirements are
In Android Camera API2, CameraMetadata is used for parameter interaction from APP to HAL.
Frontier:
Under the brand-new Camera API2 architecture, some people may doubt that they will no longer be familiar with SetParameter/Paramters and other
Android 6.0 featuresNew feature 1: App Permissions (software permission management) in Android 6.0, the App license prompt can be customized. It allows high management of application permissions, such as whether the application can use the location,
Basic Android control TextView
TextView introduction:
TextView is the most basic component of the UI. You can use TextView to display rich text information. The most common way to add a TextView is to add a TextView element in xml and specify
Android xUtils frameworkIntroduction to xUtils
The code is simplified through reflection and annotation. xUtils is derived from the Afinal framework and is heavily reconstructed by Afinal. This enables xUtils to support uploading large files and
Dpi, ppi, dip, dp, px, sp, dpippi
Basic Concepts
1. dpi (dots per inch): The number of dots per inch; ppi (Pixel per inch): The number of dots per inch. Designed for the monitor, dpi = ppi.
2. dip (device independent pixels) devices are
Android studio cannot preview layout files on the visualization page.
Rendering ProblemsThe following classes cocould not be found:Android. support. v7.internal. widget. ActionBarOverlayLayout (Fix Build Path, Edit XML, Create Class)Tip: Try to
Introduction to Android development (1) installation and configuration of Java Jdk, androidjdk
1. First download the latest JDK from www.oracle.com
2. continue to the next step until the installation is complete.
3. Enter the java-version command in
Is the Android system MIUI, Flyme, and EMUI?
// Read system configuration information build. prop class import android. OS. environment; import java. io. file; import java. io. fileInputStream; import java. io. IOException; import java. util.
Understand the use of the android animation Interpolator class from the source code perspective
People who have done android animation should be familiar with Interpolator. This class is mainly used to control the execution rate of android animation.
AsyncHttpClient encountered problems and solutions
In a previous project, the layout of the project is as follows: a Viewpager with three Fragment entries in the Viewpager, A ListView In the second Fragment, and a BaseAdapter is used to display the
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