We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.4.0 Activity is not dragging
new DragDismissIntentBuilder(getContext()) .setTheme(DragDismissIntentBuilder.Theme.LIGHT) .setPrimaryColorResource(R.color.colorPrimary) .build(intent);
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/rootView" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <ProgressBar android:id="@+id/newpost_status_timer" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone" /> <TextView android:id="@+id/newpost_sell_value" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/colorPrimary" android:gravity="center" android:padding="4dp" android:text="00'00" android:textColor="@color/white" android:textSize="20sp" android:visibility="gone" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:orientation="horizontal"> <com.makeramen.roundedimageview.RoundedImageView android:id="@+id/profile_iamge" android:layout_width="54dp" android:layout_height="54dp" android:layout_marginRight="10dp" android:layout_weight="0" android:scaleType="fitXY" android:src="@drawable/default_icon_44x44" app:riv_border_color="@color/trans_light_black_10" app:riv_border_width="1dip" app:riv_corner_radius="30dip" app:riv_mutate_background="true" app:riv_oval="true" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="4dp" android:layout_weight="1" android:orientation="vertical"> <TextView android:id="@+id/newpost_username" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="user name" /> <TextView android:id="@+id/newpost_date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4dp" android:layout_weight="0" android:drawablePadding="4dp" android:drawableRight="@drawable/friends_icon_x16" android:gravity="center" android:text="date" android:textSize="12dp" /> </LinearLayout> <ImageView android:id="@+id/newpost_edit_btn" android:layout_width="54dp" android:layout_height="match_parent" android:layout_gravity="center" android:layout_weight="0" android:scaleType="center" android:src="@drawable/arrowdown_icon_x16" /> </LinearLayout> <TextView android:id="@+id/newpost_text_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingBottom="10dp" android:paddingLeft="10dp" android:paddingRight="10dp" android:textColor="@color/light_black_1" android:textSize="16sp" /> </LinearLayout> <LinearLayout android:id="@+id/new_post_media_items" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="0dp" android:layout_weight="0" android:orientation="vertical"> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingBottom="4dp" android:paddingTop="4dp"> <TextView android:id="@+id/newpost_comments_counts" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:paddingLeft="10dp" android:paddingRight="4dp" android:paddingTop="4dp" android:text="----" android:textColor="@color/gray_9" android:textSize="13dp" /> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0" android:orientation="horizontal" android:paddingRight="4dp"> <TextView android:id="@+id/newpost_up_count" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawableLeft="@drawable/up_count_icon_x16" android:drawablePadding="3dp" android:gravity="center" android:padding="4dp" android:text="10" android:textColor="@color/gray_9" android:textSize="12dp" /> <TextView android:id="@+id/newpost_down_count" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawableLeft="@drawable/down_count_icon_x16" android:drawablePadding="3dp" android:gravity="center" android:text="4" android:textColor="@color/gray_9" android:textSize="12dp" /> </LinearLayout> </LinearLayout> <ProgressBar android:id="@+id/newpost_ups_downs_ratio" style="?android:attr/progressBarStyleHorizontal" android:layout_width="124dp" android:layout_height="2dp" android:layout_gravity="right" android:indeterminate="false" android:max="100" android:progress="100" android:progressDrawable="@drawable/ups_retio" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:background="@drawable/view_border_top" android:orientation="horizontal"> <TextView android:id="@+id/newpost_up_post" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0" android:drawableLeft="@drawable/up_icon_x16" android:drawablePadding="4dp" android:gravity="center" android:padding="10dp" android:text="Up" android:textColor="@color/gray_10" android:textSize="13sp" /> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center" android:orientation="vertical"> <TextView android:id="@+id/newpost_add_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0" android:drawableLeft="@drawable/map_icon_x16" android:drawablePadding="4dp" android:gravity="center" android:padding="10dp" android:text="Net" android:textColor="@color/gray_10" android:textSize="13sp" /> </LinearLayout> <TextView android:id="@+id/newpost_down_post" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0" android:drawableLeft="@drawable/dow_icon_x16" android:drawablePadding="4dp" android:gravity="center" android:padding="10dp" android:text="Down" android:textColor="@color/gray_10" android:textSize="13sp" /> </LinearLayout> <android.support.v7.widget.RecyclerView android:id="@+id/viewpost_main_recyclerview" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/gray_1" /> </LinearLayout> </ScrollView> <LinearLayout android:id="@+id/comment_main_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0" android:background="@color/white" android:orientation="horizontal"> <ImageView android:id="@+id/emoji_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="10dp" android:src="@drawable/emoji_icon_x24" /> <com.vanniktech.emoji.EmojiEditText android:id="@+id/emoji_input_edit_txt" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/white" android:gravity="top|left" android:imeOptions="actionSend" android:inputType="textCapSentences|textMultiLine" android:maxLines="3" android:minHeight="40dp" android:padding="10dp" android:hint="type ..."/> </LinearLayout> </LinearLayout> </LinearLayout>
The text was updated successfully, but these errors were encountered:
What version of Android are you on? For KitKat, the library doesn't seem to drag, and I have been unsuccessful in finding out why
Sorry, something went wrong.
No branches or pull requests
Version 1.4.0
Activity is not dragging
The text was updated successfully, but these errors were encountered: