8f27603fc4caa4931c98a97d4482b1b01bf4bd0f |
|
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
TabLayout + ViewPager improvements - Add support for arbitrary decor views in ViewPager. Previously it had a hidden marker interface, but now we have a public class annotation. - Made ViewPager's internal adapter change listener public to enable decor views to receive any changes. - TabLayout now supports being a decor view by automatically setting itself if it has a ViewPager parent. BUG: 27812405 Change-Id: Ia1a369f9401ee0108544a4aacc1461db3639cc80
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
dbc2b633f06747574b77a85ec662895c4ae6ccfc |
|
12-Apr-2016 |
Ryan Lothian <rjlothian@google.com> |
Revert "TabLayout + ViewPager improvements" This reverts commit 7555fd53f72cea589dec80f856dafaba5ecf99e8. After ag/904114, builds of Android Wear crash loop on startup. Bug: 28132794 Bug: 27812405 Change-Id: I85026dd8ab57dd268139e24037ad5a8544232935
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
7555fd53f72cea589dec80f856dafaba5ecf99e8 |
|
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
TabLayout + ViewPager improvements - Add support for arbitrary decor views in ViewPager. Previously it had a hidden marker interface, but now we just treat any view added via inflation as part of the decor. - Made ViewPager's internal adapter change listener public to enable decor views to receive any changes. - TabLayout now supports being a decor view by automatically setting itself if it has a ViewPager parent. BUG: 27812405 Change-Id: I7ebf2cd999b99285ed7367d6bf3436ad9a0f7355
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
b2345319ef535aef7d551328874bb383897e9dd7 |
|
24-Aug-2015 |
Alan Viverette <alanv@google.com> |
Correctly measure PagerTitleStrip Previously, TOO_SMALL was ignored and invalid heights could be set as the measured height. Bug: 23467280 Change-Id: I1ce54dc7f45bc53450993295be2a3e45d7b04282
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
f447fc9e1680c95be80279af51cbbcfeacc719da |
|
27-Jun-2015 |
Alan Viverette <alanv@google.com> |
Ensure PagerTitleStrip passes valid measurement sizes to MeasureSpec Bug: 22093206 Change-Id: If10b64fd5cb6ac3140686972fbc0f2c5b4647638
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
70acb0c19be3831a2080e4f902324de16bfbf62e |
|
04-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate support library with @ColorInt, @CallSuper, etc Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
5d6251c65f890a57aa9929eb6aacae2d8b917ec9 |
|
21-Sep-2012 |
Adam Powell <adamp@google.com> |
Track which PagerAdapter a PagerTitleStrip is watching Avoid a bug where a PagerAdapter's data set observer could be attached multiple times. Bug 7192394 Change-Id: Id100a2f2e512baf84ffc0b5afd09c1df46e8a05f
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
4d968c973a826b3e027319ea18dfe26a3394d837 |
|
24-Aug-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 667f1a6b: am 0d77aae0: Merge "PagerTitleStrip flicker fix, take 2" * commit '667f1a6bd325c56dcbe9426d2e737bb7b56c383b': PagerTitleStrip flicker fix, take 2
|
7b5296b51c07a9f69d051e3f3f85a5cfb92ac2e8 |
|
24-Aug-2012 |
Adam Powell <adamp@android.com> |
am 8652269d: am b3d3b57a: Merge "Fix PagerTitleStrip positioning during layout" * commit '8652269dd0439313f1f046231affe4ee84b563cb': Fix PagerTitleStrip positioning during layout
|
40f36156156b6aedaf47e65f403212136c7cd7b9 |
|
24-Aug-2012 |
Adam Powell <adamp@google.com> |
PagerTitleStrip flicker fix, take 2 Change-Id: I2681d4ce0d00cb1f8b881af6777448239bf7b0e7
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
4295e22421c26dd4f24cc0780a594d08a74a5cca |
|
23-Aug-2012 |
Adam Powell <adamp@google.com> |
Fix PagerTitleStrip positioning during layout Alternative patch for the proposed fix at https://android-review.googlesource.com/#/c/41811/ Preserve the correct titles when offset by more than 50% of a page during a layout pass. Change-Id: If9bbd5ce957ce6229bfea5eb7b8bcfef1e1a14b5
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
cc1cad0588e86d568b9467aa2669c2160af46503 |
|
10-Aug-2012 |
Adam Powell <adamp@google.com> |
Fix an issue with text clipping in PagerTitleStrip on adapter change Bug 6963866 Change-Id: Ife1f2e0ff7d53b73b8f68de6acaf56e79801c8f2
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
8d3dd8427b57f463f0d4959c0ad8796008472caa |
|
04-Jun-2012 |
Adam Powell <adamp@google.com> |
Fix some ViewPager positioning and title strip bugs Bug 6589201 - fix some bugs with page offsets when page margins and the pager's size change. ItemInfo#offset always holds the offset with the margins already taken into account; don't double-count them. Bug 6596152 - PagerTitleStrip shouldn't ask the adapter for a title for an item index that is out of range. Allow users to "catch" the pager properly after a fling without resetting position to the nearest page. More consistent/reliable tracking of scroll settling state. Use VelocityTracker properly when handing off between onInterceptTouchEvent/onTouchEvent Get rid of some dodgy rounding fudges. Change-Id: If22ab6b8b3de7dd3a8863032e10e59e5eda06f21
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
1e37da8d4fbd23a4440f32eba784520dc7a03265 |
|
21-May-2012 |
Adam Powell <adamp@google.com> |
Fix bugs in PagerTabStrip/PagerTitleStrip * Make textAllCaps work on ICS+. (Dumb transformation methods...) * Fix a bug where a layout pass would draw one frame where the strip titles were out of alignment. * Make PagerTabStrip draw a full-width underline if no background is set or if explicitly instructed. * Give PagerTabStrip a minimum width of 32dp for touchability. * Touching anywhere to the left or right of the currently selected tab will move next/prev. Change-Id: Idf58d3d0dc9c11b770d61b2ea6cc6494fd4a5103
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
24cc55cb5775a71ff144a3588003fa8e52951c7d |
|
14-May-2012 |
Adam Powell <adamp@google.com> |
Add PagerTabStrip PagerTabStrip is the snazzier, more stylish cousin of PagerTitleStrip. Like PagerTitleStrip, PagerTabStrip displays the previous, current, and next page titles. Unlike PagerTitleStrip, PagerTabStrip allows the previous and next titles to be focused and tapped to switch pages, and also presents a colored under-bar highlighting the current page title. Bug 6284709 Change-Id: I8a9488c37653cac508ac21d957d2d47835306459
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
5f6568e7e269783e2668527461878cadfbe65215 |
|
10-May-2012 |
Adam Powell <adamp@google.com> |
ViewPager size changes Fix some bugs that happen when ViewPagers change size that could cause pages to become misaligned. Bug 6335994 Change-Id: Iada902dea1436858b902d2d85c81418a179af5a9
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
82971b1050c50d3be5b2cbc285c74076e6763892 |
|
03-May-2012 |
Adam Powell <adamp@google.com> |
Bugfix for PagerTitleStrip#onDetachedFromWindow Protect against weird cases where the view may have erroneously received bad/mismatched calls to onDetached/onAttached Bug 6407068 Change-Id: Ifcdf63f6bb5ecaa18164f6b2c198fea7199348f1
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
23b42ec742c2047d6bb9b364c9609e6e0af13b9d |
|
01-Dec-2011 |
Adam Powell <adamp@google.com> |
Support vertical gravity on PagerTitleStrip Bug 5687387 Also have the text components baseline align and fix a few other small issues. Change-Id: I9dcf34c6f2f9ff7f881c4870838b916071054b0b
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
552468d2a1e3cbf74f3a6dcbb68fe079aed56cf9 |
|
30-Nov-2011 |
Adam Powell <adamp@google.com> |
Fix some PagerTitleStrip bugs Bug 5686735 - Bad constant used for setPrimaryAlpha in constructor Bug 5687434 - textSize xml attribute ignored Change-Id: Ife2d1e3ef0b7cd238b7de7b6d20d3c91e449f2f3
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
a4a06a94df00575480d789b60ea25ce59184df1f |
|
22-Nov-2011 |
Adam Powell <adamp@google.com> |
Add variable-width pages to ViewPager. Override PagerAdapter#getPageWidth. Default implementation returns 1.0. Add more programmatic configuration settings to PagerTitleStrip: * setTextSpacing * setNonPrimaryAlpha * setTextColor * setTextSize Change-Id: Ic05be8059e5b87523225e92dc906940c95349f76
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
0574ca37da4619afe4e26753f5a1b4de314b6565 |
|
17-Nov-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Add the support libraries to the platform documentation (support libs). Updated the support libraries' documentation. bug:5629339 Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
a7aea206661d601755bfac4165092d9130cba2bc |
|
02-Nov-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5521154 - changing adapters in ViewPagers with title strips Don't remove decorative views from a ViewPager when an adapter is set to null. Change-Id: Icf44aabf18adbd67fe156bcf48636418d9911aff
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
1ccb8bcb79557d861de7f271c13e2fd8e54e012a |
|
24-Oct-2011 |
Adam Powell <adamp@google.com> |
DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments as decor on rotation ViewPager should be less zealous about marking child views as decor, specifically when fragment restoration is involved outside of pager population. Introduce an interface that custom views can implement to become decor by default. Leave it package-private for now. Change-Id: Ib08eb1396824966e4324d6345bd3a33dd329a6e6
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|
8fffe01871be1806a1bdefa1f7213b660fcf5ac0 |
|
17-Oct-2011 |
Adam Powell <adamp@google.com> |
Title strips for ViewPager Add non-interactive title strips to ViewPager. This includes the following moving parts: * Extra decorative view support for ViewPager. Decorative views may be supplied as child views of a pager in XML layout. * Some package-private plumbing for communication without disturbing any pager callbacks that apps may be using. * The addition of PagerAdapter#getPageTitle to supply title strings for pages. (Defaults to no title for each page.) * The view PagerTitleStrip, to be added as a child of ViewPager. The developer can supply textAppearance/textSize/textColor etc. as well as layout sizing and gravity information this way. Change-Id: Id28d7f1ed996869f3f60bf99252340308f292d19
/frameworks/support/v4/java/android/support/v4/view/PagerTitleStrip.java
|