184 lines
6.4 KiB
XML
184 lines
6.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
<RadioGroup
|
||
|
android:id="@+id/radio_group"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="90dp"
|
||
|
android:background="@mipmap/bg_guard_buy_top_1"
|
||
|
android:orientation="horizontal"
|
||
|
>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView android:id="@+id/txt_1"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textSize="10dp"
|
||
|
android:textColor="@color/color_white"
|
||
|
android:gravity="center"
|
||
|
android:paddingTop="4dp"
|
||
|
android:paddingBottom="4dp"
|
||
|
android:background="@drawable/background_yellow"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:text=""/>
|
||
|
|
||
|
<RadioButton
|
||
|
android:id="@+id/btn_1"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/bg_btn_buy_guard"
|
||
|
android:button="@null"
|
||
|
android:checked="true"
|
||
|
android:gravity="center"
|
||
|
android:textColor="@color/fg_btn_buy_guard"
|
||
|
android:textSize="14sp"
|
||
|
/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView android:id="@+id/txt_2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textSize="10dp"
|
||
|
android:paddingTop="4dp"
|
||
|
android:paddingBottom="4dp"
|
||
|
android:textColor="@color/color_white"
|
||
|
android:gravity="center"
|
||
|
android:background="@drawable/background_yellow"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:text=""/>
|
||
|
|
||
|
|
||
|
<RadioButton
|
||
|
android:id="@+id/btn_2"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/bg_btn_buy_guard"
|
||
|
android:button="@null"
|
||
|
android:gravity="center"
|
||
|
android:textColor="@color/fg_btn_buy_guard"
|
||
|
android:textSize="14sp"
|
||
|
/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView android:id="@+id/txt_3"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textSize="10dp"
|
||
|
android:textColor="@color/color_white"
|
||
|
android:gravity="center"
|
||
|
android:background="@drawable/background_yellow"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:paddingTop="4dp"
|
||
|
android:paddingBottom="4dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:text=""/>
|
||
|
|
||
|
|
||
|
<RadioButton
|
||
|
android:id="@+id/btn_3"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/bg_btn_buy_guard"
|
||
|
android:button="@null"
|
||
|
android:gravity="center"
|
||
|
android:textColor="@color/fg_btn_buy_guard"
|
||
|
android:textSize="14sp"/>
|
||
|
</LinearLayout>
|
||
|
</RadioGroup>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="@color/white"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/recyclerView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="10dp"
|
||
|
android:layout_marginTop="10dp"
|
||
|
android:overScrollMode="never"
|
||
|
/>
|
||
|
|
||
|
<View
|
||
|
style="@style/line2"
|
||
|
/>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="50dp">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/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/coin"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_toRightOf="@id/coin_name"
|
||
|
android:drawablePadding="4dp"
|
||
|
android:textColor="@color/global"
|
||
|
android:textSize="14sp"
|
||
|
/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_buy"
|
||
|
android:layout_width="90dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginRight="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>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|