From a0a6a6d96f796a7db950820e9320305bf96245ef Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sat, 13 Jan 2018 13:26:43 +0100 Subject: msm8996-common: overlay-lineage: Customise button customisation fragment for z2 * Remove the backbutton options completely, we don't have a real one * Remove all the wake with button options but for home and volume keys * Rename the menu key and the assistant key to Swipe right and long tap * Remove all actions but main one for swipe right and longtap (menu and assist keys normally) * Add Swipe left implementation (thanks @ontherunvaro for his implementation that helped me for this) * Will start translating in future Signed-off-by: Davide Garberi --- .../apps/LineageParts/res/values/strings.xml | 10 + .../apps/LineageParts/res/xml/button_settings.xml | 285 +++++++++++++++++++++ 2 files changed, 295 insertions(+) create mode 100644 overlay-lineage/packages/apps/LineageParts/res/values/strings.xml create mode 100644 overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml (limited to 'overlay-lineage') diff --git a/overlay-lineage/packages/apps/LineageParts/res/values/strings.xml b/overlay-lineage/packages/apps/LineageParts/res/values/strings.xml new file mode 100644 index 0000000..138ba66 --- /dev/null +++ b/overlay-lineage/packages/apps/LineageParts/res/values/strings.xml @@ -0,0 +1,10 @@ + + + + Swipe right + Long Tap + Swipe left + Swipe action + LongTap action + + diff --git a/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml b/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml new file mode 100644 index 0000000..c0f302e --- /dev/null +++ b/overlay-lineage/packages/apps/LineageParts/res/xml/button_settings.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3