Prechádzať zdrojové kódy

添加规则activity

Gogs 1 mesiac pred
rodič
commit
b5ba7f0de5

+ 5 - 1
module_me/src/main/AndroidManifest.xml

@@ -134,7 +134,11 @@
         <activity
             android:name=".view.invite.ExchangeActivity"
             android:launchMode="singleTask"
-            android:screenOrientation="portrait" />        
+            android:screenOrientation="portrait" />
+
+        <activity android:name=".view.invite.InviteRulesActivity"
+            android:launchMode="singleTask"
+            android:screenOrientation="portrait" />
     </application>
 
 </manifest>

+ 25 - 653
module_me/src/main/res/layout/module_me_tab_invite_earnings.xml

@@ -1,654 +1,26 @@
 <?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/rootLayout"
-    android:layout_width="match_parent"
-    android:layout_height="match_parent">
-
-    <ImageView
-        android:id="@+id/ivBg"
-        android:layout_width="0dp"
-        android:layout_height="0dp"
-        android:scaleType="centerCrop"
-        android:src="@drawable/invite_bg"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent" />
-
-    <androidx.constraintlayout.widget.ConstraintLayout
-        android:id="@+id/clTopBar"
-        android:layout_width="0dp"
-        android:layout_height="wrap_content"
-        android:paddingBottom="0dp"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent">
-
-        <ImageView
-            android:id="@+id/ivBack"
-            android:layout_width="32dp"
-            android:layout_height="32dp"
-            android:layout_marginStart="16dp"
-            android:background="@drawable/module_me_bg_topbar_btn_dark"
-            android:padding="6dp"
-            android:src="@drawable/ic_back"
-            android:tint="@color/white"
-            app:layout_constraintStart_toStartOf="parent"
-            app:layout_constraintTop_toTopOf="parent" />
-
-        <TextView
-            android:id="@+id/tvTitle"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:text="邀请收益"
-            android:textColor="@color/white"
-            android:textSize="18sp"
-            android:textStyle="bold"
-            app:layout_constraintBottom_toBottomOf="@id/ivBack"
-            app:layout_constraintEnd_toEndOf="parent"
-            app:layout_constraintStart_toStartOf="parent"
-            app:layout_constraintTop_toTopOf="@id/ivBack" />
-
-        <TextView
-            android:id="@+id/tvRule"
-            android:layout_width="56dp"
-            android:layout_height="29dp"
-            android:layout_marginEnd="0dp"
-            android:background="@drawable/module_me_bg_rule_edge"
-            android:gravity="center"
-            android:text="规则"
-            android:textColor="@color/white"
-            android:textSize="12sp"
-            app:layout_constraintBottom_toBottomOf="@id/tvTitle"
-            app:layout_constraintEnd_toEndOf="parent"
-            app:layout_constraintTop_toTopOf="@id/tvTitle" />
-    </androidx.constraintlayout.widget.ConstraintLayout>
-
-    <androidx.core.widget.NestedScrollView
-        android:id="@+id/scrollView"
-        android:layout_width="0dp"
-        android:layout_height="0dp"
-        android:fillViewport="true"
-        app:layout_constraintBottom_toTopOf="@+id/btnInviteNow"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toBottomOf="@id/clTopBar">
-
-        <LinearLayout
-            android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:orientation="vertical"
-            android:paddingBottom="16dp">
-
-            <androidx.constraintlayout.widget.ConstraintLayout
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginHorizontal="16dp"
-                android:layout_marginTop="5dp"
-                android:background="@drawable/sp_r12_dash_white_60"
-                android:padding="0dp">
-
-                <TextView
-                    android:id="@+id/tvMoreInvite"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:layout_marginBottom="4dp"
-                    android:background="@drawable/sp_r10_stroke_f56a05_white"
-                    android:paddingHorizontal="10dp"
-                    android:paddingVertical="3dp"
-                    android:text="多邀多得"
-                    android:textColor="#F56A05"
-                    android:textSize="12sp"
-                    app:layout_constraintBottom_toTopOf="@id/tvHeaderTitle"
-                    app:layout_constraintStart_toStartOf="@id/tvHeaderTitle" />
-
-                <TextView
-                    android:id="@+id/tvHeaderTitle"
-                    android:layout_width="0dp"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="30dp"
-                    android:layout_marginBottom="8dp"
-                    android:gravity="center"
-                    android:text="邀请好友领取丰厚现金"
-                    android:textColor="@color/white"
-                    android:textSize="22sp"
-                    android:textStyle="bold"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toTopOf="parent" />
-
-                <FrameLayout
-                    android:id="@+id/llReward"
-                    android:layout_width="0dp"
-                    android:layout_height="100dp"
-                    android:layout_marginTop="0dp"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toBottomOf="@id/tvHeaderTitle">
-
-                    <ImageView
-                        android:layout_width="match_parent"
-                        android:layout_height="match_parent"
-                        android:scaleType="fitXY"
-                        android:src="@drawable/banner_scroll_bg" />
-
-                    <LinearLayout
-                        android:layout_width="match_parent"
-                        android:layout_height="wrap_content"
-                        android:layout_gravity="center"
-
-                        android:gravity="center"
-                        android:orientation="vertical"
-                        android:paddingHorizontal="12dp"
-                        android:paddingTop="0dp"
-                        android:paddingBottom="18dp">
-
-                        <LinearLayout
-                            android:layout_width="match_parent"
-                            android:layout_height="wrap_content"
-                            android:gravity="center"
-                            android:orientation="horizontal">
-
-                            <TextView
-                                android:layout_width="wrap_content"
-                                android:layout_height="wrap_content"
-                                android:text="邀请的一级用户可获得充值收益"
-                                android:textColor="#A16850"
-                                android:textSize="12sp" />
-
-                            <TextView
-                                android:layout_width="wrap_content"
-                                android:layout_height="wrap_content"
-                                android:layout_marginStart="4dp"
-                                android:text="4%"
-                                android:textColor="#FF3B30"
-                                android:textSize="14sp"
-                                android:textStyle="bold" />
-                        </LinearLayout>
-
-                        <LinearLayout
-                            android:layout_width="match_parent"
-                            android:layout_height="wrap_content"
-                            android:layout_marginTop="6dp"
-                            android:gravity="center"
-                            android:orientation="horizontal">
-
-                            <TextView
-                                android:layout_width="wrap_content"
-                                android:layout_height="wrap_content"
-                                android:text="一级用户邀请二级用户可获得充值收益"
-                                android:textColor="#A16850"
-                                android:textSize="12sp" />
-
-                            <TextView
-                                android:layout_width="wrap_content"
-                                android:layout_height="wrap_content"
-                                android:layout_marginStart="4dp"
-                                android:text="1%"
-                                android:textColor="#FF3B30"
-                                android:textSize="14sp"
-                                android:textStyle="bold" />
-                        </LinearLayout>
-                    </LinearLayout>
-                </FrameLayout>
-
-                <LinearLayout
-                    android:id="@+id/llInviteCode"
-                    android:layout_width="0dp"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="0dp"
-                    android:gravity="center"
-                    android:orientation="horizontal"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toBottomOf="@id/llReward">
-
-                    <TextView
-                        android:id="@+id/tvInviteCodeLabel"
-                        android:layout_width="wrap_content"
-                        android:layout_height="wrap_content"
-                        android:text="我的专属邀请码:"
-                        android:textColor="@color/white"
-                        android:textSize="14sp" />
-
-                    <TextView
-                        android:id="@+id/tvInviteCode"
-                        android:layout_width="wrap_content"
-                        android:layout_height="wrap_content"
-                        android:layout_marginStart="6dp"
-                        android:text=""
-                        android:textColor="@color/white"
-                        android:textSize="16sp"
-                        android:textStyle="bold" />
-
-                    <Button
-                        android:id="@+id/btnCopy"
-                        android:layout_width="48dp"
-                        android:layout_height="24dp"
-                        android:layout_marginStart="10dp"
-                        android:background="@drawable/sp_r12_white_30"
-                        android:text="复制"
-                        android:textColor="@color/white"
-                        android:textSize="12sp" />
-                </LinearLayout>
-            </androidx.constraintlayout.widget.ConstraintLayout>
-
-            <androidx.constraintlayout.widget.ConstraintLayout
-                android:id="@+id/clBinding"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginHorizontal="16dp"
-                android:layout_marginTop="12dp"
-                android:background="@drawable/sp_r10_white"
-                android:padding="16dp">
-
-                <TextView
-                    android:id="@+id/tvBindingTitle"
-                    android:layout_width="wrap_content"
-                    android:layout_height="20dp"
-                    android:layout_marginStart="17dp"
-                    android:layout_marginTop="8dp"
-                    android:text="绑定关系"
-                    android:textColor="#FF5E2D11"
-                    android:textSize="14sp"
-                    android:textFontWeight="400"
-                    android:fontFamily="@font/app_font"
-                    android:gravity="start|top"
-                    android:alpha="1"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toTopOf="parent" />
-
-                <TextView
-                    android:id="@+id/tvBindingStatus"
-                    android:layout_width="wrap_content"
-                    android:layout_height="20dp"
-                    android:layout_marginTop="8dp"
-                    android:textColor="#FFAB8E7B"
-                    android:textSize="14sp"
-                    android:textFontWeight="400"
-                    android:fontFamily="@font/app_font"
-                    android:gravity="start|top"
-                    android:alpha="1"
-                    app:layout_constraintEnd_toStartOf="@+id/vBindDot"
-                    app:layout_constraintTop_toTopOf="parent"
-                    android:text="未绑定" />
-
-                <View
-                    android:id="@+id/vBindDot"
-                    android:layout_width="6dp"
-                    android:layout_height="6dp"
-                    android:layout_marginStart="4dp"
-                    android:layout_marginEnd="8dp"
-                    android:alpha="1"
-                    android:background="@drawable/sp_red_dot_6"
-                    app:layout_constraintBottom_toBottomOf="@id/tvBindingStatus"
-                    app:layout_constraintEnd_toStartOf="@+id/ivBindArrow"
-                    app:layout_constraintTop_toTopOf="@id/tvBindingStatus" />
-
-                <ImageView
-                    android:id="@+id/ivBindArrow"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:src="@drawable/ic_arrow_right_gray"
-                    app:layout_constraintBottom_toBottomOf="@id/tvBindingStatus"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintTop_toTopOf="@id/tvBindingStatus" />
-
-                <TextView
-                    android:id="@+id/tvBoundInviter"
-                    android:layout_width="0dp"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="10dp"
-                    android:textColor="#FF5E2D11"
-                    android:textSize="13sp"
-                    android:visibility="gone"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toBottomOf="@id/tvBindingTitle"
-                    android:text="邀请人:" />
-            </androidx.constraintlayout.widget.ConstraintLayout>
-
-            <androidx.constraintlayout.widget.ConstraintLayout
-                android:id="@+id/clEarnings"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_marginHorizontal="16dp"
-                android:layout_marginTop="12dp"
-                android:background="@drawable/sp_r10_white"
-                android:padding="16dp">
-
-                <TextView
-                    android:id="@+id/tvPointsLabel"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:background="@drawable/sp_r20_white"
-                    android:elevation="2dp"
-                    android:paddingHorizontal="10dp"
-                    android:paddingVertical="2dp"
-                    android:text="积分余额"
-                    android:textColor="@color/black"
-                    android:textSize="14sp"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toTopOf="parent" />
-
-                <TextView
-                    android:id="@+id/tvPoints"
-                    android:layout_width="wrap_content"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="8dp"
-                    android:textColor="#FF3B30"
-                    android:textSize="24sp"
-                    android:textStyle="bold"
-                    app:layout_constraintStart_toStartOf="parent"
-                    app:layout_constraintTop_toBottomOf="@id/tvPointsLabel"
-                    android:text="0" />
-
-                <Button
-                    android:id="@+id/btnExchange"
-                    android:layout_width="62dp"
-                    android:layout_height="30dp"
-                    android:background="@drawable/sp_r6_stroke_f56a05"
-                    android:text="兑换"
-                    android:textColor="#FFF56A05"
-                    android:textSize="14sp"
-                    android:layout_marginRight="10dp"
-                    app:layout_constraintBottom_toBottomOf="@id/tvPoints"
-                    app:layout_constraintEnd_toStartOf="@id/btnWithdraw"
-                    app:layout_constraintTop_toTopOf="@id/tvPoints" />
-
-                <Button
-                    android:id="@+id/btnWithdraw"
-                    android:layout_width="62dp"
-                    android:layout_height="30dp"
-                    android:background="@drawable/sp_r6_solid_f56a05"
-                    android:text="提现"
-                    android:textColor="@color/white"
-                    android:textSize="14sp"
-                    app:layout_constraintBottom_toBottomOf="@id/tvPoints"
-                    app:layout_constraintEnd_toEndOf="parent"
-                    app:layout_constraintTop_toTopOf="@id/tvPoints" />
-
-                <LinearLayout
-                    android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="16dp"
-                    android:orientation="horizontal"
-                    app:layout_constraintTop_toBottomOf="@id/tvPoints">
-
-                    <LinearLayout
-                        android:layout_width="0dp"
-                        android:layout_height="wrap_content"
-                        android:layout_weight="1"
-                        android:gravity="center"
-                        android:orientation="vertical">
-
-                        
-
-                        <TextView
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginTop="4dp"
-                            android:text="今日收益"
-                            android:textColor="#999999"
-                            android:textSize="12sp" />
-                            <TextView
-                            android:id="@+id/tvTodayEarnings"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:textColor="@color/black"
-                            android:textSize="16sp"
-                            android:text="0" />
-                    </LinearLayout>
-
-                    <View
-                        android:layout_width="1dp"
-                        android:layout_height="match_parent"
-                        android:background="#EEEEEE" />
-
-                    <LinearLayout
-                        android:layout_width="0dp"
-                        android:layout_height="wrap_content"
-                        android:layout_weight="1"
-                        android:gravity="center"
-                        android:orientation="vertical">
-
-                      
-
-                        <TextView
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginTop="4dp"
-                            android:text="累计收益"
-                            android:textColor="#999999"
-                            android:textSize="12sp" />
-                              <TextView
-                            android:id="@+id/tvTotalEarnings"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:textColor="@color/black"
-                            android:textSize="16sp"
-                            android:text="0" />
-                    </LinearLayout>
-
-                    <View
-                        android:layout_width="1dp"
-                        android:layout_height="match_parent"
-                        android:background="#EEEEEE" />
-
-                    <LinearLayout
-                        android:layout_width="0dp"
-                        android:layout_height="wrap_content"
-                        android:layout_weight="1"
-                        android:gravity="center"
-                        android:orientation="vertical">
-
-                       
-
-                        <TextView
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginTop="4dp"
-                            android:text="累计邀请人次"
-                            android:textColor="#999999"
-                            android:textSize="12sp" />
-                             <TextView
-                            android:id="@+id/tvTotalInvites"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:textColor="@color/black"
-                            android:textSize="16sp"
-                            android:text="0" />
-                    </LinearLayout>
-                </LinearLayout>
-            </androidx.constraintlayout.widget.ConstraintLayout>
-
-            <LinearLayout
-                android:layout_width="match_parent"
-                android:layout_height="500dp"
-                android:layout_marginHorizontal="16dp"
-                android:layout_marginTop="12dp"
-                android:background="@drawable/sp_r10_white"
-                android:orientation="vertical"
-                android:padding="16dp">
-
-                <com.google.android.material.tabs.TabLayout
-                    android:id="@+id/tabLayout"
-                    android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    app:tabIndicatorHeight="0dp" />
-
-                <androidx.constraintlayout.widget.ConstraintLayout
-                    android:id="@+id/billHeader"
-                    android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
-                    android:layout_marginTop="12dp"
-                    android:visibility="gone">
-
-                    <LinearLayout
-                        android:id="@+id/llBillIncome"
-                        android:layout_width="wrap_content"
-                        android:layout_height="wrap_content"
-                        android:orientation="horizontal"
-                        android:gravity="center_vertical"
-                        app:layout_constraintStart_toStartOf="parent"
-                        app:layout_constraintTop_toTopOf="parent"
-                        app:layout_constraintBottom_toBottomOf="parent">
-
-                        <FrameLayout
-                            android:id="@+id/flIncomeDot"
-                            android:layout_width="16dp"
-                            android:layout_height="16dp"
-                            android:background="@drawable/sp_circle_stroke_999">
-
-                            <TextView
-                                android:id="@+id/tvIncomeCheck"
-                                android:layout_width="match_parent"
-                                android:layout_height="match_parent"
-                                android:gravity="center"
-                                android:text="✓"
-                                android:textColor="@color/white"
-                                android:textSize="10sp"
-                                android:visibility="gone" />
-                        </FrameLayout>
-
-                        <TextView
-                            android:id="@+id/tvIncomeLabel"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginStart="4dp"
-                            android:text="收益"
-                            android:textColor="#333333"
-                            android:textSize="14sp" />
-                    </LinearLayout>
-
-                    <LinearLayout
-                        android:id="@+id/llBillExpense"
-                        android:layout_width="wrap_content"
-                        android:layout_height="wrap_content"
-                        android:layout_marginStart="16dp"
-                        android:orientation="horizontal"
-                        android:gravity="center_vertical"
-                        app:layout_constraintStart_toEndOf="@id/llBillIncome"
-                        app:layout_constraintTop_toTopOf="@id/llBillIncome"
-                        app:layout_constraintBottom_toBottomOf="@id/llBillIncome">
-
-                        <FrameLayout
-                            android:id="@+id/flExpenseDot"
-                            android:layout_width="16dp"
-                            android:layout_height="16dp"
-                            android:background="@drawable/sp_circle_stroke_999">
-
-                            <TextView
-                                android:id="@+id/tvExpenseCheck"
-                                android:layout_width="match_parent"
-                                android:layout_height="match_parent"
-                                android:gravity="center"
-                                android:text="✓"
-                                android:textColor="@color/white"
-                                android:textSize="10sp"
-                                android:visibility="gone" />
-                        </FrameLayout>
-
-                        <TextView
-                            android:id="@+id/tvExpenseLabel"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginStart="4dp"
-                            android:text="支出"
-                            android:textColor="#666666"
-                            android:textSize="14sp" />
-                    </LinearLayout>
-
-                    <LinearLayout
-                        android:layout_width="wrap_content"
-                        android:layout_height="wrap_content"
-                        android:orientation="horizontal"
-                        android:gravity="center_vertical"
-                        app:layout_constraintEnd_toEndOf="parent"
-                        app:layout_constraintTop_toTopOf="parent"
-                        app:layout_constraintBottom_toBottomOf="parent">
-
-                        <TextView
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:text="合计: "
-                            android:textColor="#FFFF6D00"
-                            android:textSize="14sp" />
-
-                        <TextView
-                            android:id="@+id/tvBillTotal"
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:text="0"
-                            android:textColor="#FFFF6D00"
-                            android:textSize="18sp"
-                            android:textStyle="bold" />
-                    </LinearLayout>
-                </androidx.constraintlayout.widget.ConstraintLayout>
-
-                <FrameLayout
-                    android:layout_width="match_parent"
-                    android:layout_height="0dp"
-                    android:layout_weight="1"
-                    android:layout_marginTop="16dp">
-
-                    <androidx.recyclerview.widget.RecyclerView
-                        android:id="@+id/recyclerView"
-                        android:layout_width="match_parent"
-                        android:layout_height="match_parent"
-                        android:nestedScrollingEnabled="true" />
-
-                    <LinearLayout
-                        android:id="@+id/emptyView"
-                        android:layout_width="match_parent"
-                        android:layout_height="match_parent"
-                        android:orientation="vertical"
-                        android:gravity="center"
-                        android:visibility="gone">
-
-                        <ImageView
-                            android:layout_width="120dp"
-                            android:layout_height="120dp"
-                            android:src="@drawable/ic_empty_data" />
-
-                        <TextView
-                            android:layout_width="wrap_content"
-                            android:layout_height="wrap_content"
-                            android:layout_marginTop="16dp"
-                            android:text="暂无数据"
-                            android:textColor="#999999"
-                            android:textSize="14sp" />
-                    </LinearLayout>
-                </FrameLayout>
-            </LinearLayout>
-        </LinearLayout>
-    </androidx.core.widget.NestedScrollView>
-
-    <Button
-        android:id="@+id/btnInviteNow"
-        android:layout_width="0dp"
-        android:layout_height="48dp"
-        android:layout_marginHorizontal="32dp"
-        android:layout_marginBottom="24dp"
-        android:background="@drawable/sp_r16_ff5722"
-        android:text="立即邀请"
-        android:textColor="@color/white"
-        android:textSize="16sp"
-        android:textStyle="bold"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toStartOf="parent" />
-
-    <ProgressBar
-        android:id="@+id/progressBar"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:visibility="gone"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent" />
-
-</androidx.constraintlayout.widget.ConstraintLayout>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:orientation="vertical"
+    android:gravity="center_horizontal">
+
+    <TextView
+        android:id="@+id/tvTab"
+        android:layout_width="64dp"
+        android:layout_height="23dp"
+        android:alpha="1"
+        android:fontFamily="@font/app_font"
+        android:gravity="center"
+        android:textColor="#999999"
+        android:textSize="16sp" />
+
+    <View
+        android:id="@+id/vIndicator"
+        android:layout_width="20dp"
+        android:layout_height="3dp"
+        android:layout_marginTop="4dp"
+        android:alpha="1"
+        android:background="#D84315"
+        android:visibility="invisible" />
+</LinearLayout>