mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-17 16:31:53 +00:00
Add copy mnemonic button
This commit is contained in:
@@ -43,10 +43,23 @@
|
||||
android:layout_marginTop="16dp"
|
||||
android:alpha="0.8"
|
||||
android:textStyle="italic"
|
||||
android:textAlignment="center" />
|
||||
android:textAlignment="center"
|
||||
tools:text="quick brown fox jump lazy dog" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/copyButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@color/white"
|
||||
android:textColor="@color/signal_primary"
|
||||
android:text="@string/activity_key_pair_copy_button_title"
|
||||
android:elevation="0dp"
|
||||
android:stateListAnimator="@null" />
|
||||
|
||||
<com.dd.CircularProgressButton
|
||||
android:id="@+id/nextButton"
|
||||
android:id="@+id/registerButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="20dp"
|
||||
@@ -57,7 +70,7 @@
|
||||
app:cpb_colorProgress="@color/textsecure_primary"
|
||||
app:cpb_cornerRadius="4dp"
|
||||
app:cpb_selectorIdle="@drawable/progress_button_state"
|
||||
app:cpb_textIdle="@string/activity_key_pair_button_title" />
|
||||
app:cpb_textIdle="@string/activity_key_pair_register_button_title" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@@ -1526,6 +1526,8 @@
|
||||
<!-- Key pair activity -->
|
||||
<string name="activity_key_pair_title">Create Your Loki Messenger Account</string>
|
||||
<string name="activity_key_pair_subtitle">Please save the seed below in a safe location. It can be used to restore your account if you lose access, or to migrate to a new device.</string>
|
||||
<string name="activity_key_pair_button_title">Register</string>
|
||||
<string name="activity_key_pair_copy_button_title">Copy</string>
|
||||
<string name="activity_key_pair_mnemonic_copied_message">Copied to Clipboard</string>
|
||||
<string name="activity_key_pair_register_button_title">Register</string>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user