@@ -46,12 +46,62 @@ by the directory name, such as {@code v4/} and {@code v13/}.</p>
4646the Support Package, as denoted by revision number.</p>
4747
4848
49-
5049<div class="toggle-content open">
5150
5251 <p><a href="#" onclick="return toggleContent(this)">
5352 <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img" />
54- Support Package, revision 4 (October 2011)
53+ Support Package, revision 6 (December 2011)
54+ </a></p>
55+
56+ <div class="toggle-content-toggleme" style="padding-left:2em">
57+ <dl>
58+ <dt>Changes for v4 support library:</dt>
59+ <dd>
60+ <ul>
61+ <li>Changes to ViewPager:
62+ <ul>
63+ <li>Added extra decorative view support for {@link android.support.v4.view.ViewPager}.
64+ Decorative views may be supplied as child views of a pager in XML layout.</li>
65+ <li>Added {@link android.support.v4.view.PagerAdapter#getPageTitle
66+ PagerAdapter.getPageTitle()} to supply title strings for pages, which defaults to no
67+ title for each page.</li>
68+ <li>Added {@link android.support.v4.view.PagerTitleStrip}, a non-interactive title
69+ strip, that can be added as a child of ViewPager. Developers can supply text
70+ appearance and color, as well as layout sizing and gravity information.</li>
71+ <li>Updated PagerAdapter methods to take ViewGroup objects, rather than View to avoid
72+ class casting in adapter implementations. For more information, see
73+ {@link android.support.v4.view.PagerAdapter}.</li>
74+ <li>Updated ViewPager to use Launcher Workspace-style fling behavior.</li>
75+ <li>Bug fixes for user interface interaction and test automation.</li>
76+ </ul>
77+ </li>
78+
79+ <li>Support for Fragments:
80+ <ul>
81+ <li>Changed {@code setStartDeferred()} method to {@link
82+ android.support.v4.app.Fragment#setUserVisibleHint}.</li>
83+ <li>Added deferred start for off-screen pages to improve performance.</li>
84+ </ul>
85+ </li>
86+
87+ <li>Support for Accessiblity APIs:
88+ <ul>
89+ <li>Updated {@link android.support.v4.view.AccessibilityDelegateCompat} methods
90+ to return empty lists instead of null.</li>
91+ <li>Added new APIs needed by the v4 samples.</li>
92+ </ul>
93+ </li>
94+
95+ </ul>
96+ </dd>
97+ </dl>
98+ </div>
99+
100+ <div class="toggle-content closed">
101+
102+ <p><a href="#" onclick="return toggleContent(this)">
103+ <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" />
104+ Support Package, revision 5 (December 2011)
55105 </a></p>
56106
57107 <div class="toggle-content-toggleme" style="padding-left:2em">
@@ -88,6 +138,36 @@ the Support Package, as denoted by revision number.</p>
88138 </ul>
89139 </li>
90140
141+ <li>Changes to <code>ViewPager</code>:
142+ <ul>
143+ <li>Added support for margins between pages.
144+ An optional {@link android.graphics.drawable.Drawable} can be provided
145+ to fill the margins.</li>
146+ <li>Added support for {@link android.widget.EdgeEffect}.</li>
147+ <li>Added support for keyboard navigation</li>
148+ <li>Added support to control how many pages are kept to either side
149+ of the current page.</li>
150+ <li>Improved touch physics.</li>
151+ <li>Bug fixes for user interface behavior.</li>
152+ </ul>
153+ </li>
154+ </ul>
155+ </dd>
156+ </dl>
157+ </div>
158+
159+ <div class="toggle-content closed">
160+
161+ <p><a href="#" onclick="return toggleContent(this)">
162+ <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" />
163+ Support Package, revision 4 (October 2011)
164+ </a></p>
165+
166+ <div class="toggle-content-toggleme" style="padding-left:2em">
167+ <dl>
168+ <dt>Changes for v4 support library:</dt>
169+ <dd>
170+ <ul>
91171 <li>Added <code>EdgeEffectCompat</code> to
92172 support {@link android.widget.EdgeEffect}.</li>
93173
@@ -106,19 +186,7 @@ the Support Package, as denoted by revision number.</p>
106186 <li>Various bug fixes.</li>
107187 </ul>
108188 </li>
109- <li>Changes to <code>ViewPager</code>:
110- <ul>
111- <li>Added support for margins between pages.
112- An optional {@link android.graphics.drawable.Drawable} can be provided
113- to fill the margins.</li>
114- <li>Added support for {@link android.widget.EdgeEffect}.</li>
115- <li>Added support for keyboard navigation</li>
116- <li>Added support to control how many pages are kept to either side
117- of the current page.</li>
118- <li>Improved touch physics.</li>
119- </ul>
120- </li>
121-
189+
122190 <li>Fixed a {@link android.content.Loader} bug that caused issues in
123191 canceling {@link android.os.AsyncTask}s when running on Froyo and older
124192 versions of the platform. The support
@@ -202,7 +270,8 @@ Android 3.2 and higher (all other APIs in the v4 library are already available w
202270 <dd>
203271 <ul>
204272 <li>Support for fragment animations</li>
205- <li>Fix {@code Fragment.onActivityResult()} bug</li>
273+ <li>Fix {@code android.support.v4.app.Fragment#onActivityResult Fragment.onActivityResult()}
274+ bug</li>
206275 </ul>
207276 </dd>
208277 </dl>
@@ -261,8 +330,7 @@ libs/} directory.
261330 </li>
262331 <li>Add the JAR to your project build path.
263332 <p>In Eclipse, right-click the JAR file in the Package Explorer, select <strong>Build
264- Path</strong> > <strong>Add to Build Path</strong>. You should then see the JAR file appear in a
265- new directory called Referenced Libraries.</p>
333+ Path</strong> > <strong>Add to Build Path</strong>.</p>
266334 </li>
267335</ol>
268336
0 commit comments