Skip to content

Collection of extensions to common Android ViewGroups demonstrating customization.

License

Notifications You must be signed in to change notification settings

jdgreene2008/android_custom_views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Scrolling Demo

Collection of extensions to common Android ViewGroups demonstrating customizations using MotionEvent handling and Scrollers.

The source code presented here demonstrates ways to extend the Android View framework to develop creative user interfaces bthat don't come right out of the box.

Demo App

Demos each of the custom scroll-based views featured below. Demo App

The below shows the CustomScrollingView.java custom UI component in action. The user scrolls up and down to reveal the circles. The primary purpose of this custom UI component is to serve as an intro to building customizable scrolling component outside of the Android framework class of ScrollView.java.

ScrollingRailsView Example

ScrollingRailsView

ImageFlashView Example

Uses ImageCacheHelper and ImageLoader, two classes created to faciliated loading Bitmaps efficiently. The ImageCacheHelper is backed by an LruCache. This ensures that the Bitmaps do not consume excessive amounts of memory when stored.

ImageFlashView

FlashShapesView

Draw different geometric shapes into view as the user scrolls. The shapes are drawn proportional to the view size so that it scales across any screen sizes.

Large View

FlashShapesView-Large Window

Mini View

FlashShapesView-Mini Window

About

Collection of extensions to common Android ViewGroups demonstrating customization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published