Android: px, dp (dip), and sp
1. px: indicates the actual pixels of the screen. For example, a 320*480 screen has 320 pixels horizontally and 480 pixels vertically. If the unit of a specified space is px, in this case, the mobile phone displays the
Android Studio submitted git for use for the first time, androidgitInstallation:
Git client URL: http://git-scm.com/download/
Download the corresponding client based on your own platform. Take the Mac system AS an example. After the client
Androidannotations simple replication and click event (1), mui Click Event Replication
Now, the most popular android development framework briefly describes how to find controls and use events.
1. This method does not need to write setconteview.
@
MinSdkVersion: What is the difference between maxSdkVersion targetSdkVersion and target? targetsdkversion
MinSdkVersion
Description: The minimum sdk version supported by the app.
Purpose: If the mobile phone SdkVersion is smaller than the
Android component-based development (2)-RadioButton matrix for grid layout
**Preface
**In Android, we usually use RadioGroup to manage a set of RadioButton to achieve the mutex effect of single-choice buttons. However, in some requirements, the
Source code analysis of the main process of Android M Launcher3Background
I think there is no need to emphasize the question about Launcher. For some reason, I have been forced to study the Launcher3 Source Code recently. In order not to be as
Android Design Support Library -- TabLayout, androidtablayout
TabLayout -- tab layout. Switching views through tabs is not a new concept in material design. Tabs can be fixed or scrolling as follows:
You can use the addTab method to dynamically
In-depth introduction to SlidingMenu and slidingmenu
If you want to directly view the source code, you can download it from my Github: https://github.com/zhanghuijun0/demo-for-android/tree/master/SlidingMenu
SlidingMenu is an open-source Android
Android Study Notes (25): switches ViewAnimator and its subclass for views with animation Effects
ViewAnimator allows you to switch between views with animation effects. Its Derived subclass is a component with animation effect switching
Android Hawk database github open-source project
Android Hawk database github open-source project
Hawk is a very convenient database. You only need a line of code to operate the database and can store any data type.
Hawk is a simple key-value
Design Pattern-decorator pattern, design pattern Decoration
The decorator mode mainly embodies the principle of "opening to expansion and closing to modification" in the OO principle.
The modifier mode has the following features:
1. the decorator
The List. removeAll () method is invalid, and list. removeall is invalid.
The List. removeAll () method is invalid.
A few days ago, I encountered List. the removeAll () method fails and has not been tested for half a day. After debugging with the
Uncle also said Xamarin ~ Android ~ An array is transmitted between activities. xamarinandroid
When developing an application, we cannot use only one Layout or Activity. For example, if you have a management system that requires users to log in and
Based on CoordinatorLayout, roll up the navigation bar ToolBar, roll down the navigation bar, and roll out the coordinatorlayout
Activity_main.xml:
1 8 9 13 14 15 16 17 18 19 20 21 22 29 30 35 36 37 45 46 47 48 49 54 68 69
Simple Android custom Dialog instance
In Android applications, the most indispensable thing is the custom Dialog. The default Dialog style provided by the system generally does not compose the style of our applications.Custom Dialog requires three
Android handles slide conflicts with click events. android slide
Requirement: A ViewGroup has multiple controls, similar to the common Tab layout at the bottom. You can click to switch between these sub-la s or slide between the left and right sides.
Imitation UC weather drop-down and drop-down eye head fade in and out-third-party open source -- PullLayout, uc -- pulllayout
Android-PullLayout is a third-party open source project on github, the project home page is:
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