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

    Jun 27, 2024 · To create a linear layout in which each child uses the same amount of space on the screen, set the android:layout_height of each view to "0dp" for a vertical layout, or the …

  2. How to "save" current Layout on android studio? - Stack Overflow

    It's usually rather cumbersome to reset an Activity's entire layout with setContentView() after the initial call in onCreate(). It's often easier to add any new View s to an existing ViewGroup in …

  3. android - How to save LinearLayout as image after drawing

    Apr 25, 2014 · Take a screen shot of the root layout and convert it into bitmap image and save it like following : LinearLayout v = (LinearLayout) findViewById(R.id.root_layout); …

    Missing:

    • Linear Layout

    Must include:

  4. 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 …

  5. Get & Save Bitmap From Any UI | Android Studio | Java

    Jan 19, 2023 · In this article, we will learn how to get the Bitmap from any UI View and Save it to Storage/Gallery. For Example, we have a LinearLayout containing some child views such as …

  6. android - How to convert a LinearLayout to image ... - Stack Overflow

    I tried the following code to convert the LinearLayout to image: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

  7. Linear Layout Tutorial With Examples In Android

    Jan 26, 2018 · The tutorial on linear layout discussing both orientation vertical, horizontal and attributes with examples, code and screenshot. Learn to design linear Android UI.

  8. Convert layout.xml into Compose | Android Studio - Android

    2 days ago · To run this prompt in Android Studio, click Gemini in the sidebar and paste it in the chat field. To save and retrieve prompts in the Studio IDE, go to Settings > Gemini > Prompt …

  9. Develop a UI with Views | Android Studio | Android Developers

    Dec 20, 2024 · Open an existing layout in Android Studio. Click the Design icon in the top-right corner of the editor window. In the Component Tree, right-click the layout, and then click …

    Missing:

    • Linear Layout

    Must include:

  10. Android Linear Layout - How to Keep Element At Bottom Of View?

    Just remove the android:gravity="bottom" from TextView and add it to the LinearLayout. Your problem will be solved. You will have to expand one of your upper views to fill the remaining …

  11. Some results have been removed
Refresh