Update sample for template with androidx support.

Bug: 110369130
Test: Manually tested.
Change-Id: I3970f3005a490d33c8de2e0df45f056adf1b9f09
3 files changed