UI debugging when the programmer is a headache problem: sometimes 1DP, 2dp problems, get speechless (Android development deep Experience)Here is a common debugging tool in the actual development process, can be accurate to each view in the absolute position of the screen (accurate to the specific PX), with such a tool,
ArticleDirectory
I. Android asset Studio
Ii. Android design Preview
Some developers may feel that the user interface design and implementation in Android development is simple and troublesome, and there is a lack of effective help and support. The Android-ui
Android form UI and event processing of corresponding controls, android form ui controls1. ToastToast is a lightweight reminder tool that displays a line of text to prompt responses to user operations. Usage: Toast. makeText (context, text, time ). show (); context: context,
Android Optimization-UI optimization (1), android ui OptimizationOptimize layout level 1. Avoid layout mosaic depth (as shown below)
We can remove the id as follows:main_ll_duoyuThe LinearLayout of can also achieve the desired effect (the effect is as follows)
2. Use tools to view the Layout
Android: an efficient UI is a popular UI (2). androidui
While the boss is not secretly leaving work early tonight, he has time to continue to talk about the pain of uidesign. This is also an example of the previous article "Android: an efficient UI is a great
extraordinary, and efficient UI interface is a very grey and awesome interface design.IntroducedIn Android applications, writing an interface in hard-coded ways is not a recommended approach. Of course, the hard-coded interface is more efficient and flexible than the XML-based soft-coded interface, but it's not easy to maintain, and the intricacies of the code will make the program bury the Thunder, and th
Android's automated testing has many frameworks, where UI Automator is the official black-box UI-related automated test tool (GitHub homepage: Case used in Java, and today we practiced the sample program in the official document, There are still some small problems to be summed up.Environment Preparation:1.JDK (yes, you are not mistaken, basic
Android: an efficient UI is a popular UI (1)
Opening
Android is an operating system running on mobile terminals. The biggest difference with traditional PCs is the shortage of resources on mobile terminals, it should be described as "very" to be reliable. Therefore, it is often the case that some software is terminate
running Android 4.3 (API level 18) or later.The UI Automator test framework is a instrumentation-based API and is used with the Androidjunitrunner test Runner.Set UI AutomatorBefore you build your UI tests using UI Automator, be sure to configure the test source code locati
In the interface design of the Android UI Development topic (i), we introduce the Android platform Resource usage and bitmap related classes, and then give you an example of how various classes are useful and attentive. Today we continue to understand the more important drawing classes in the Android.graphics package.
First, Android.graphics.Matrix
Some common
Http://www.android100.org/html/201505/24/149342.htmlUI designers need to know Android screen knowledge-Android 100 share a lot of designers and engineers are confused by the numerous screens of Android devices, I do both UI design, but also part of the Android interface layo
(R.layout.loadingView,this,true);
(2) convertView Cache Usage of items in BaseAdapter. For details, refer to "usage and optimization of BaseAdapter".
PS: I wrote a blog post for the first time, but I cannot read it ......
2. avoid having too many views
Each view consumes memory. If too many views are arranged in one layout, the layout occupies too much memory. If a layout contains more than 80 views, layoutopt may give the following suggestions:
-1:-1Thislayouthastoomanyviews:83views,it
Universal Image Loader: An open source UI component built for Android
colorpicker: Color picker for Android platform
segmented Radio Button: A UI tool that enables segmented control effects on iOS on Android
PhotoView
with complex build logic and migrated 3 projects from Ant/maven to Gradle within 24 hours. Gradle's dependency management is great and supports getting (pulling) files from Maven and Ivy warehouses as well as multi-project builds. I have to say: Gradle is the new Android official build tool, the relevant Android plugin will soon be developed and supported in the
UI parts and binds entries using the Adapter.
8. RibbonMenuIs a navigation menu component on Android. For the three target files, the menu items are directly defined in XML, and text and Icons can be added.
9. Android UI toolkit android-
Reference to:http://www.android100.org/html/201505/24/149342.htmlMany designers and engineers are confused by the screen of Android devices, I do not only do UI design, but also part of the Android interface layout, just about this piece of content is familiar with, also in the company has done related lectures, in this, I will this part of the knowledge to re-co
, previewing in Android Studio 2.2 in the built-in template of the New Project Wizard now produces a constrained layout. Alternatively, you can right-click the layout of the new layout editor and selectConvert to ConstraintlayoutOptions. This is an early preview of UI designers and constrained layouts, and we'll quickly add enchantments to the upcoming release. Learn more about the
I think there has been a lot of discussion about this topic. Today is a study to summarize it.In the design idea of Android, in order to ensure the user smooth operation experience. Some time-consuming tasks cannot be run in the UI thread, such as accessing the network. So we have to re-open a background thread to run these tasks. However, these tasks often end up needing to access and control the
Android UI programming (7) -- Fragment, androidfragment
Fragment is a part of the Activity interface or an action. You can combine multiple Fragment members into an Activity to create a multi-faceted interface and reuse one Fragment in multiple activities. You can also think of Fragment as a modularized Activity. It has its own life cycle, receives its own events, and can be added or deleted when the Activi
The Android UI is single-threaded, so it must be run asynchronously for long-running programs. AsyncTask is a convenient tool for implementing asynchronous tasks. It completely hides a lot of detailed information about the threads running the task. AsyncTask: in a very simple application, a game engine needs to be initialized. When loading content, some plug-in A
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.