AndroidSwipeLayout
AndroidSwipeLayout copied to clipboard
W/View: requestLayout() improperly called
Hi! First, thank you for cool swipes! I have a problem when I create layout with SwipeLayout I have warnings W/View: requestLayout() improperly called by android.widget.LinearLayout{900b561 V.E...... ......I. 0,0-0,0 #7f0d00c5 app:id/skip_wrapper} during layout: running second layout pass W/View: requestLayout() improperly called by android.widget.LinearLayout{696f886 V.E...... ......I. 0,0-0,0 #7f0d00c5 app:id/skip_wrapper} during layout: running second layout pass W/View: requestLayout() improperly called by com.daimajia.swipe.SwipeLayout{ba4d547 V.E...... ........ 0,0-1020,300 #7f0d00c2 app:id/interactive_card} during second layout pass: posting in next frame W/View: requestLayout() improperly called by com.daimajia.swipe.SwipeLayout{a14a174 V.E...... ........ 0,0-1020,300 #7f0d00c2 app:id/interactive_card} during second layout pass: posting in next frame
My layout is
`<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/res-auto" android:id="@+id/cardView" android:layout_width="fill_parent" android:layout_height="100dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" card_view:cardCornerRadius="6dp">
<com.daimajia.swipe.SwipeLayout
android:id="@+id/interactive_card"
android:layout_width="match_parent"
android:layout_height="match_parent"
card_view:clickToClose="true">
<LinearLayout
android:id="@+id/done_wrapper"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<ImageView
android:id="@+id/habit_done"
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/green"
android:paddingLeft="25dp"
android:paddingRight="25dp"
android:src="@drawable/done" />
</LinearLayout>
<LinearLayout
android:id="@+id/skip_wrapper"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<ImageView
android:id="@+id/habit_skip"
android:layout_width="100dp"
android:layout_height="match_parent"
android:background="@drawable/red"
android:paddingLeft="25dp"
android:paddingRight="25dp"
android:src="@drawable/skip" />
</LinearLayout>
<include layout="@layout/card_list_content" />
</com.daimajia.swipe.SwipeLayout>
</android.support.v7.widget.CardView>`
Could you say me how I can fix it? Thanks in advance.
i have the problem to
Same with me - the issue is still appearing
Getting the same errors :/