History log of /frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarAlertDialogDemo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
03a1642ce34e4a32c650cd7892ba9805b0dfe32e 08-May-2018 Anthony Chen <ajchen@google.com> Remove button padding depending on if body text exists.

The button panel should have a top margin if there's body text.
Otherwise, there should be no margin.

Fixes: 79371506
Test: test in sample app with a dialog with and without body text.
Test: car:connectedCheck
Change-Id: I73781e683123fe6b0691856e82f907750ea26d72
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/CarAlertDialogDemo.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/CarAlertDialogDemo.java