Files
brave-core/android/java/res/drawable/rectangle_9.xml
T
Simone Arpe 6b242e419c (Wallet) Implement recovery screens (#24943)
Implements new layouts and new logic for recovery screens.

1. The recovery phrase is shown when a new Wallet is created and the UI is presented with a blurred component that will be unblurred only upon user confirmation.

2. The recovery phrase verification is now in three steps and will ask to confirm three words picked at a random position.
For security reasons these steps won't allow back navigation and skipping them will consider the backup process as not completed, so the user will have the option to complete the verification later on.

3. The new Wallet restoration screen is the most complex screen of this PR. It accepts a mnemonic phrase made by 12 or 24 words. It can be copied over from clipboard, spit, formatted and pasted nicely in each edit text. The edit text items have been customized to accept the pasted text (See `PasteEditText` component). The layout can switch from 12 and 24 words, and also has a button to mask and unmask the words. The continue button is responsive and is enabled ONLY when all the items have been filled.
2024-08-14 15:09:23 +02:00

25 lines
843 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2024 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:width="14dp"
android:height="8dp"
android:viewportWidth="14"
android:viewportHeight="8"
>
<group>
<clip-path
android:pathData="M4 0H10C12.2091 0 14 1.79086 14 4C14 6.20914 12.2091 8 10 8H4C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0Z"
/>
<path
android:pathData="M0 0V8H14V0"
android:fillColor="@color/divider_subtle"
/>
</group>
</vector>