History log of /frameworks/support/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarListDialogDemo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0d96cb4a2ca0610159b117be0fbcf52eca206b1 08-May-2018 Anthony Chen <ajchen@google.com> Add support for sections in CarListDialog.

A section has a title and list of items associated with it. To pass this
information to the CarListDialog, abstract it with a struct class.

Fixes: 77823219
Test: Test on sample application with sections.
Test: ./gradlew car:connectedCheck
Change-Id: I1f9dcf622d52d4fdd23987bbeecbc9be21139db0
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarListDialogDemo.java
e6eb48de2c71c696233689e3ec076f1f4d8fa881 10-Apr-2018 Anthony Chen <ajchen@google.com> Add ability for CarListDialog to support a title.

The title is fixed at the top of the list and does not scroll with the
list items.

Change-Id: I5f46871baedc7e197dcee9ac986e52524c583be8
Fixes: 74396216
Test: test dialog in demo app
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarListDialogDemo.java
9a3a7c9092bc661482d9bbf28c21a3ff7d9b85c1 05-Apr-2018 Anthony Chen <ajchen@google.com> Create demo activities for the dialogs in car support library.

Also, fix a bug where setting just a title and action buttons prevents
the dialog from taking the full width available to the CarAlertDialog.

Change-Id: Ie2c9291eaa16c4d3aba2be6dbf2991e72cb0e5e1
Fixes: 77647547
Test: deploy car demo app
Test: ./gradlew car:connectedCheck
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarListDialogDemo.java