From 7424684c75ca0190768953cb2ad4ff7f919e6a5b Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 9 Jan 2020 15:52:40 +1100 Subject: [PATCH] Implement linked devices screen redesign --- AndroidManifest.xml | 2 + res/drawable/ic_plus_24.xml | 2 +- .../prominent_dialog_button_background.xml | 4 +- res/layout/activity_linked_devices.xml | 37 ++++++++ res/layout/dialog_link_device_master_mode.xml | 85 ++++++++++++++++++ res/menu/menu_linked_devices.xml | 12 +++ .../activities/LinkedDevicesActivity.kt | 63 ++++++++++++++ .../redesign/activities/SettingsActivity.kt | 6 ++ .../dialogs/LinkDeviceMasterModeDialog.kt | 87 +++++++++++++++++++ 9 files changed, 295 insertions(+), 3 deletions(-) create mode 100644 res/layout/activity_linked_devices.xml create mode 100644 res/layout/dialog_link_device_master_mode.xml create mode 100644 res/menu/menu_linked_devices.xml create mode 100644 src/org/thoughtcrime/securesms/loki/redesign/activities/LinkedDevicesActivity.kt create mode 100644 src/org/thoughtcrime/securesms/loki/redesign/dialogs/LinkDeviceMasterModeDialog.kt diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 2528296c0b..b86e28f963 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -160,6 +160,8 @@ android:name="org.thoughtcrime.securesms.loki.redesign.activities.NotificationSettingsActivity" /> + diff --git a/res/drawable/prominent_dialog_button_background.xml b/res/drawable/prominent_dialog_button_background.xml index a1d03bb009..de3409d482 100644 --- a/res/drawable/prominent_dialog_button_background.xml +++ b/res/drawable/prominent_dialog_button_background.xml @@ -3,9 +3,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - + - + \ No newline at end of file diff --git a/res/layout/activity_linked_devices.xml b/res/layout/activity_linked_devices.xml new file mode 100644 index 0000000000..c816e18295 --- /dev/null +++ b/res/layout/activity_linked_devices.xml @@ -0,0 +1,37 @@ + + + + + + + + + +