New issue
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
layout params not working properly #117
Comments
Which layout did you change to wrap_content for height? What line did you change? I changed line 747 and that seems to work for me. |
i forgot to told u about all changes i made. 1 set custom layout in BoardFragment.java 2 change line in BoardView.Java layout.setOrientation(LinearLayout.VERTICAL); layout.setLayoutParams(params);
3 change ids in BoardFragment.java for drag drop reference CharSequence text = ((TextView) clickedView.findViewById(R.id.tv_column_name)).getText(); |
Hm cant really see the problem here. Can you please send med the app in mail, or a test app with the problem visible so I can debug it. |
i have uploaded code you can reproduce the issue by dragging 3rd column 1st row into 2nd column at any row |
Hm, something is weird when I unpack the zip. Git thinks that all files has been changed and I can not start the app. Can't even sync gradle. Can you please commit the changes you have made (you don't need to push to your remote) and then zip it again. Like that I can just checkout the last commit and get your changes. Now it is impossible for me to see you changes as git thinks all files has been changed for some reason. |
done here is the new link |
Ok found the problem. You can not use the same Drawable for all column. Every column needs its own drawable otherwise they will share the size when it is updated somehow. So instead of setting the Drawable in setBoardDrawable() set the drawable resource id like setBoardDrawableId(int resId). Then set the drawable if the resId has been set.
|
i did not understand where i need to change. |
|
it means i just need to set backgroundresoruce instread of background. |
hey u did a great work looking for this implementation from many many days
I just integrated your library with source code. because i need some customization.
so my requirement is to wrap the height of the container containing boards
i just change layout params
from
LayoutParams params = new LayoutParams(mColumnWidth, LayoutParams.MATCH_PARENT);
to
LayoutParams params = new LayoutParams(mColumnWidth, LayoutParams.WRAP_CONTENT);
height is working good when i arrive to page first time.
but the problem occur when i drag and drop items from one boards to another board.
please take a look i have added a screenshot
issue i am facing
view without drag drop is fine
please let me know what is wrong there.
The text was updated successfully, but these errors were encountered: