Skip to content

Instantly share code, notes, and snippets.

@AdamMc331
Created June 11, 2015 20:03
Show Gist options
  • Save AdamMc331/65efa3f43e7d4f4a7e9c to your computer and use it in GitHub Desktop.
Save AdamMc331/65efa3f43e7d4f4a7e9c to your computer and use it in GitHub Desktop.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<Button
android:id="@+id/wide_button"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<Button
android:id="@+id/small_button"
android:layout_width="wrap_content"
android:layout_width="match_parent">
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment