control, so that for our future maintenance will bring great difficulties. So, in Android development, it's recommended to use an XML file for control layout
4. Add controls to the Main.xml file
Run the program again, "Hello" will be on the emulator output
Our programs need to be used by a lot of people, look sure to do beautiful, put in the XML file, we can easily modify his appearance, at the same time, the artist to
Design your application with material:
Take a look at the material design specification.
Apply the material theme to your app.
Define additional styles to customize the material theme.
Maintaining compatibility This lesson teaches
Define Alternative Styles
Provide alternative Layouts
Use the support Library
Check the System Version
You should also read
Material Design Specification
Material Design on Android
Some
Do you need to know the design specifications as a technology developer? Personally, the need for a communication, the other is to understand the relevant design in order to reserve the corresponding knowledge, the direction of UI development. This question is very much hoped that the reader can leave a message discussion. **Android**的设计风格变迁可以划分到三个时代:1. Disordere
-dimensional plane planes that float at the other's designated elevation impressions.
Imagine a piece of paper that can expand and shrink, reshape itself, blend and detach at random. Now stack them up (they can also float in the air) and draw a site element on each one. In short, this is the concept of material design.
Material
What is material Design
According to Google, Material design is based on "the real touch, inspired by the study of paper and ink," allowing users to "understand the visual cues used to replace the real world," "without violating the mechanics principle." In addition, the fundamentals of light, surface, and mov
Material Design-compliant drawer navigation effect
Original link: Navigation Drawer styling according to Material Design
Translator: wly2014
Reviewer: chaossss
Status: Proofreading Complete
Objective:Now it seems that the drawer navigation has become one of the mainstream navigat
FAI: Two months ago, the Google I/O conference released the Android L and launched material design, reunified Google's language and established the direction of Google's design in the future. So, what is material design? I simply
Material Design concept, environment and basic attributes, materialdesignMaterial Design concept, environment, and basic attributes Material Design is a Design concept launched with Android
Material Design Concepts, environment and basic attributesMaterial Designis a design concept introduced with Android 5.0, which involves the visual, dynamic, and interactive design of cross-platform and device. Concept material
Getting Startedthis Lesson Teaches
Apply the Material Theme
Design Your Layouts
Specify elevation in Your views
Create Lists and Cards
Customize Your Animations
You should also read
Material Design Specification
Material
1. TextView control Overview
The TextView control can be used to display text information (including HTML text). You can manually set it to editable or uneditable. In main. xml, add the TextView configuration section to create, design basic attributes, width, height, color, font size, etc.
2. Common attributes of
Reprint please specify Http://blog.csdn.net/eclipsexys translation from developer Android, time haste, there are translation questions please note that, thank youMaintain compatibilityThe transition portion of the material design function, such as material design and custom
ontouchevent (Motionevent event) {if (toucheffectanimator! = null) Touc Heffectanimator.ontouchevent (event); Return Super.ontouchevent (event); }}It is OK to instantiate the call as above in your custom control.In fact, now the animation class, not limited to the button, you can arbitrarily set up on your control, such as TextView can not be custom control, Android native can also, only need to
(View itemview) {Super(Itemview); TextView=(TextView) Itemview; } }}The test results are as follows: Note: If you change the ToolBar property in the layout file to app:layout_scrollflags= "scroll|enteralwayscollapsed", the effect is as follows: That is: When the ToolBar property is set to app:layout_scrollflags= "Scroll|enteralways", ToolBar will be displayed as soon as the drop-down recyclerview.When
Article reference from: http://www.runoob.com/w3cnote/android-tutorial-textview.html2.4 Using the Autolink property to identify link typesWhen the text appears in the Url,e-mail, phone number, map, we can set the Autolink property, when we click on the text in the corresponding section, you can jump to a default app, such as a bunch of numbers, click to jump to the dial screen!All is all included, automatic recognition protocol header ~ setautolinkmas
Use material design to design applications:
Take a look at the material design specification.
Apply the materialThemeTo your app.
Define additionalStylesTo customize the material theme.
Create yourLayoutsFollowing
+.
Download Address
2) Sketch App Sources
This set of material design UI toolset is suitable for sketch files, and its main purpose is to introduce material style into the Android web and mobile development work.
Download Address
3) UI8
This is a cool set of material
, its interface looks a bit like Google Drive, the overall design style is also using a variety of material design techniques, itself is a good design case.
Reddit.
website:https://www.reddit.com/r/materialdesign/
Reddit may not be the best choice for you to directly look for des
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.