├── demo ├── libs │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── activity_main.xml │ ├── drawable │ │ └── bg_white_box.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── layout │ │ ├── activity_main.xml │ │ ├── element_header.xml │ │ ├── element_item.xml │ │ ├── element_item_small.xml │ │ └── element_item_large.xml ├── project.properties ├── proguard-project.txt ├── AndroidManifest.xml └── src │ ├── com │ └── mino │ │ └── staggeredgridview │ │ └── MainActivity.java │ └── android │ └── support │ └── v4 │ └── widget │ └── StaggeredGridView.java ├── .gitignore └── README.md /demo/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisjenx/StaggeredGridView/HEAD/demo/libs/android-support-v4.jar -------------------------------------------------------------------------------- /demo/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisjenx/StaggeredGridView/HEAD/demo/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisjenx/StaggeredGridView/HEAD/demo/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrisjenx/StaggeredGridView/HEAD/demo/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | StaggeredGridView 5 | Hello world! 6 | Settings 7 | 8 | -------------------------------------------------------------------------------- /demo/res/menu/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # files for the dex VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # generated files 12 | bin/ 13 | gen/ 14 | 15 | # Local configuration file (sdk path, etc) 16 | local.properties 17 | 18 | # Eclipse project files 19 | .classpath 20 | .project 21 | -------------------------------------------------------------------------------- /demo/res/drawable/bg_white_box.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /demo/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | StaggeredGridView 2 | ================= 3 | 4 | ## This is just a demo 5 | 6 | If you want a better implimentation of this, either wait for google to release it. 7 | 8 | Or try https://github.com/maurycyw/StaggeredGridView 9 | 10 | 11 | ### About 12 | Based of the google staggeredgridview that has been hidden from the ACL, this is an example based off of that and supporting scroll listener. 13 | -------------------------------------------------------------------------------- /demo/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /demo/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /demo/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-17 15 | -------------------------------------------------------------------------------- /demo/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | -------------------------------------------------------------------------------- /demo/res/layout/element_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |