184 lines
7.9 KiB
XML
184 lines
7.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout 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="wrap_content"
|
||
|
android:background="@color/transparent"
|
||
|
android:clipChildren="false">
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:id="@+id/guard_rootView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="52dp"
|
||
|
android:background="@drawable/guardian_img_bg"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent">
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/guard_linearLayout"
|
||
|
android:layout_width="182dp"
|
||
|
android:layout_height="32dp"
|
||
|
android:layout_marginTop="52dp"
|
||
|
android:layout_marginBottom="21dp"
|
||
|
android:background="@drawable/bg_guard_up_title"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
app:layout_constraintBottom_toTopOf="@+id/guard_constraintLayout"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/guard_anchor_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:text=""
|
||
|
android:textColor="#F6F7FB"
|
||
|
android:textSize="14sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
android:id="@+id/guard_constraintLayout"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="5dp"
|
||
|
android:layout_marginTop="11dp"
|
||
|
android:layout_marginEnd="5dp"
|
||
|
android:background="@drawable/bg_guard_info"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/guard_linearLayout">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/guard_textView2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="16dp"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/buy_guard_info"
|
||
|
android:textColor="#020202"
|
||
|
android:textSize="16sp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/guard_buys_layout"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="110dp"
|
||
|
android:layout_marginStart="6dp"
|
||
|
android:layout_marginTop="16dp"
|
||
|
android:layout_marginEnd="6dp"
|
||
|
android:orientation="vertical"
|
||
|
android:overScrollMode="never"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/guard_textView2">
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/guard_buys"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="center">
|
||
|
|
||
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/guard_imageView2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/guard_buys_layout"
|
||
|
app:srcCompat="@drawable/sh_img_title" />
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/guard_rights"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="16dp"
|
||
|
android:layout_marginEnd="16dp"
|
||
|
android:overScrollMode="never"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/guard_imageView2">
|
||
|
|
||
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/guard_relativeLayout"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="77dp"
|
||
|
android:layout_marginTop="-20dp"
|
||
|
android:background="@drawable/img_guard_bottom"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/guard_constraintLayout">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginTop="25dp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent">
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/guard_coin_name"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:textColor="@color/textColor2"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/guard_coin"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_toRightOf="@id/guard_coin_name"
|
||
|
android:drawablePadding="4dp"
|
||
|
android:textColor="@color/global"
|
||
|
android:textSize="14sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/guard_btn_buy"
|
||
|
android:layout_width="90dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_alignParentEnd="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginEnd="15dp"
|
||
|
android:background="@drawable/bg_guard_btn_buy"
|
||
|
android:enabled="false"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/guard_buy"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="14sp" />
|
||
|
</RelativeLayout>
|
||
|
</RelativeLayout>
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/guard_imageView"
|
||
|
android:layout_width="243dp"
|
||
|
android:layout_height="117dp"
|
||
|
android:layout_above="@id/guard_rootView"
|
||
|
android:layout_centerHorizontal="true"
|
||
|
android:layout_marginBottom="-102dp"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
app:srcCompat="@drawable/guardian_img_wings" />
|
||
|
</RelativeLayout>
|