summaryrefslogtreecommitdiffstats
path: root/library/test/src/com/android/setupwizardlib/test/SetupWizardLayoutTests.java
Commit message (Collapse)AuthorAgeFilesLines
* [SetupWizardLib] Add progress bar supportMaurice Lam2015-04-031-0/+31
| | | | | | | | | | | | | Added methods showProgressBar, hideProgressBar and isProgressBarShown to SetupWizardLayout, that will show the bar if the corresponding ViewStub exists. This implementation has an improvement over existing Setup Wizard implementations in that it supports ListViews as well as ScrollViews, and the progress bar will be sticky together with the header instead of being scrolled away. Change-Id: Ifd7acae36a9b244d759b6528bb5dfdc3e1d15091
* [SetupWizardLib] Eclair compat buildMaurice Lam2015-03-261-10/+4
| | | | | Bug: 19929602 Change-Id: I0e3ed9024461ec50efe2258031c1d2648f0d333f
* [SetupWizardLib] Add getNavigationBarMaurice Lam2015-03-231-0/+16
| | | | | | Add getNavigationBar method to SetupWizardLayout Change-Id: I49eeb5cfee2917d5b4e3f552f9c3b68747dcd79a
* [SetupWizardLib] Fix tests for tabletsMaurice Lam2015-03-121-8/+18
| | | | | | | | The layout requires SuwThemeMaterial to be the theme, and the tablet layout will crash without the theme. In the tests, we don't create activities so use a ContextThemeWrapper to apply the themes. Change-Id: I70d9252ed3c44a341dc10076d15aafc7c75c7209
* [SetupWizardLib] TestsMaurice Lam2015-03-101-0/+104
Set up the structure for tests in setup wizard library. To run the tests, cd to the root of the tree and run ./gradlew connectedAndroidTest Currently the tests fail for version lower than SDK 21, even for IcsCompat because the resources aren't available yet. Change-Id: I62106f531d99d7861be9474af8100fbc63ea8684