Мне нужно выровнять текст под RadioButton
по этому тексту RadioButton
, а не по значку RadioButton
. Могу ли я получить его без использования жесткой маржи?
Мой код ниже:
<LinearLayout
android:id="@+id/llcontainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/half_keyline"
android:orientation="horizontal">
<RadioButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="text1"/>
</LinearLayout>