Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Sunday, December 4, 2011

New Layout Widgets: Space and GridLayout

[This post is by Philip Milne, who is part of the Android framework team. — Tim Bray]
Ice Cream Sandwich (ICS) sports two new widgets that have been designed to support the richer user interfaces made possible by larger displays: Space and GridLayout.
The most commonly used class for layout in Android is LinearLayout, which allows its children to be aligned in the usual ways: along either the horizontal or vertical axes. It’s often possible to take a complicated layout and break it down into a set of nested linear layouts and, provided this nesting doesn’t get too deep, this is still a good choice for many simple layouts.
A number of posts and articles (e.g. Android Layout Tricks #1, Flattening The Stack) have highlighted drawbacks of nested layouts; which fall into three basic categories:
  • Inability to control alignment along both axes simultaneously
  • Performance problems in hierarchies that are too deep
  • Unsuitability for design tools that support free-form editing
A simple example of the first problem is the following form:

As the font and the text of the “Email address” label change, we want the label to remain aligned with the

Friday, November 25, 2011

Viewing Longitude and Latitude Position in Google Map on your Personal Web


Some articles that I made earlier with the title Marking Locations in Google Maps on Your Personal Web whose content is a way of showing the location of the marker position on Google Map. In the article there is also a demo of how to see the position of longitude and latitude. Due to the article I will leave Viewing Position Longitude and Latitude in Google Map on your Personal Web, so in this article I will show you how to make it.
                                                 
Okay, without many strings attached, let us begin to make it. As the foundation of manufacture,

Sunday, November 20, 2011

Marking Locations in Google Maps on Your Personal Web


After making a few days ago I wrote an article how to display the google map on our own personal website, now I'll write an article how to indicate a location on google map ours is. Marker. Yes, the name of the location marked on the google map marker commonly called. Generally the picture is the same markers as the picture next to it. But did not rule out the marker image is not the same as the picture beside.
Usually the use of these markers are used to indicate a position location information. Let's say, on my blog

Comments