In Android, our applications can flexibly embed their own font files to enable normal display of personalized text on various mobile phones. We all know that the settypeface method of textview can set the display characteristics of the target text,
Many users find that their androidProgramThe titlebar area of is monotonous. If you want to personalize it, you can use the following method to customize a layout file for the title of your software. For example, the title bar of a Browser contains
For example, when a browser of Android loads a webpage, a small circle in the upper right corner of the title bar may rotate continuously because it does not contain the specific progress, many netizens may not find detailed operation methods in the
how to remove Android games Software advertisements: in many cases, we have downloaded an android game software, but it is annoying to get it advertised in the game software. Non-stop ads make people feel uncomfortable. When playing games, they
The application of the combination mode in Android is everywhere, that is, the use of the view and viewgroup classes. In Android UI design, almost all widgets and layout classes depend on these two classes.Composite pattern is a very clever mode.
====================================== 2011-08-26 ===================== ============================Sometimes, the most difficult thing is persistence; sometimes the lack of belief.====================================== 2011-08-07 ===================
The progress of human science and technology comes from exploration. The exploration comes from the original discovery. Of course, the app layout is not so advanced. This article is just a summary.This articleArticleIt is a must-have knowledge for
The factory method mode is often the beginner's Entry Mode of the design mode. Indeed, some people call it the most typical and most enlightening mode.There are too many factory classes in Android, which use the factory method mode. Of course, many
This article is a casual talk. Let's talk about the main interface layout of several popular applications. We can also find a classic layout.It is not to find out how difficult it is, but to understand that we really need to do so.Taking a question,
According to the preceding
Article In the listview drag implementation principle, we are also very easy to pull the gridview, the following is the same steps to achieve the basic gridview drag effect.
Because the gridview does not need to be
In recent work, the project needs to develop an android client that calls the WCF Service to obtain data. I have never done Web Service Development on Android before. I checked it temporarily and sorted out a complete example.
Download test code
Here is a simple record of how to build an android development platform in windows.
1. Download the android SDK.
The latest version is android-sdk_r05-windows.
Http://developer.android.com/sdk/index.html
2. Download JDK
Use superoneclick to obtain the root permission of the mobile phone:Z4root, universal androot, and superoneclick are the three most common tools for obtaining root permissions on Android mobile phones. Among them, superoneclick has the largest
1. mksdcard-l sdcard 512 M/root/. Android/sdcard. img
2. ApplicationProgramAdd the start and end functions of trace (For details, refer to the Development Documentation)
// Start tracing to "/sdcard/Calc. Trace"
Debug. startmethodtracing
The followingCodeCan be used to light up the screenPowermanager PM = (powermanager) getsystemservice (power_service );Mwakelock = PM. newwakelock (powermanager. acquire_causes_wakeup | powermanager. screen_dim_wake_lock, "simpletimer ");Mwakelock.
Android: windowsoftinputmode
How the main window of the activity interacts with a keyboard window that contains the screen. The setting of this attribute will affect two things:
1> soft keyboard status-whether it is hidden or displayed-When
Matrix is called a matrix in Chinese. It is introduced in advanced mathematics. In terms of image processing, it is mainly used for operations such as plane scaling, translation, and rotation.
First, we will introduce matrix operations. Addition
In the past two days, I have studied the paging effect of the reading software. Among them, ireader has a good effect. The effect is as follows:
Now let's take a look at my own results:
Draw a red line in it to determine the drawing
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