A few days ago, I went to participate in the service outsourcing competition with my work, because I waited for a long time after the ranking, I started to discuss Android development experience with contestants who participated in the competition and presented their work to each other. My friends suggested that I look at the Design principles of the official Design
strong into viewgroup before use.SummaryUsing the combined pattern, we can apply the same actions on the combination and the individual objects, in other words, in most cases we can ignore the differences between the object combination and the individual objects. The combination mode is suitable for the structural design of some interface UI, and the typical example is that
(visible in the table above in Samsung Galaxy S II). "What to test"Mobile apps must provide the best user experience and are displayed correctly (UI testing) on a variety of smartphones and tablets in different sizes and resolutions (keyword "responsive design"). At the same time, apps must be functional and compatible (compatibility testing) with as many device specifications (memory, CPU, sensors, etc.)
Activity is the basic component of the Android application user interface. The activity itself does not, however, provide a user interface (Interface). From the program structure level, an Android application is an instance of class Android.app.Application, application can contain multiple android.app.Activity instances. Each activity takes a window class that does not provide much functionality on the
();
When to use this thread:
The process ends when you finish one task. The frequency of this task is not high, for example, reading image data from the SD card.
No need to reuse threads
When using a thread, it is best to add a name to the thread so that the height and tracking can be used.
Threads with message loops:
Such a thread has a message loop. When there is no message in the message queue, this thread will be suspended. To do one thing, you only need to send a message to it.
This is
undertake two layouts or different functions of the conversionZ Axis:The new z-axis concept has been added to the previous x, Y axis in Android l, with the z-axis to make more stereoscopic controls.To adjust the height of the z-axis according to the button stateby setting a different z-axis for each view in the layout, you can make the layout more stereoscopic and highlight the focus. Compatibility:To accommodate the changes in material
application, regardless of what the current user is doing (for example, calling ). That behavior should not appear for applications or users.
To avoid these problems, your application should use appropriate system resources to notify users --NotificationClass. UseNotificationYour application can displayIcon, instead of capturing the focus and interrupting the user.
Another example of smoothness problems is the failure to correctly implement the onpause () and other life cycle methods of the act
modify the contronler Activity code and Model) the business logic code in the WeatherModel model separates the business logic from the interface display.
In the Android project, business logic and data processing have assumed the role of Model, XML interface display, View, and Activity as the controller. The Controller acts as an intermediate Bridge. It communicates with views and models through interface communication.
When is the MVC
Android app architecture design 01, androidapp1: This article has been excerpted,
12345
-Consistency of requirements, designs, and codes during development-the entire program has a uniform style, such as a dialog box style, button style, tone, and other UI elements-the specific and unified structure of the entire program, for example, when different
Android app architecture design 02, androidapp
Ii. Try to place the tool class and BaseActivity in the specified position during the opening process,
DateFormatBitmapNotificationShared PreferenceEnvironmentDevice
III:2.2 Task Management
The thread is just a mechanism to ensure that the tasks we want to complete do not run in the UI thread (that is, do not block
[Architecture] Architecture Design of Android mobile appPreface
Architecture, also known as software architecture, is an abstract description of the overall structure and components of the software, used to guide all aspects of the design of large-scale software systems.
Software Architecture Design goals:
1. reli
The previous essay with (Android design casually say) then said what is the design and design principles, here to give a simple example to further say Android design. We use the App Store desi
design is based on ZigBee Wireless Module technology, because ZigBee Digital Transmission Module Low power consumption, low cost, easy to network and maintenance, the use of cluster network at the same time will have a unique advantage of self-healing, can overcome the malpractice of network paralysis caused by accident. 1 Structure of the system The intelligent Home system designed in this paper mainly divides the smart home into three
After reading and translating the Android design guidance, we compared Android 4.0, Android 4.0, Android, Android, and earlier versions of app design guidance, and summarized the 10 maj
compiled, tested, packaged, and deployed independently.
Design, build a modular frameworkBack to the beginning of the app single project mode, see Zhang Common App single project schema diagram:is currently more commonly used in the Android APP technology architecture, often in an interface with a large number of business logic, and business logic is flooded with various network requests, data manipul
Http://homepage.yesky.com/89/11620089.shtmlNow that the mobile platform is increasingly competitive, a friendly user interface can help improve user experience satisfaction, icon icons are an important part of the user interface, and today we will study and learn about the icon design specifications for Android systems. Before exploring the icon design for
Material design Some of the UI is usually developed or used more, previously did not write, recently summed up, write a blog, the request version in more than 5.0.The main introduction of Floatactionbutton,coordinatorlayout,collapsingtoolbarlayout,appbarlayout,toolbar,tablayout,recyclerview, CardViewThe use of these is included in the case;Add before use in Build.gradle compile'com.android.support:appcom
Problems:
I see other people's programs, want to learn how people's UI layout is done, how can I snoop into one or two?
Problems:
When learning viewgroup and layout, we may have a question. If I do not place layout in the XML layout file or directly place textview or other components, how does it layout?
Solution:The android SDK comes with a tool for viewing the hierarchical structure of the
DesignFollowing the Android Design, the benefits, such as the top navigation bar, Android has its own navigation-actionbar, has its own style, easy to expand, on this basis can achieve a variety of styles, do not blindly imitate the effect of others.After 4.0, Google has its own set of Android
Android weather forecast application design (2) III. Detailed Design
In this article, we refer. In addition, during source code analysis, only schematic and Structured code is selected for analysis. The complete source code of the program can be downloaded at http://download.csdn.net/detail/frankxuanhui/3593051.
(1) multi-thread processing of Weather Information
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.