From c47a2d9e139ef599d81fbfe3223b459e877e8f95 Mon Sep 17 00:00:00 2001 From: Yabin Huang Date: Mon, 14 Sep 2020 19:17:27 -0700 Subject: Add an example to demo custom FocusArea Bug: 155698037 Test: manual Change-Id: I4bf0648d66da4804e9d67c8f98accd92f65cbd41 --- .../res/layout/custom_focus_areas_fragment.xml | 214 +++++++++++++++++++++ RotaryPlayground/res/layout/rotary_cards.xml | 5 +- RotaryPlayground/res/layout/rotary_menu.xml | 7 + .../rotaryplayground/CustomFocusAreasFragment.java | 35 ++++ .../android/car/rotaryplayground/RotaryMenu.java | 14 ++ 5 files changed, 271 insertions(+), 4 deletions(-) create mode 100644 RotaryPlayground/res/layout/custom_focus_areas_fragment.xml create mode 100644 RotaryPlayground/src/com/android/car/rotaryplayground/CustomFocusAreasFragment.java (limited to 'RotaryPlayground') diff --git a/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml new file mode 100644 index 0000000..ea6a0b0 --- /dev/null +++ b/RotaryPlayground/res/layout/custom_focus_areas_fragment.xml @@ -0,0 +1,214 @@ + + + + + + + +