1 Android learning notes: graffiti on pictures (clear screen)
2 Android Study Notes
3. Go to Android Study Notes and go to step 20 to get the thumbnail of the image.
4 Android Study Notes: Advanced 19: Adding borders to images
5. Draw a
Many reflection effects on the Internet are actually a symmetric transformation. You can change the transparency.
Matrix symmetric transformations include many types, including Y-axis symmetry, X-axis symmetry, and y =-x symmetry.
1. Y-axis
1. Android: Orientation
Layout direction. Horizontal is used to arrange all child elements horizontally from left to right. Vertical is used to arrange all child elements vertically from top to bottom.
2. Differences between Android: gravity and
Android: layout_above: Move the control's bottom to the control with the given IDAndroid: layout_below: place the top of the control under the control with the given IDAndroid: layout_toleftof align the right edge of the control with the left edge
Https://github.com/koush/UrlImageViewHelper
Usage
Urlimageviewhelper will automatically download and manage all the web images and imageviews. duplicate URLs will not be loaded into memory twice. bitmap memory is managed by using a weak reference
APK learning cluster A filemanager is an excellent start
Http://www.openintents.org/
Http://git.android-x86.org /? P = platform/packages/apps/filemanager. Git; A = commit log; H = refs/heads/gingerbread-x86
*****************************************
Http://indure.chinaunix.com/space.php? Uid = 20723576 & Do = Blog & id = 1887152
Sensors on Android 2.3-Gingerbread
Sensors
On Android 2.3-gingerbreadandroid 2.3 (codename gingerbread) was officially released amidst huge hype and fanfare last week
1. Normal menu
Let's take a look at how to implement the simplest menu.
Override the oncreateoptionsmenu (menu) method in the main activity.
@ Overridepublic Boolean oncreateoptionsmenu (menu) {// todo auto-generated method stub/menu. add (0, 1, R.
Tablelayout is a complex layout. The simplest method is to drag the control to make an interface. However, tablelayout is often used in the Code, for example, to make a table. This topic describes how to use tablelayout.
1
The spinner is equivalent to the drop-down list box in HTML. In the following example, we will learn how to use the spinner.
Attribute:
Attribute name
Description
Android: Prompt
This prompt is displayed in the
Introduction
This is used to select a view of the time of a day. The 24-hour and morning/afternoon modes are supported. You can use a vertical scroll bar to control the hour, minute, and morning/afternoon (if available. Enter the hour on the
Introduction
In Android, there is an expandablelistview, which can be extended. The listview is the kind of display list that can be expanded by clicking it, And then clicked to contract back.
A view shows two levels of vertical scrolling list of
Introduction
A hierarchical layout container that allows users to scroll and display more content than the actual one. Scrollview isFrameLayoutThat is, you need to place a child element with its own scrolling content on it. A child element can be
How can we interact with the android program? To make the android program respond accordingly, we have to use Keyboard Events, touch events, sensor events, and so on.
The keyboard is the main input device in Android, and the response to the buttons
The most common thing we see is Frame Animation, which is indispensable in Android. It is easier to use. You only need to create one
The animationdrawabledf object represents the Frame Animation. Then, the addframe method is used to add the content
Here we will not talk about cocos2dxandroid environment setup. We will talk about porting it directly!
(Please refer to the http://blog.csdn.net/aa4790139/article/details/8086635#comments for Environment setup)
1) Build a cocos2dx for Android
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