Android learning notes-ScrollView (scroll bar), android-scrollviewThis section introduces:
This section introduces the tenth basic Android UI control:ScrollView(Scroll bar), or we should call it a vertical scroll bar, corresponding to another
BottomNavigationView combined with ViewPager and viewpager
BottomNavigationView is a bottom navigation bar component launched by Google. Before these bottom navigation components are available, Android Developers mostly use RadioGroup, in the
Slide to close the activity.
I always think it is cool to slide the activity function and want to add this function to my project. I found a good idea on the Internet.
Use ViewDragHelper.
First, you must set the theme of the activity to make the
Copper Street 1 -- TextSwitcher achieves text flop up and down effect,
TvNotice = (TextSwitcher) rootView. findViewById (R. id. TV _notice); tvNotice. setFactory (new ViewSwitcher. viewFactory () {// here is used to create an internal View. Here,
Android Development notes (8) -- Call sub-Activity, androidactivityReprinted Please note: http://www.cnblogs.com/igoslly/p/6853730.html
Call a sub-Activity
The return value of a child Activity is required.
MainActivity uses
Android GreenDAO3.0 -- entity modeling, androidgreendao3.0Introduction
In the project, to use the automatic generation of DAO class by GreenDAO, we must establish an entity, which is identified by java annotations.
Schema is a collection of
Android learning notes-EditText (input box) (2), android-edittext
Reference: http://www.runoob.com/w3cnote/android-tutorial-edittext.html
6. Control the distance between the four sides of EditText and the distance between the internal text and the
Like the perfect TAG gradient at the bottom, the tag gradient
Viewpager + fragment: the bottom TAG is a perfect gradient. The color of the word changes while the image is gradient. Note that it is a gradient!
:
Activity_main.xml
Solve the DELETE_FAILED_INTERNAL_ERROR Error while Installing APK problem in android studio, whileinstallingapk
During ionic2 development, DELETE_FAILED_INTERNAL_ERROR Error while Installing apk appears when android studio is used to package the
Android Development notes (5) -- method call (basic), android notesReprinted please note -- Blog garden igoslly: http://www.cnblogs.com/igoslly/p/6833544.htmlIn actual method calls, the program is executed sequentially until "}" is completed. To
SharedPreferences: sharedpreferences
Link: http://blog.csdn.net/zhang31jian/article/details/23258065Two methods for obtaining SharedPreferences: 1. Call the getSharedPreferences () method of the Context object; 2. Call the getPreferences () method
Android OKhttp request encapsulation and Android okhttp Encapsulation
Currently, the network tool used in Android development is OKhttp, but it is not very convenient to use okhttp. encapsulation of requests based on okhttp greatly facilitates
About Hybrid App development and hybrid App development
I. Concepts
Hybrid App development, as its name implies, is a development model. It refers to the development of an App. Some features are built using native and some functions are built using
Express Logistics Information layout, express Logistics Information
Idea: For a ListView, each item is a logistics information. Each item is divided into the left and right sides. The left side is a progress bar style, and the right side is a
Android 4.2 and later flight modes, android
After Android 4.2, the system does not allow third-party software to set the flight mode unless your app is a system application and you get the root permission.
// Modify @ SuppressWarnings ("deprecation")
Static PhotoLibrary in Ionic2/angularJs2 cannot be called, ionic2angularjs2PhotoLibrary call error: No provider for PhotoLibrary;
Photolibrary is used when calling photo album files. There are always some inexplicable errors. I was overwhelmed by
Simple Socket for android instance, socketandroid
I have been implementing socket communication recently, so I wrote a demo for simple implementation. I used the original socket implementation and the MINA framework.
Download demo:
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