An Android GridView that can be configured to scroll horizontally or vertically
TwoWayGridView
What is TwoWayGridView?
TwoWayGridView is an Android GridView that can be configured to scroll horizontally or vertically.
I should have posted this over a year and a half ago, but never got around to it. I needed a grid view that in portrait would scroll vertically, but in landscape, would scroll horizontally. I thought I could try hacking up the Gallery, but that never works out well, and if GridView could really be configured to scroll any direction, it would just be so much easier.
So I built it one weekend. Lots of left, right, top, bottom changes, but the end result is a really useful UI widget.
Feel free to use it in your apps, according to the Apache 2.0 license. Also feel free to fork it and improve it. You could fairly easily create a horizontal listview by extending TwoWayAbsListView.
Overview
- Pricing: Free
- Resource Link: https://github.com/jess-anders/two-way-gridview
- Resource Maker: Jess Anders
- Mobile Platform Destination: Android Apps
- Mobile Platform Support: Native Android
- Programming Languages: Java
Related resources
CircularAnimation
Animate group of views in a circular motion
BubbleTabBar
Bottom navigation bar with customizable bubble like tabs
NotchyAlert
Use the iPhone X Notch to display alerts