I recently wrote an android program, what functions can be written! ! UI interface is about what to do too shabby! ! So are Nabuchushou! ! I just wanted to ask how to do the kind of background, buttons, how to do a little strip frame beautiful, such as:
I want to make the login screen like this, how do ah! ! I can not do the exact location of the EditText on those input box office! ! ! ! Please tell me to do this greatly customize the interface method on the line! ! ! ! Grateful!!!!!!!
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Use your own style as well as theme
own custom button on the inside there's edittextIn addition there is a border backgoundimage then get rid of the line pictures
Reply:
Can not speak clearly point ~ ・ ・ ・ ・ ・ ・ ・ too broadly the
Reply:
xml file inside absolute layout, so you can accurately control the position to move, not necessarily to arrange placement under other controls ......
Reply:
Update the new ADT, the latest version of the 18th, the landlord can go to the next Baidu ......
Reply:
Absolute layout is not right! ! ! I went on another resolution models will be in big trouble! ! !
Reply:
First of all you own is not broadly understood wrong
Subclass
input box of this interface is actually used edittext controlsThe difference is that the use of a unique theme and style
As
theme and style has a background image and how to set the borderThere are examples of official online face that looks on the line
Reply:
Upstairs, said the idea could
Reply:
This interface can handle me five minutes with viewgroup
Reply:
Can you draw five minutes to write a ha?
Reply:
Worship cattle, cattle wait a layout
Reply:
Just do a small program, but because all the components are dynamically created, so all use dynamic layout program, all buttons, borders, pictures, and are based on the background, etc., made out effects and your renderings exactly compare troublesome thing is the picture properly handled, it will be convenient to write the code.
Specific steps are:
1, renderings
2, split renderings to the small picture (element)
3, the program dynamic layout (actual fixed interface is the same as using xml)
4, the background of each element is set to a small picture
5, after adjustment, OK
Reply:
Background images and pictures that were provided in front of me, I look to get hold of.
Reply:
Hey all cattle
Reply:
Still do not really understand.
Reply:
Flexible use of xml drawable and style.xml
Learn to make and use ninepatch map
Reply:
I recently tried the approach under the 11th floor, which is the whole picture with photosho cut into many small pieces. Will need to be used as input with EditText, used as a button with ImageButton, others would use ImageView, then stitching them up in the order of artwork ・ ・ effect can be! ! ! The key is to cut the time trouble spots, there is the need to order mosaic! !
Reply:

Reply:
Pictured cutting the slice tool photoshop after renderings! ! ! ! After cutting is completed is 11 thumbnail pictures! ! ! ! The first block with 3,6 EditText, its property android: background set these two pictures, the first nine with ImageButton, its android: src set this picture, and then stitching the order! ! ! Oh, yes, ImageButton must also set android: background is transparent, there would not be a border around the chart with complete stitching ・ ・ ・! ! ! ! !
This method is able to achieve the desired effect before, but the resolution is fixed! ! ! I used this picture is 800 x 480, so the appropriate resolution flat-panel tried, with good results, and then try the next resolution will not work on other phones! ! ! So there is some imperfection! ! ! !
Reply:
Reply:
This super android nausea, XXX do you fit under (XXX playing Whack Your Boss)
Reply:
This interface is a web style should be inherited from webview may also be done by phonegap. Button and input box like the use of the bootstrap css.
No comments:
Post a Comment