PrefaceAndroidDiverse mobile phone resolutions,In this way, our applications must be adapted to devices with multiple resolutions..
There are three main considerations for applications:
1)Interface Configuration
Create mobile phone interface
This article describes the basic knowledge and related solutions for implementing push methods in Android. The application scenarios of the push function in mobile phone development are getting started. If we don't talk about anything else, the news
This article demonstrates how to implement ListView in AndroidRounded cornerEffect.
People like to see some novel view effects on websites and apps. Looking at the right corner, I want to see the rounded corner. In recent years, there has been a
This document uses Matrix to scale and rotate images in Android. The sample code is as follows:Package com. android. matrix;
Import android. app. Activity;Import android. graphics. Bitmap;Import android. graphics. BitmapFactory;Import android.
In this example, Android uses gestures to drag and drop images. The running effect is as follows:
The Code is as follows:
Package com. android. drag;
Import android. app. Activity;Import android. content. Context;Import android. graphics. Canvas;
This topic describes several calendar controls on the Android platform. Calendar controls have many solutions in Web development and are easy to implement. However, there are few and not easy to implement solutions on the Android platform. The
This article demonstrates how to draw and display chart examples on the Android platform. This example is based on RChart 2.
Charts and statistical data are often used in a system. In WEB development, drawing charts is simple because there are many
This article describes how to achieve continuous sliding of images in Android.
Before that, I wrote a few articles about the sliding effect in Android. After all, the sliding effect is also frequently used in Andriod development. If you are
Frontier:
Projects usually need to display a piece of text. If you need a specific effect on the text, you need to write a custom span, which will increase the workload. Currently, android supports html text, the following is my summary of the
This article describes how to configure the map function of android.
Step One download google in android sdkAPI
Note: In android, the maps function is not a standard api of google. google puts the API in its own library. Before developing the
Note: before installation, make sure that your logon SYSTEM account is not a Chinese account.
Chinese account Eclipse cannot recognize folders of Chinese accounts
Step One install Java and configure system variablesGo directly to: http://java.com/zh_
1. Implementation results
Button normal effect
Button-click Validity Period
2. Now the pivot effect button
The button for implementing the perspective effect focuses on two points:
1. Button background implementation
2. Button font color
First, let's look at a question.
Page configuration source code
Android: id = "@ + id/but_gotogame"Android: layout_width = "wrap_content"Android: layout_height = "wrap_content"Android: gravity = "center">
(In the dialog box, in the TableLayout
Document directory
Requirement Description:
Package Resources
1. Read the resource files in the jar package through the AssetManager class
Use the ClassLoader class to read resource files
Requirement Description:
During project
1Effects to be achieved:
To implement the business, select the image effect.
Implemented:
2Solution:
The background attribute and padding attribute in the ImageView control are used to display the border outside the image, and the border
1. Set the horizontal line color and height between items in listview.
android:divider="#8E8E8E" android:dividerHeight="1px"
2. Set ListView to black when multiple items are selected
android:scrollingCache="false"
3. Set ListView to select
After the release of iPhone 4S, siri voice functions have become a hot topic for the moment. In the past few days, I want to write an android Application similar to siri. The following are two key technical points:
1. Speech Recognition:
Private
Preface:
During Android development, public functions are encapsulated into components for subsequent application development. The following describes how to package components in Eclipse and use them in other applications.
(If you are engaged in
1Implementation Effect description:
1.1DisplayLoading
1.2 after the question information is loaded, bind the question
1.3 loading failed, goLoading failed
2Asynchronous loading implementation
2.1Interface settings
Interface before
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