Recently in writing an application, want to put the Settings page and application page together, so that users can see their settings in real time to the impact of the UI, so more convenient to set the user's favorite interface. After a while, I found that this effect can be achieved by using the Slidingdrawer control. Which is a drawer. Pull open the drawer, occupy half of the screen, the other half of the screen or display application page. The effe
Original post link: http://rayleung.javaeye.com/blog/411860
When I first came into contact with Android Thread Programming, I used to be like Java and tried to solve the problem using the following code.Java code
New thread (New runnable (){
Public void run (){
Myview. invalidate ();
}
}). Start ();
However, this is not possible because it violates the single-threaded model: Android
Originally, I wanted to re-write a similar UI. I didn't want to use the snkelayout function. unexpectedly, I drew some time to design the position. The effect is as follows:
Main file: newsnake. javapackage com. newsnake; import Android. App. activity;
Import Android. OS. Bundle; public class newsnake extends activity {
/** Called when the activity is first crea
Android UI-PullToRrefresh custom pull-down refresh animation,
Android UI-PullToRrefresh custom pull-down refresh Animation
If you think this article is good, please vote, 2014 blog star voting address: http://vote.blog.csdn.net/blogstar2014/details? Username = wwj_748 # content
This blog post will share with you how t
as the old one, the overall application scale will increase, which reduces the advantage of using the new format.
3. Use subtle animations and colors to present state changes
You can use a subtle animation and UI to control color changes during the screen transition to present application state changes, which will make your application more professional. For example, the fade-in and fade-out between activities make the screen more natural. changing t
Article Description: Android 3.0 (Honeycomb) interactive ui design specification.
Android OS since the listing, because of the lack of unified planning, so that different equipment in 1.5, 1.6, 2.0, 2.1, 2.2, 2.3 several major versions of the wandering, I used the HTC Hero (commonly known as G3) is also a version from 1.5~2.3, 10 more ROM manual brush
Recently want to learn the Android process in the handler experience to write down, for yourself to see later, also share with you.Using handler actually has to do with threads in Android or multithreading in Java. This article only uses the most basic thread to use, does not involve too the Android thread we will discuss later. For each new activity in
From: http://www.eoeandroid.com/forum.php? MoD = viewthread tid = 189357.
Updating ....... All excellent products
Android project-special page effect set (with source code) http://www.eoeandroid.com/thread-188164-1-1.html
Android UI sliding load source code http://www.eoeandroid.com/forum.php? MoD = viewthread tid = 187505.
The use of XML resources such as th
This article describes some free UI libraries and component resources on the Android platform.
In just a few years, the Android platform has formed a huge and active developer community. Many community-developed projects have entered a mature stage and can even be used in commercial software production without worrying about quality issues.This article is compil
recommended colors for Android UI---interface developmentIn the Android development process, always to add some background to the app, the individual think that the use of pure color can achieve elegant visual effect.Add some common color values: Colors.xml1 How to configure colors with Colors.xml filesandroid:background="@color/tan"The lookup is based on the lab
When an android program starts running, a process is started separately. By default, the activity or service (Service and activity are only two types of components provided by Android, and content provider and broadcast receiver) in this program will run in this process.By default, an android program has only one process, but a process can have many threads.Among
IntroductionFor the program to run on different sizes of Android machines, the applicability of the UI caused additional overhead, but the advent of qualifiers, it is convenient to solve the problem. Resolve the load of the resource by creating a qualifier-related folder.Qualifier useQualifiers (MDPI,TVDPI,HDPI) help us to determine screen densityQualifiers (Land,port) help us to distinguish screen statusQu
IntroductionFor the program to execute on different sizes of Android machines, the applicability of the UI caused additional overhead, just the qualifier, it is very convenient to overcome the problem. Resolve resource onboarding by creating qualifiers related folders.Qualifier useQualifiers (MDPI,TVDPI,HDPI) can help us infer screen densityQualifiers (Land,port) help us to distinguish screen statusQualifie
Download and learn the source code of the Android UI component instance, which is helpful to your learning. The following is the information in the download package.1. Display GIF animated GIF view on AndroidGifView is a view that does not display gif directly in android. It can only be used by mediaplay to display the problem. It is the same as ImageView and sup
I occasionally see this on the internet todayArticleHttp://hold-on.iteye.com/blog/991403
1. We all know that in Android development, non-UI threads cannot operate controls in the UI thread, that is, the UI is non-thread-safe;
2. When the setprogress (INT count) method of the progressbar control is called in the wor
Today occasionally on the Internet to see this article http://hold-on.iteye.com/blog/991403
1, as we all know, in the development of Android, non-UI threads cannot manipulate controls in the UI thread, that is, the UI is not thread safe;
2, but when the setprogress (int count) method of the ProgressBar control is inv
Google Play to download and install nine old androids Sample to view the demo.3. Pull to RefreshThe Android system provides a ListView control for us, and the ListView can show us rich content, and sometimes we need a better and more user-friendly experience to improve the user's health. By using pull to refresh, we are able to implement a drop-down list to refresh the current page content.4. Progress WheelProgress Wheel is a scrolling progress bar t
In the forum, we often see people asking how to achieve the drag effect of UC or moji weather. In fact, most implementations refer to the workspace class in launcher. We can see that an open-source project also implements this function.
View flow for Android
Viewflow is an android UI widget providing a horizontally scrollable viewgroup with items populated fromAn
event queue of the UI thread.If the current thread is the main UI thread, execute the runnable code directly, otherwise runnable post to the message queue of the UI threads. -- Just look at the code implementation.ParametersAction the action to run on the UI thread Public Final void Runonuithread (Runnable action) {
List View plays a major role in the android UI. If listview is not properly written, the program performance will be greatly affected.
Here is an example of a project listview. The key is the implementation of the complex UI of listview.
The final effect is as follows:
package com.test.list;import android.app.ListActivity;import android.content.Context;import
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.