Electric-Coin-Company / zashi-android

The Zashi Zcash Wallet, Android Edition
MIT License
22 stars 15 forks source link

Receive: improve Receive screen UI by adding a toggle for addresses #1412

Closed true-jared closed 3 months ago

true-jared commented 5 months ago

Is your feature request related to a problem? Please describe.

We'd like to rework the UI part of the Receive screen the way it splits the screen content and put it into two tabs parts of the viewpager.

On smaller devices, users do NOT see the transparent address at all with the current design. We decided to improve this by allowing the user to toggle between the unified and transparent address.

Describe the solution you'd like

The requested UI is described in the Figma design: https://www.figma.com/design/vYQD6uZtkPgtmgJ3zfauq0/Zashi-UI?node-id=5328-100823&t=9LI3NGkrYTDbkPMo-0

Note that the underlying bottom tabs viewpager might not work properly if we add another swipeable component. Disabling the swipe gesture for the new viewpager is one possible solution. Is there any other useful solution for this case?

Additional context

Related classes are AndroidReceive.kt and ReceiveView.kt.