Files
AndroidJava/dash-wallet/wallet/res/layout/fragment_payments_receive.xml
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

64 lines
2.6 KiB
XML

<ScrollView 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"
android:orientation="vertical"
tools:context="de.schildbach.wallet.ui.payments.PaymentsReceiveFragment">
<LinearLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="15dp"
app:cardBackgroundColor="@color/background_secondary"
app:cardCornerRadius="12dp"
app:cardElevation="0dp">
<org.dash.wallet.common.ui.receive.ReceiveInfoView
android:id="@+id/receive_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:ri_qr_code_scale="0.68"
app:ri_show_amount_action="true"
app:ri_show_share_action="true" />
</androidx.cardview.widget.CardView>
<LinearLayout
android:id="@+id/import_private_key_btn"
style="@style/Button.Primary.Large.Inverted"
android:clickable="true"
android:focusable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginHorizontal="15dp"
android:paddingHorizontal="10dp">
<ImageView
android:layout_width="34dp"
android:layout_height="34dp"
android:layout_marginStart="5dp"
android:layout_marginVertical="18dp"
android:padding="8dp"
android:background="@drawable/rounded_background"
android:theme="@style/EncircledIconBlueTheme"
android:src="@drawable/ic_import"
tools:background="@color/colorPrimary" />
<TextView
style="@style/Body2.Medium"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="15dp"
android:layout_gravity="center_vertical"
android:text="@string/sweep_wallet_activity_title" />
</LinearLayout>
</LinearLayout>
</ScrollView>