Skip to content

Commit d8bf41b

Browse files
author
michal_szwarc
committed
Fix problem on API lower than 19 witch SwitchCompat.
1 parent 2658289 commit d8bf41b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/main/res/layout/item_switcher.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
android:gravity="center">
2828

2929
<android.support.v7.widget.SwitchCompat
30-
style="@style/Settings_Item_CheckBox"/>
30+
android:layout_width="wrap_content"
31+
android:layout_height="wrap_content"/>
3132

3233
</LinearLayout>
3334

0 commit comments

Comments
 (0)