Open hijunmeng opened 1 year ago
<com.google.android.flexbox.FlexboxLayout android:id="@+id/flexboxLayout" android:layout_width="100dp" android:layout_height="wrap_content" android:background="#00ffff" app:dividerDrawable="@drawable/divider" app:flexWrap="wrap" app:showDivider="middle"> <TextView android:id="@+id/textview1" android:layout_width="50dp" android:layout_height="wrap_content" android:background="#ff0000" android:text="111112" /> <TextView android:id="@+id/textview2" android:layout_width="80dp" android:layout_height="wrap_content" android:background="#ffff00" android:text="1111122222" /> <TextView android:id="@+id/textview3" android:layout_width="20dp" android:layout_height="wrap_content" android:background="#ff00ff" android:text="1" /> </com.google.android.flexbox.FlexboxLayout>
divider.xml
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <size android:width="10dp" android:height="10dp" /> <solid android:color="#44A444" /> </shape>
3.0.0
Issues and steps to reproduce
divider.xml
Expected behavior
Version of the flexbox library
3.0.0