From e7d79b34257f97243c0dbc466d5df4ab62255f63 Mon Sep 17 00:00:00 2001 From: Adrian DC Date: Sun, 10 Sep 2017 11:32:09 +0100 Subject: [PATCH] MotoActions: Import Oreo Settings layouts * These layouts are necessary for custom activities to inherit from (those that are integrated into Settings, which is the case of the several forms of DeviceSettings), in order to keep UI consistency. In Oreo, all Settings preferences and preference categories have a margin on the left, reserved for icons. * Place the layouts here, to avoid cluttering device trees (plain copy of Google's layouts from Settings app). Change-Id: Ib3f670b19c7e728b97fd76efe04bcc2f69008b06 --- .../preference_category_material_settings.xml | 66 ++++++++++++++ .../layout/preference_material_settings.xml | 86 +++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 MotoActions/res/layout/preference_category_material_settings.xml create mode 100644 MotoActions/res/layout/preference_material_settings.xml diff --git a/MotoActions/res/layout/preference_category_material_settings.xml b/MotoActions/res/layout/preference_category_material_settings.xml new file mode 100644 index 0000000..5a1043d --- /dev/null +++ b/MotoActions/res/layout/preference_category_material_settings.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MotoActions/res/layout/preference_material_settings.xml b/MotoActions/res/layout/preference_material_settings.xml new file mode 100644 index 0000000..9682e32 --- /dev/null +++ b/MotoActions/res/layout/preference_material_settings.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + +