मैं 3 बटन जहाँ वे एक दूसरे के नीचे दिखाई देते हैं नीचे layout.xml है ...रैखिक लेआउट - एंड्रॉयड
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="10dip" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
android:id="@+id/btn_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Car" />
<Button
android:id="@+id/btn_2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Vehicle" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<Button
android:id="@+id/btn_3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Bike" />
</LinearLayout>
</LinearLayout>
मैं द्वारा पहले दो बटन पक्ष करना चाहते हैं पक्ष (बीटीएन_1 और बीटीएन_2)। क्या कोई मुझे यह कैसे करने के बारे में संकेत दे सकता है ???
धन्यवाद एक बहुत
है वही मामला: http://stackoverflow.com/questions/5551349/2-buttons-side-by-side-android-layouts/21411490#21411490 – iarroyo