설정 페이지는 RadioButton
입니다. RadioButton
은 화면의 전체 너비를 확장합니다. 그러나 그것을 클릭하면 매우 어색한 애니메이션을 보여줍니다. 여기Android RadioButton 선택 드로어 블
그리고 아래 내 xml
입니다 :
<RadioGroup
android:id="@+id/xxx"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RadioButton
android:id="@+id/xxx"
style="@style/Settings_group.Item"
android:layout_marginRight="20dp"
android:button="@null"
android:drawableRight="?android:attr/listChoiceIndicatorSingle"
android:text="xxx" />
<include
layout="@layout/layout_setting_item_divider"
android:layout_width="match_parent"
android:layout_height="0.5dp" />
<RadioButton
android:id="@+id/xxx"
style="@style/Settings_group.Item"
android:layout_marginRight="20dp"
android:button="@null"
android:drawableRight="?android:attr/listChoiceIndicatorSingle"
android:text="xxx" />
</RadioGroup>
EDIT-1 내가 파급 효과를 기대해야 RadioButton
의 한 줄에 프로그램,하지만 화면의 중앙에. 그냥이
이 설명에 의해 더 구체적으로하시기 바랍니다 사용하지 않는 세트? –
@AdarshGumashta Sry, 제 편집 -1 참조하시기 바랍니다. –