iFish7/iFish7/src/main/res/layout/mygold_activity.xml

64 lines
1.9 KiB
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<RelativeLayout
android:id="@+id/rl_banner"
android:layout_width="match_parent"
android:layout_height="160dp"
>
<ImageView
android:id="@+id/iv_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
/>
<ImageView
android:id="@+id/iv_gold"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_centerInParent="true"
android:src="@drawable/icon_mygold"
/>
<TextView
android:id="@+id/tv_gold"
android:layout_below="@+id/iv_gold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_margin="13dp"
android:textSize="18sp"
android:textColor="@color/F5CC21"
/>
</RelativeLayout>
<include
android:id="@+id/in_daohang"
layout="@layout/title_layout_device_alpha" />
<!-- <TabLayout-->
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_below="@+id/rl_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabIndicatorColor="@color/color_00B9EF"
app:tabGravity="fill"
app:tabMode="fixed"
app:tabTextAppearance="@style/CustomTabLayoutTextAppearance"
app:tabSelectedTextColor="@color/main_tab_darkgrey"
app:tabTextColor="@color/main_tab_darkgrey"
/>
<View
android:id="@+id/view_line"
android:layout_below="@+id/tabLayout"
style="@style/line_color"
android:layout_height="17dp"
/>
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_below="@+id/view_line"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</RelativeLayout>