Android ConstraintLayout and example in kotlin

Android ConstraintLayout is added in Android to overcome the issues of the existing layout. It provides a Flat view hierarchy, exactly no more nested views (inside RelativeLayout many layouts or LinearLayout, etc). Using ConstraintLayout will increase your android application performance. It’s similar to RelativeLayout where views are relatively positioned in UI. Attributes of Android ConstraintLayout : Here are Read More…


Android TableLayout Tutorial with Example kotlin

Android TableLayout is provided row and column to manage UI data. You can manage your data in tabular format. Like you have a list of students in SQLite database and you want to show this data. Important point is that TableLayout doesn’t display borderlines on rows and Each row can have zero or more cells. Attributes Read More…


Android FrameLayout Tutorial with Example kotlin

Android FrameLayout is easy to use and very effective to control views. It shows views on top of other views. It provides a Block area on the screen to display a single item (widget). On a common scenario, FrameLayout should use only to hold a single child view. We can also use multiple children to Read More…


Android RelativeLayout Tutorial with Example kotlin

Android RelativeLayout provides flexibility to arrange a child’s views relative to each other. This means you can align child view left, right, below, and above to relative another view or parent layout. RelativeLayout is a very important component in terms of the design user interface in an android app. Because it can eliminate nested views and groups. Read More…


Android LinearLayout Tutorial with Example

Android LinearLayout is used for application UI. It’s a view group that aligns and contain nested widget or layout in a single direction, vertically or horizontally. You have to specify the layout orientation with the android:orientation attribute. If you didn’t add orientation then default Horizontal will works. Types Of Linear Layout Orientation There are two types of Read More…