About 570,000 results
Open links in new tab
  1. Create a linear layout | Views | Android Developers

    Jun 27, 2024 · LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation attribute. Note: For better performance and tooling support, build your layout with ConstraintLayout.

  2. LinearLayout and its Important Attributes with Examples in Android

    Jan 28, 2025 · LinearLayout is one of the most basic layouts in android studio, that arranges multiple sub-views (UI elements) sequentially in a single direction i.e. horizontal or vertical manner by specifying the android:orientation attribute.

  3. Linear Layout Tutorial With Examples In Android

    Jan 26, 2018 · Linear layout is a simple layout used in android for layout designing. In the Linear layout all the elements are displayed in linear fashion means all the childs/elements of a linear layout are displayed according to its orientation. The value for orientation property can be either horizontal or vertical.

  4. LinearLayout in android with example codes - Electronic Clinic

    Feb 12, 2022 · LinearLayout, also known as linear layout, is a very commonly used layout. As its name describes, this layout will arrange the controls it contains in a linear direction. Since it is a linear arrangement, there must be more than one direction.

  5. Android LinearLayout Example - StackTips

    Sep 17, 2023 · The LinearLayout is the most basic layout manager provided by Android. The LinearLayout organizes the child views either horizontally or vertically based on the specified orientation property. The value for orientation property can be either horizontal or vertical.

  6. Android LinearLayout Example - Examples Java Code Geeks

    Jan 16, 2013 · One of the most common layouts is the LinearLayout. In this tutorial we are going to see how LinearLayout works with two different orientation options, for three buttons. An important feature that we are going to discuss is the android:layout_weight attribute of the buttons.

  7. Linear Layout in Android with Example - Includehelp.com

    Jun 6, 2023 · Android Linear Layout: In this tutorial, we will learn about the implementation of Linear Layout with the help of an example and codes in Android.

  8. Linear Layout Tutorial With Examples In Android - Coding Is Life

    A LinearLayout is one of the fundamental layout managers in Android, used to arrange UI elements linearly either horizontally or vertically. In this tutorial, I'll provide examples of using LinearLayout in Android, both programmatically and with XML layouts.

  9. Android LinearLayout Tutorial with Example - EyeHunts

    Jul 10, 2018 · 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.

  10. Android Linear Layout Example | Java Tutorial Network

    Linear layout in Android allow us to arrange components horizontally in a single column or vertically in a single row. Vertically or horizontally direction depends on attribute android: orientation. Linear layout is simple and easy to use, it creates a scroll bar if the length of the window exceeds the length of the screen.

  11. Some results have been removed
Refresh