Revamp CustomDevicesActivity
Summary
Modernize CustomDevicesActivity by:
- Using a RecyclerView instead of the deprecated ListView
- Adding a FloatingActionButton allow adding device entries
- Show a Dialog to handle the actual hostname/ip-address entry
- Allow editing of already existing custom devices
- Allow devices to be deleted by swiping them to the left or right
- Allow the last deleted device to be recovered using a Snackbar
Before | After | |||
Test Plan
Install patch and verify that all the above functionality works as expected
Edited by Erik Duisters