Layout Width And Height + Linear Layout - Android Tutorial
Learn about Android's layout width and layout height attributes - possible values that can be assigned to these attributes, the difference between match parent and wrap content. Also, learn about dp (density independent pixel), sp (scale independent pixel) , and px (pixel density) in detail. Why should we use dp instead of px andwhat is the need of different images in drawable folders.