97341bdc5bea1d7bf777de65228039142d249f38 |
|
20-Jul-2012 |
Adam Powell <adamp@google.com> |
Add SlidingPaneLayout SlidingPaneLayout gives a two-pane layout suitable for use at the top level of an activity layout. layout_width on children is treated as a minimum width and layout_weight indicates how remaining space should be divided, similar to LinearLayout. When there isn't enough space to lay out the child views, remaining views become sliding panels that can move over previous panels. If a panel slides more than halfway out of view, it dims and will not respond to normal touch input. Instead taps will slide the panel closed making its content fully visible again. Still todo: * Keyboard support - navigating into a dimmed pane should bring the pane back. * requestChildRectangleOnScreen and friends * Helpers for manipulating Up/Back in Activities * Further testing Change-Id: I4dae69e06d1cee4e7b68091f6bea70a317eab517
/frameworks/support/v4/honeycomb/android/support/v4/view/ViewCompatHC.java
|
8a0c51a3d438802df28612e02fdf0cc8fab06ddb |
|
24-Jul-2012 |
Adam Powell <adamp@google.com> |
Add PageTransformers to ViewPager PageTransformer allows an app to supply a custom step during scrolling to transform each page view in addition to the default sliding behavior. Setting a PageTransformer also allows the app to reverse the drawing order for pages to accomodate certain kinds of transformations. Add setLayerType to ViewCompat. Make ViewPager use hardware layers for scrolling when available and a PageTransformer is in use. Change-Id: Icdcb7bf92ad4adb9d14e36c6048f7f5dd455437b
/frameworks/support/v4/honeycomb/android/support/v4/view/ViewCompatHC.java
|
ec03704fbb4f0217d4c274d1c6cf56e6ea4dcfbd |
|
12-Apr-2012 |
Adam Powell <adamp@google.com> |
Add support for postOnAnimation View methods for JB. Fallback variants for older platform versions post runnables with a timeout value lower than that needed to achieve 60fps. Change-Id: I807a1cbe82111a29e9459de0892f253348717c7b
/frameworks/support/v4/honeycomb/android/support/v4/view/ViewCompatHC.java
|