Android Togglebutton displays an unwanted icon -


when removing android:theme tag androidmanifest.xml weird icon appears in togglebuttons

<togglebutton               android:layout_width="wrap_content"                android:layout_height="wrap_content"         /> 

in design screen nothing appears on device displays icon similar this:

if add background, icon appears inside background , before text.

it happens when removing android:theme tag.

it looks default style togglebutton don't find way rid of it.

i way override no theme behaviour of togglebuttons declaring style togglebutton or using theme affects togglebutton. if not have settle using regular buttons or custom widget.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -