Skip to content
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

Incorret item spacing after rotating without recreate activity #70

Open
xavix-yo opened this issue Mar 10, 2014 · 0 comments
Open

Incorret item spacing after rotating without recreate activity #70

xavix-yo opened this issue Mar 10, 2014 · 0 comments

Comments

@xavix-yo
Copy link

Hello!

Here my first post on github!

Manifest:

 <activity
            android:name="com.ambrosettilive.app.CardViewActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:launchMode="singleTop"
            android:theme="@style/AppBaseTheme" >
        </activity>

Layout:

<com.etsy.android.grid.StaggeredGridView

        android:id="@+id/staggeredGridView1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:item_margin="8dp"
        app:column_count="@integer/column_number" />
<!-- 4 column landscape and 3 on portrait-->

Before rotating:
screen1
After rotating:
screen2

Ask me whatever yout want.

Thank you,
Daniele

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant