Skip to content

Instantly share code, notes, and snippets.

@romrozen
Last active March 23, 2017 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romrozen/8c7cf2612bae5467f6739cfa825391f8 to your computer and use it in GitHub Desktop.
Save romrozen/8c7cf2612bae5467f6739cfa825391f8 to your computer and use it in GitHub Desktop.
<LinearLayout
android:weightSum="60"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_weight="20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:weightSum="90"
>
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_weight="20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:weightSum="90"
>
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_weight="20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:weightSum="90"
>
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:layout_weight="30"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment