|
|
@ -86,16 +86,16 @@ |
|
|
|
android:id="@+id/icon_profile" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:contentDescription="@string/content_description_profile_zebra" |
|
|
|
android:elevation="6dp" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
app:layout_constraintDimensionRatio="H,1:1" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
app:layout_constraintVertical_bias="0.212" |
|
|
|
app:layout_constraintVertical_bias="0.137" |
|
|
|
app:layout_constraintWidth_percent="0.4" |
|
|
|
app:srcCompat="@drawable/ic_profile_zebra_01" |
|
|
|
android:contentDescription="@string/content_description_profile_zebra" /> |
|
|
|
app:srcCompat="@drawable/ic_profile_zebra_01" /> |
|
|
|
|
|
|
|
<View |
|
|
|
android:id="@+id/hit_area_settings" |
|
|
@ -148,45 +148,28 @@ |
|
|
|
android:id="@+id/hit_area_address" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
android:onClick="copyAddress" |
|
|
|
app:layout_constraintBottom_toTopOf="@id/button_feedback" |
|
|
|
app:layout_constraintBottom_toTopOf="@id/button_backup" |
|
|
|
app:layout_constraintEnd_toEndOf="@id/guideline_content_end" |
|
|
|
app:layout_constraintStart_toStartOf="@id/text_address" |
|
|
|
app:layout_constraintTop_toTopOf="@id/text_username" |
|
|
|
tools:background="@color/spacer" /> |
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
android:id="@+id/button_feedback" |
|
|
|
style="@style/Zcash.Button" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:gravity="center" |
|
|
|
android:padding="12dp" |
|
|
|
android:text="@string/profile_send_feedback" |
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" |
|
|
|
android:textColor="#000000" |
|
|
|
android:visibility="invisible" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="@id/guideline_content_end" |
|
|
|
app:layout_constraintStart_toStartOf="@id/guideline_content_start" |
|
|
|
app:layout_constraintTop_toBottomOf="@id/text_address" |
|
|
|
app:layout_constraintVertical_bias="0.1" |
|
|
|
tools:visibility="invisible" /> |
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
android:id="@+id/button_backup" |
|
|
|
style="@style/Zcash.Button.OutlinedButton" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
style="@style/Zcash.Button.OutlinedButton" |
|
|
|
android:layout_marginTop="24dp" |
|
|
|
android:gravity="center" |
|
|
|
android:padding="12dp" |
|
|
|
android:text="@string/profile_backup_wallet" |
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" |
|
|
|
android:textColor="@color/text_light" |
|
|
|
app:layout_constraintEnd_toEndOf="@id/guideline_content_end" |
|
|
|
app:layout_constraintHorizontal_bias="0.0" |
|
|
|
app:layout_constraintStart_toStartOf="@id/guideline_content_start" |
|
|
|
app:layout_constraintTop_toBottomOf="@id/button_feedback" /> |
|
|
|
app:layout_constraintTop_toBottomOf="@id/text_address" /> |
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
android:id="@+id/button_rescan" |
|
|
@ -210,7 +193,7 @@ |
|
|
|
android:id="@+id/text_banner_message" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginBottom="102dp" |
|
|
|
android:layout_marginBottom="128dp" |
|
|
|
android:background="@drawable/background_banner" |
|
|
|
android:elevation="6dp" |
|
|
|
android:paddingStart="16dp" |
|
|
@ -219,10 +202,10 @@ |
|
|
|
android:text="@string/profile_ecc_wallet" |
|
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" |
|
|
|
android:textColor="@color/selector_button_text_light" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
app:layout_constraintEnd_toEndOf="@id/guideline_content_end" |
|
|
|
app:layout_constraintHorizontal_bias="1.0" |
|
|
|
app:layout_constraintHorizontal_bias="0.0" |
|
|
|
app:layout_constraintStart_toStartOf="@id/guideline_content_start" |
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
tools:ignore="RtlSymmetry" /> |
|
|
|
|
|
|
|
<TextView |
|
|
@ -237,4 +220,73 @@ |
|
|
|
app:layout_constraintEnd_toEndOf="@id/text_banner_message" |
|
|
|
tools:text="v1.0.0-alpha05" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/textView2" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:text="© 2016-2022 The Hush Developers\nAll rights reserved. Licensed under GPLv3" |
|
|
|
android:textAlignment="center" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/text_banner_message" /> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="57dp" |
|
|
|
android:layout_marginTop="1dp" |
|
|
|
android:layout_marginEnd="1dp" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:textAlignment="center" |
|
|
|
app:layout_constraintBottom_toTopOf="@+id/text_banner_message" |
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
app:layout_constraintTop_toBottomOf="@+id/button_rescan"> |
|
|
|
|
|
|
|
<ImageButton |
|
|
|
android:id="@+id/websiteButton" |
|
|
|
android:layout_width="64dp" |
|
|
|
android:layout_height="64dp" |
|
|
|
android:layout_weight="1" |
|
|
|
android:scaleType="fitCenter" |
|
|
|
app:tint="#333333" |
|
|
|
app:srcCompat="@drawable/ic_website" /> |
|
|
|
|
|
|
|
<ImageButton |
|
|
|
android:id="@+id/telegramButton" |
|
|
|
android:layout_width="64dp" |
|
|
|
android:layout_height="64dp" |
|
|
|
android:layout_weight="1" |
|
|
|
android:scaleType="fitCenter" |
|
|
|
app:tint="#333333" |
|
|
|
app:srcCompat="@drawable/ic_telegram" /> |
|
|
|
|
|
|
|
<ImageButton |
|
|
|
android:id="@+id/matrixButton" |
|
|
|
android:layout_width="64dp" |
|
|
|
android:layout_height="64dp" |
|
|
|
android:layout_weight="1" |
|
|
|
android:scaleType="fitCenter" |
|
|
|
app:tint="#333333" |
|
|
|
app:srcCompat="@drawable/ic_matrix" /> |
|
|
|
|
|
|
|
<ImageButton |
|
|
|
android:id="@+id/mastodonButton" |
|
|
|
android:layout_width="64dp" |
|
|
|
android:layout_height="64dp" |
|
|
|
android:layout_weight="1" |
|
|
|
android:scaleType="fitCenter" |
|
|
|
app:tint="#333333" |
|
|
|
app:srcCompat="@drawable/ic_mastodon" /> |
|
|
|
|
|
|
|
<ImageButton |
|
|
|
android:id="@+id/peertubeButton" |
|
|
|
android:layout_width="64dp" |
|
|
|
android:layout_height="64dp" |
|
|
|
android:layout_weight="1" |
|
|
|
android:scaleType="fitCenter" |
|
|
|
app:tint="#333333" |
|
|
|
app:srcCompat="@drawable/ic_peertube" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |