मैं 4 आइटमों की एक रेडियो बटन सूची बनाने की कोशिश कर रहा हूं। प्रत्येक आइटम को इसके दाईं ओर टेक्स्ट होना चाहिए, लेकिन टेक्स्ट के दाईं ओर एक छवि भी होनी चाहिए। छवि रेडियो बटन ही नहीं है, यह विकल्प का वर्णन करने वाली एक छवि है। मेरे पास अभी तक कोई भाग्य नहीं है, डिजाइनर चीजों को जगह में रखने के लिए बेकार प्रतीत होता है। आपको यह जानना होगा कि एक्सएमएल में इसे कैसे कोड करें। मेरे एक्सएमएल इस तरह दिखता है:एक रेडियो बटन के दाईं ओर एक छवि कैसे डालें, एंड्रॉइड
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" android:weightSum="1" android:baselineAligned="true" android:orientation="horizontal">
<RadioGroup android:layout_weight="0.50" android:layout_height="wrap_content" android:id="@+id/radioGroup1" android:layout_width="0dp">
<RadioButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:checked="true" android:text="A" android:id="@+id/radio0"></RadioButton>
<ImageView android:layout_toRightOf="@id/radio0" android:layout_height="wrap_content" android:src="@drawable/A2" android:layout_width="wrap_content" android:id="@+id/imageView1"></ImageView>
<RadioButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="B" android:id="@+id/radio1"></RadioButton>
<RadioButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="C" android:id="@+id/radio2"></RadioButton>
<RadioButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="D" android:id="@+id/radio3"></RadioButton>
</RadioGroup>
</LinearLayout>
यहाँ मैं कोई सफलता के साथ, तो पहले रेडियो बटन के दाईं ओर एक छवि डाल करने के लिए tryiong हूँ। मैं छवियों को रेडियो बटन के दाईं ओर कैसे रखूं?