The pop-up PopupWindow in the imitation qq space displays more operation results according to the position, popupwindow
When we open the QQ space, an arrow button is displayed, and the pop-up PopupWindow will be displayed at or below the arrow based
Use Notification in Android to implement wide view Notification bar (notification Example 2) and Notification Large View
Notification is a message displayed outside of your application's general interface. When the app asks the system to send a
Detailed description of the inserted Sorting Algorithm and detailed description of the Sorting Algorithm1 Diagram
Android learning manual addressThe android learning Manual contains nine chapters and 108 examples. You can view the source code
In Android, ImageViewSwitcher is used to implement image switching and carousel navigation,
Previously I usedViewFlippeR andViewPagerEffects of switching between visual charts on the screen (ViewPager does not implement carousel) Link:
Use
Common android frameworks and android
1. Volley and Retrofit network framework2. ormlite and GreenDao database framework3. AndroidAnnotations, butterknife, and Dagger annotation framework4. responsive programmingResponsive extensions on RxJava
Android6.0, android6.0
Although android is now out of 7.0. However, most users should use 5.0 and 6.0.
For developers, the major changes should be those before and after 6.0.
This is because the dividing line of "6.0" has a relatively pitfall:
The variables in Kotlin are different from those in Java: var for val (KAD 02) and kotlinkad
Original article title: Variables in Kotlin, differences with Java. var vs val (KAD 02)
By Antonio Leiva
Time: Nov 28,201 6
Link:
Android notes -- ContentProvider, -- contentprovider
Unusual access methods of providers
Batch access: Access ContentProvider's central mode. This mode allows you to perform multiple operations on the provider at the same time, and supports
File Cache (with JSON array), cache with json Array
1. Write to cache: Create a folder, convert the array in the list set to a JSON array, and save it to a folder.2. Read cache: Read the JSON array from the folder, put it into the list set, and
Android UI: ListView, androiduilistview
SimpleAdapter is the best scalability adapter that can define various la s you want and is easy to use.
Layout:
1 2 6 12
Header layout:
1 2 5 9
Custom Layout item:
1 2 6 11 15 20
Android Support package knowledge, androidsupport
The Android Support Library package is a set of code libraries that provide compatibility with later versions of framework APIs. These code libraries achieve the same effect as APIs that can only
When ViewPager is used to switch Fragment, it prevents frequent calls of OnCreatView and fragmentoncreat
Use ViewPager to switch to Fragment. I used the built-in adapter FragmentPagerAdapter.
When switching fragment, oncreatview () is frequently
Design 5 (6) principles and design principles
The following basic principles must be followed for elegant and clean code.
1. Single Responsibility Principle SRP (Single Responsibility Principle)
Class, module, and method should have only one reason
The Dialog (horizontal full screen) and androiddialog are displayed at the bottom of Android.
A pop-up box at the bottom is often needed in the project. Here I will sort out a satisfactory method (a horizontal full screen dialog is displayed at the
In AndRodi Strudio, the button time is androdistrudio.
When registering a button in AndRodi Studio, you must write it in onCraete.
@ Override protected void onCreate (Bundle savedInstanceState ){
// Use the following code to create an event
My First Android Application Project: The First android Application, Android android
I. Preface:
Android ):Is a Linux-based free and open-source operating system.It is mainly used on mobile devices, such as mobile phones and tablets. Other devices
RadioButton and CheckBox, radiobutton
I have been engaged in database development for a long time. Forget it. Because I have been using a small language (PowerBuilder), let's talk about these two most common controls!RadioButton (single choice) and
Eclipse-after the android project is imported, it identifies the problems and solutions of the java project. eclipseandroid
I encountered a strange problem when importing android projects in eclipse recently.
The problem encountered was: it was
Android studio is a habit of operations and androidstudio
1. Modify the font
Click File in the upper left corner and select settings .... choose Editor> Colors> Fonts> Font and click Save... in the dialog box, enter the name and click "OK". Select
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