Skip to content Skip to sidebar Skip to footer

Center Text And Checkmark Of Checkedtextview

Layout i implemented like below picture : And code I used is :

Solution 1:

Please try below code to implement checkview as you mentioned :

<CheckedTextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/darker_gray"
        android:checkMark="@android:drawable/checkbox_on_background"
        android:gravity="center"
        android:text="Tempclick Staffing Agreement"
        android:textAlignment="gravity" />

Thanks..!!

Post a Comment for "Center Text And Checkmark Of Checkedtextview"