SCRUMble ! Hello Blog Readers! Thank you for all your support and encouragement. I have something exciting for you all. I have recently written and published a new book called 'SCRUMble !'. It is currently available on pothi store. It will be soon available on Amazon and Flipkart as well. Please get your copy and do let me know your reviews. -Abhishek Sathe SCRUMble ! Written and Published by: Abhishek Sathe Distributed by: pothi.com Order your copy now: https://store.pothi.com/book/abhishek-sathe-scrumble/ Coming soon on Amazon and Flipkart About the book: Scrum is a framework for solving complex problems largely adapted by Software Development field. There are multiple ag...
This post is in continuation with an earlier post : Android 101
1. Common attributes used in views and viewgroups:
-layout_width
-layout_height
-layout_marginTop
-layout_marginBottom
-layout_marginLeft
-layout_marginRight
-layout_gravity: specifies how child views are positioned
-layout_weight: specifies how much of the extra space in the layout should be allocated to the view
-layout_x
-layout_y
2. LinearLayout: arranges views in a single column or a single row. Child views can be arranged either vertically or horizontally.
3.AbsoluteLayout: enables you to specify the exact location of its children using layout_x and layout_y. AbsoluteLayout has been deprecated since android 1.5
4.TableLayout: groups views into rows and columns. You use <TableRow> element to designate a row in the table. Each row can contain one or more views. Each view you place within a row forms a cell. The width of each column is determined by the largest width of each cell in that column.
5.RelativeLayout: enables you to specify how child views are positioned.
6.FrameLayout: is a placeholder on screen that you can use to display a single view. Views that you add to FrameLayout are always anchored to the top left of the layout.
7.ScrollView: is a special type of FrameLayout in that it enables users to scroll through a list of views that occupy more space than the physical display. The ScrollView can contain only one child View or ViewGroup which is a LinearLayout.
8. Views can be classified as
-Basic Views: commonly used views such as TextView,EditText,Button views.
-Picker views: Views that enable user to select from a list, such as TimePicker and DatePicker.
-List Views: Views that display a long list of items, such as ListView and SpinnerView views.
9. Basic views contain TextView ,EditView, Button, ImageButton, ChexkBox, ToggleButton, RadioButton, RadioGroup, etc.
10. Menus can be used with views. Menus are useful for displaying additional information. There are two types of menus:
-Context menu: related to a particular view on an activity. In android, to activate a context menu, you tap and hold on to it.
-Options menu: ralated to the current activity. In android, you activate the options menu by pressing the MENU key.
1. Common attributes used in views and viewgroups:
-layout_width
-layout_height
-layout_marginTop
-layout_marginBottom
-layout_marginLeft
-layout_marginRight
-layout_gravity: specifies how child views are positioned
-layout_weight: specifies how much of the extra space in the layout should be allocated to the view
-layout_x
-layout_y
2. LinearLayout: arranges views in a single column or a single row. Child views can be arranged either vertically or horizontally.
3.AbsoluteLayout: enables you to specify the exact location of its children using layout_x and layout_y. AbsoluteLayout has been deprecated since android 1.5
4.TableLayout: groups views into rows and columns. You use <TableRow> element to designate a row in the table. Each row can contain one or more views. Each view you place within a row forms a cell. The width of each column is determined by the largest width of each cell in that column.
5.RelativeLayout: enables you to specify how child views are positioned.
6.FrameLayout: is a placeholder on screen that you can use to display a single view. Views that you add to FrameLayout are always anchored to the top left of the layout.
7.ScrollView: is a special type of FrameLayout in that it enables users to scroll through a list of views that occupy more space than the physical display. The ScrollView can contain only one child View or ViewGroup which is a LinearLayout.
8. Views can be classified as
-Basic Views: commonly used views such as TextView,EditText,Button views.
-Picker views: Views that enable user to select from a list, such as TimePicker and DatePicker.
-List Views: Views that display a long list of items, such as ListView and SpinnerView views.
9. Basic views contain TextView ,EditView, Button, ImageButton, ChexkBox, ToggleButton, RadioButton, RadioGroup, etc.
10. Menus can be used with views. Menus are useful for displaying additional information. There are two types of menus:
-Context menu: related to a particular view on an activity. In android, to activate a context menu, you tap and hold on to it.
-Options menu: ralated to the current activity. In android, you activate the options menu by pressing the MENU key.
Nice work done !!!
ReplyDelete