Linearview 2 item di sebelah satu sama lain
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<Button
android:id="@+id/button_capture"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_gravity="start"
android:layout_weight="0.5"
android:background="?android:attr/selectableItemBackground"
android:onClick="snapIt"
android:text="@string/Capture" />
<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_weight="0.5"
android:background="?android:attr/selectableItemBackground"
android:onClick="snapIt"
android:text="@string/Capture" />
</LinearLayout>
Better Bug