Before studying the window mechanism of Android, we need to give a brief introduction to its main class graph relationships and the dependency and call relationships between layers.
1. The present form of window in the current Android system is the
65. androidsidemenu
Androidsidemenu allows you to easily create slide menus. Note that the project itself does not provide any tool for creating menus. Therefore, developers can freely create internal menus.
66. Android-appmsg
Today, for some reason, to receive a task, we need to merge two versions originally released in the form of two APK packages. Because of their complementary functions, we hope to merge these two projects into one project. After carefully sorting out
Using eclipse
This document will help you set up the Eclipse IDE for Android platform development.
Note: If you are looking for information on how to useeclipse to develop applications that run on Android, this is not the rightpage for you. You
We know that layout is a very important part of Android development. I still remember that when I first entered the company, the layout of the interface was very poor, and the interface was very fake, let alone layout.EfficiencyIf the UI is poor,
Scrollview. When the content exceeds the entire screen or container, use scrollview.
In addition, scrollview can have only one direct sub-element.
The usage of scrollview is very simple. Here we mainly talk about the usage of scrollbar in scrollview.
1: Android: addstatesfromchildren recently made a project login Interface UI, because there is no professional artist's drawing, many materials need to be collected by themselves, sometimes it is inevitable to steal images from other works. However,
The sharing functions in the android program are divided into third-party program sharing, that is, using QQ space, QQ Weibo, Sina Weibo, Renren and other third-party packages for sharing;
There is also the use of local programs to share, such as
We all know that the height of the control obtained in oncreate () is 0. Why? Let's take a look at the example:
First, we can write a control, which is very simple:
Public class myimageview extends imageview {public myimageview (context,
Original: http://zuiniuwang.blog.51cto.com/3709988/720070
Every time I forget it, write it down and find it easily. The code is copied from the current project. First, let's get a relativelayout
Private void setlistpath (context,
Summary1. I found that the Left, right, top, and bottom values of the view are different from those of the invalidate process. Now I want to analyze the specific meanings of these values. 2. Understand coordinates. The concept of position involves
We all know that the height of the control obtained in oncreate () is 0. Why? Let's take a look at the example:
First, we can write a control, which is very simple:
[Java]
View plaincopy
Public class myimageview extends imageview {
Public
Some time ago, I was developing an application collaboratively. I opened the final submitted project file and found the activity in it. The service component class accounts for only 40% of all class files, and the rest are classes of auxiliary
Create an android project. The res directory will generate a layout folder by default. layout files are stored here. Now, two sets of layout files are loaded for the activity on the horizontal screen and landscape screen respectively, you can use
An adapter can be seen as a bridge between data and views. Data is organized and displayed on the View Interface (usually used with listview) in a certain way ), similar to the adapter mode in Java I/O. Describes the relationship among data, adapter,
Document directory
2.1.1 read/write permission
2.1.3 path permission
This article is an original article. You are welcome to repost it! Please indicate the source when reprint: http://blog.csdn.net/windskier
Android provides a solution for
Viewroot is a bridge between the GUI management system and the GUI presentation system. According to viewroot's definition, we find that viewroot is not a view type, but a handler.
Its main functions are as follows:
A. Distribute events initiated by
Android Input System
According to the Convention, the essence of the input system is described before the android input system is studied: from a philosophical point of view, the input system is used to solve the problem of where and where to go.
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