etsy / AndroidStaggeredGrid

An Android staggered grid view which supports multiple columns with rows of varying sizes.
https://github.com/etsy/AndroidStaggeredGrid
4.76k stars 1.13k forks source link

Opened keyboard affects gridview column count #156

Open lawloretienne opened 9 years ago

lawloretienne commented 9 years ago

My GridView xml looks like this

<com.etsy.android.grid.StaggeredGridView
                android:id="@+id/deals_feed_gv"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:column_count_landscape="3"
                app:column_count_portrait="2"
                app:item_margin="8dp"
                />

When the Keyboard is NOT visible you can see that it correctly displays 2 columns

screenshot_2014-10-23-00-54-49

However, when the keyboard is displayed then it switches to 3 columns.

screenshot_2014-10-23-00-55-00

Is there a fix for this issue?

lawloretienne commented 9 years ago

Is this repo under active development, or has it been deprecated?