Title: CheckBox is being clipped in tablet
Tags: android;checkbox;clipped
Question: I have this layout:

```<LinearLayout 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content"
      android:layout_marginBottom="10dp"
      android:gravity="center_vertical" 
      android:layout_marginLeft="10dp"&gt;

      <CheckBox 
              android:id="@+id/screen_login_checkbox"
              android:button="@drawable/login_screen_checkbox_image_selector"
              android:layout_width="wrap_content"             
              android:layout_height="wrap_content"/&gt;

      <TextView 
              android:layout_width="wrap_content"
              android:layout_marginLeft="10dp"
              android:text="@string/screen_login_checkboxLabel"
              android:layout_alignBaseline="@id/screen_login_checkbox"
              android:textColor="@color/black" 
              android:textSize="@dimen/screen_login_check_text"
              android:layout_height="wrap_content"/&gt;
</LinearLayout&gt;
```

The problem is that this works on smartphones but is not working properly on tablets. On tablets the CheckBox is getting clipped on the right side and I don't know why.

Does anyone know how to fix this?


Here is the accepted answer: Try adding ```android:paddingRight``` to your ```CheckBox```. It should work for tables and smallscreen aswell pretty well if you add padding using ```dp``` not ```px``` for padding values



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2011:00:12/07/11', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<android><checkbox><clipped>', 'Title': 'CheckBox is being clipped in tablet', 'ViewCount': 379, 'id': 8416836, 'user_AboutMe': "<p>Eager to learn and do new things. I consider myself an open minded person and I appreciate any feedback received because admitting your mistakes it's a good start to make improvements! ;)</p>\n", 'user_AccountId': 202307.0, 'user_DisplayName': 'Cata', 'user_Reputation': 11013.0, 'user_Views': 1090.0, 'user_id': 449310.0}}