Custom checkbox button overlaps checkbox text

SharukO

New Member
I'm trying to make custom checkbox, but can't understand why it overlaps my text. On eclipse everything shows fine, while on emulator or on device, the checkbox image overlaps checkbox text.
zGPmu.jpg
My selector is very simple >>\[code\]<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_checked="false" android:drawable="@drawable/bypasssxx" /> <item android:state_checked="true" android:drawable="@drawable/bypasslarge" /> <item android:drawable="@drawable/bypasssxx" /> </selector>\[/code\]Any ideas what went wrong? I'v tried cleaning the project but it's still the same.
 
Back
Top