The second Guided Step fragment crashed when a password was entered but
no credit card info was selected, because it was trying to extract "Visa"
or "Master" substrings from an empty string. Put a check for string
sizes before this extraction is performed.
Change-Id: I9b93a302f5f855b1853885ff4e5fc9a04c200766
Included sample activities/fragments to showcase how to
use GuidedStepFragment in half screen mode.
Change-Id: I9eefe417ddf79b0dfe896a5cec25b7c7cd3a41e7
Showcase of sub actions (aka dropdown list) and the typical payment
steps: a dropdown list of available cards plus "add new card" step
which will add more options to the list.
Bug 24979518
Change-Id: I1c7b83381cda37081c7438700b6800a02b36fe71
1. no longer provide a view to host background view
2. add demo of checkbox
3. add demo of customize Ime options.
Change-Id: I76dbbbd7e341906ff4e7b8923b1ddc2c01026f44
Example of switching text when editing.
Example of error checking and next action.
Example of InputType.
Example of enable/disable action.
Change-Id: Iea5108cb3f3d487be0a8cd892568c3e053ee3d0d
Include all leanback support version of fragment except
PlaybackOverlayFragment missing a support version of PlaybackControlHelper.
Change-Id: Icb5c99e8677630e8541b22b009051dd3908d4f35
Added example of vertical grid transition
Added example of launching GuidedStepFragment from BrowseFragment.
Also fixed couple bug in GuidedStepActivity:
1. All fragment class should be public
2. Remove argument from constructor. Pass Arguments instead.
Bug: 23319507
Change-Id: Ia7b8d6669445be62f8f2a325cc460021ca392ded
BrowseErrorFragment also shows Background for selected item.
Need attach BackgroundManager to window.
b/22796403
Change-Id: I80bbaf48c85a318fdd0e07d4efd3d1b72876c03d
If for any reason e.g. BrowseActivty crash or rotate screen on phone,
system needs a public empty parameter constructor to restore
fragment stack.
Change-Id: I4c001b4b95a1958ff7f2cb42688582c8261a71e0
Two samples: Details opened from browse where the overview row is
the first row. Details used by Search where overview row is the
second row.
Added option in MainActivity to switch between using legacy
DetailsOverviewRowPresenter and FullWidthDetailsOverviewRowPresenter
Change-Id: I10220396b5cfc0538cd5e99e46829ddfca874359
Change example to show changing a checked item in a group while
staying on the same screen, to illustrate checkmark animations.
b/20545155
Change-Id: If7e64e57235e24fe3c6a3bf5b96c84fa7bd96da2
Make the main activity a guided step that allows the selection of
other activities. Add a dedicated activity to represent a
sequence of GuidedStepFragments.
b/18935698
Change-Id: I16142f4d7e87b3f2f02b812faa9bff82ecf5361c