History log of /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b38561602db3fc1b31c7ee907da41ec2c53e4764 19-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Fix javadocs

Convert existing javadocs, which is more plain-text-ish, to javadocs
using proper HTML and javadoc tags.

Bug: 21444334
Change-Id: Iea79b3371c4e1c1c99515abd1c1492f37ad38d05
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
91051468dbc273da8d7e7608640e833a71d011e2 07-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Tint navigation button icons

- Remove the dark variant of button icons, since it is now tinted
to the desired color
- Use DrawableCompat.setTintList to tint the drawables to the same
color used as text
- Use textColorPrimary as the navigation text color, since the spec
now matches the default textColorPrimary implementation of material
theme (This changes the disabled color from 20% alpha to 26% alpha)
- Configured the build to take two different implementations of
NavigationBarButton. The platform build is the same as Button,
since drawable tinting is natively supported. The comapt build
uses DrawableCompat in the support library to tint any compound
drawables
- Removed all xxxhdpi assets since that was introduced in L, but
vector assets are used in L instead.
- For the vector drawables, use tint instead of fillColor so that the
state in the ColorStateList will be taken into account.

Bug: 22129308
Change-Id: Id0c7b40ad3e71c2c66a0e89df4522865a61e923e
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
624e47bb19724c1195cabb235f150ffcb1656097 30-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add support for require scrolling" into ub-setupwizard-alatar
2d77e072fed129b34e473c7f77246a2b064fab7d 29-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add support for require scrolling

Add SetupWizardLayout.requireScrollToBottom method that will register
a RequireScrollHelper on the layout. When the helper is registered
and the content view can scroll, the next button will be hidden and a
down-arrow button is shown, which will scroll the page down when
clicked.

Change-Id: Ib9ddcbeec24169cc00265fe107deb1b5099cba8d
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
6c093727dc5ab7b13f142506803b1d98a642c910 28-May-2015 Maurice Lam <yukl@google.com> Center nav bar button icon

Center the navigation bar button icon when there is no text label.

Bug: 21465490
Change-Id: Ie2d890b29c721f6f2fb0608637b5a76ab389294e
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
e7b519c1769be4e43fff8c9a909cb1ba15f25ebb 30-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix nav bar button alpha

Mutate the drawables on the button before setting the alpha, and set
the relative compound drawables (needed for RTL-supported layouts)
and the normal compound drawables (needed for pre-JB-MR1 layouts).

Bug: 19994341
Change-Id: I236f371ca9bd24ab039c6ddef0c3fd12640c607c
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
83c3c51890c8cee83822fd41d323728b8ed2b254 30-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix setup wizard crash

Check for null before trying to set alpha on the drawables of the
button. Also call setTextColor so that the text alpha of the button
is also set (in addition to just the drawables).

Bug: 19982609
Change-Id: I1d5c19d792ada1fa8b31902a2b0e27ff80af597f
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
9f9367672191190f903955d09a4314d40869acc6 27-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Eclair compat build

Bug: 19929602
Change-Id: I0e3ed9024461ec50efe2258031c1d2648f0d333f
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java
2646e1d82ec6d133b35b775f044e156fca6d9d75 17-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Changed project hierarchy

Moved res-ics to ics/res, and res, src, AndroidManifest to main/.
This fits more to the "canonical layout" expected by gradle, and
works around the issue where blaze is expecting every res directory
used by a target to be named the same (including its library
dependencies and its transitive dependencies).

Change-Id: I658e3c0a67a01f379c43d3fad82cd40f9aa8cd28
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/NavigationBar.java