Files
brave-core/android/java/res/layout/fragment_accounts.xml
T

104 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="24dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="16dp"
android:orientation="horizontal"
tools:ignore="UseCompoundDrawables">
<TextView
android:id="@+id/accounts_backup"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAlignment="gravity"
android:text="@string/backup"
android:textSize="16sp"
android:textColor="@color/wallet_text_color"
android:drawablePadding="8dp"
app:drawableStartCompat="@drawable/ic_safe" />
<ImageView
android:id="@+id/accounts_settings"
android:drawablePadding="8dp"
android:layout_weight="0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@null"
android:src="@drawable/ic_wallet_settings"/>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="gravity"
android:text="@string/primary_crypto_accounts"
android:textColor="@color/wallet_secondary_text_color"
android:layout_gravity="center_vertical"
android:textSize="14sp"
android:layout_marginBottom="4dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_accounts"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="gravity"
android:text="@string/secondary_accounts"
android:textColor="@color/wallet_secondary_text_color"
android:layout_gravity="center_vertical"
android:textSize="14sp"
android:layout_marginBottom="8dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="gravity"
android:text="@string/secondary_accounts_text"
android:textColor="@color/wallet_secondary_text_color"
android:layout_gravity="center_vertical"
android:textSize="12sp"
android:layout_marginBottom="16dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_secondary_accounts"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"/>
<TextView
android:id = "@+id/add_account_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/add_account"
android:textColor="@color/wallet_text_color"
android:background="@drawable/rounded_white_holo_bg"
android:gravity="center"
android:textSize="14sp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:layout_marginBottom="16dp"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>