SHARE
TWEET

Untitled

Qpel Nov 25th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="0dp"
  7.    android:orientation="horizontal"
  8.    android:weightSum="10"
  9.    tools:context=".MainActivity">
  10.     <LinearLayout
  11.        android:layout_width="0dp"
  12.        android:layout_height="match_parent"
  13.        android:layout_weight="3"
  14.        android:orientation="horizontal">
  15.         <Button
  16.            android:layout_width="match_parent"
  17.            android:layout_height="match_parent"
  18.            android:text="@string/button_0"/>
  19.     <LinearLayout
  20.    android:layout_width="0dp"
  21.    android:layout_height="match_parent"
  22.    android:layout_weight="7">
  23.     <Button
  24.        android:layout_width="match_parent"
  25.        android:layout_weight="7"
  26.        android:layout_height="match_parent"
  27.        android:text="@string/button_1"/>
  28.     </LinearLayout>
  29.     </LinearLayout>
  30.  
  31.     <LinearLayout
  32.        android:layout_width="match_parent"
  33.        android:layout_height="0dp"
  34.        android:layout_weight="2"
  35.        android:orientation="horizontal"
  36.        android:weightSum="10">
  37.         <LinearLayout
  38.            android:layout_width="0dp"
  39.            android:layout_height="match_parent"
  40.            android:layout_weight="6">
  41.             <Button
  42.                android:layout_width="match_parent"
  43.                android:layout_height="match_parent"
  44.                android:text="@string/button_2"/>
  45.     </LinearLayout>
  46.     <LinearLayout
  47.        android:layout_width="0dp"
  48.        android:layout_height="match_parent"
  49.        android:layout_weight="4">
  50.         <Button
  51.            android:layout_width="match_parent"
  52.            android:layout_height="match_parent"
  53.            android:text="@string/button_3"        
  54.    </LinearLayout>
  55.  
  56.  
  57. </androidx.constraintlayout.widget.LinearLayout>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top