you should really read the documentation and do the plethora of tutorials Google provides. http://developer.android.com/guide/practices/screens_support.html
Regarding the textview, that's what String Formatting is for (%.2f), look it up. On Friday, November 16, 2012 1:23:53 AM UTC+2, Brandon Cormier wrote: > > So I am new to Android development and have a question on layouts. When I > create my app in Eclipse I have it set up so that I can see what it would > look like on a Nexus S (4 in., 480 x 800). This looks great when I open it > on my Exhibit 2 4G (3.7 in., 480 x 800), however it looks terrible when I > open it on the Nexus 7. The buttons are in the wrong places and things just > don't look the same. I am assuming this has to do with layouts? When I > create a Windows application in java I use a layout such as the border > layout, grid layout, flow layout, etch... and then add it to the frame. > That way no matter how big I resize the window, it always looks the same. > How do you do this in Android? Also, kinda off topic, but when displaying > numbers in a textbox how do you make it so that it only shows up to the > hundredths place? I am starting out creating apps that deal with tips, sale > prices, etch, and don't need the final calculated price to be to the 5th > decimal place. > > Thanks in advance! > > Brandon > Samsung Exhibit 2 4G (T-Mobile) > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en