<LinearLayout
android:id="@+id/llcashType"
android:layout_width="match_parent"
android:layout_height="235dp"
android:orientation="vertical" >
<!-- <Space
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.7" /> -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="232dp"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:orientation="vertical" >
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Button
android:id="@+id/cashType_btn"
android:layout_width="match_parent"
android:layout_height="70sp"
android:layout_gravity="center"
android:background="@drawable/popup_titlebar_blue_bg"
android:text="멤버십 사용/적립"
android:textColor="@color/white"
android:textSize="20sp">
</Button>
<Space
android:layout_width="match_parent"
android:layout_height="10dp"/>
<CheckBox
android:id="@+id/cashType"
android:layout_width="match_parent"
android:layout_height="70sp"
android:gravity="center"
android:background="@drawable/popup_titlebar_blue_bg"
android:checked="false"
android:text="현금영수증발행"
android:textColor="@color/white"
android:textSize="20sp" >
</CheckBox>
<Space
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
<Space
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="0.5" />
</LinearLayout>
</LinearLayout>
버튼과 체크 박스 크기가 같고 글자 크기가 같습니다 여기서 문제가 체크박스에서 체크 하는 부분만 왼쪽에 붙어 있습니다 체크박스내의 text는 중앙으로 가있구요
둘다 중앙정력 하고싶습니다
감사합니다