diff --git a/library/gingerbread/res/layout/suw_items_switch.xml b/library/gingerbread/res/layout/suw_items_switch.xml index 3f101d7..319d7f7 100644 --- a/library/gingerbread/res/layout/suw_items_switch.xml +++ b/library/gingerbread/res/layout/suw_items_switch.xml @@ -20,6 +20,7 @@ style="@style/SuwItemContainer.Verbose" android:layout_width="match_parent" android:layout_height="wrap_content" + android:clipToPadding="false" android:orientation="horizontal"> = VERSION_CODES.LOLLIPOP); + SwitchItem item = new SwitchItem(); + LayoutInflater inflater = LayoutInflater.from(application); + ViewGroup layout = (ViewGroup) inflater.inflate(item.getDefaultLayoutResource(), null); + assertThat(layout.getClipToPadding()).isFalse(); + } + @Test public void testChecked() { SwitchItem item = new SwitchItem();