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
Hi,
as the title says, i can't get FlowLayout to work with an enclosing Scrollview. XML is like follows:
`
<org.apmem.tools.layouts.FlowLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#000000" android:gravity="fill" android:isScrollContainer="true" android:orientation="horizontal" android:padding="50dp" android:scrollbars="vertical"> <ImageView android:id="@+id/katana" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/katana" android:tag="tag" /> <ImageView android:id="@+id/etla" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/detla" android:tag="tag" /> <ImageView android:id="@+id/embn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/dembn" android:tag="tag" /> <ImageView android:id="@+id/esxt" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/desxt" android:tag="tag" /> <ImageView android:id="@+id/etja" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/detja" android:tag="tag" /> <ImageView android:id="@+id/eiwk" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/deiwk" android:tag="tag" /> <ImageView android:id="@+id/exfs" android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="openChecklist" android:paddingLeft="30dip" android:src="@drawable/dexfs" android:tag="tag" /> </org.apmem.tools.layouts.FlowLayout> </ScrollView>`
Result without ScrollView Result with ScrollView
The text was updated successfully, but these errors were encountered:
I have a similar problem, in my case, the ScrollView does not display all the FlowLayout at the bottom, so my last two items are partially occluded.
Sorry, something went wrong.
I have resolved it by adding android:layout_marginBottom="40dp" (value may differ for you) It's hacky but it works.
android:layout_marginBottom="40dp"
No branches or pull requests
Hi,
as the title says, i can't get FlowLayout to work with an enclosing Scrollview. XML is like follows:
`
Result without ScrollView
Result with ScrollView
The text was updated successfully, but these errors were encountered: