83 lines
3.3 KiB
XML
83 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (c) 2022 NetEase, Inc. All rights reserved.
|
|
~ Use of this source code is governed by a MIT license that can be
|
|
~ found in the LICENSE file.
|
|
-->
|
|
|
|
<LinearLayout 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:orientation="vertical"
|
|
android:background="@color/color_f7f7f7"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.hbl.lewan.widget.StatusLayout
|
|
android:layout_width="match_parent"
|
|
android:background="@color/white"
|
|
android:layout_height="wrap_content"/>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:background="@color/white"
|
|
android:layout_height="?actionBarSize">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tablayout"
|
|
android:layout_width="@dimen/dp_200"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:layout_centerVertical="true"
|
|
android:background="@color/transparent"
|
|
app:tabIndicator="@drawable/tab_line1"
|
|
app:tabIndicatorColor="@color/color_c9a3e6"
|
|
app:tabIndicatorHeight="11dp"
|
|
app:tabBackground="@color/transparent"
|
|
app:tabMaxWidth="@dimen/dp_60"
|
|
app:tabMinWidth="@dimen/dp_60"
|
|
app:tabMode="fixed"
|
|
app:tabPaddingBottom="@dimen/dp_3"
|
|
app:tabPaddingEnd="0dp"
|
|
app:tabPaddingStart="0dp"
|
|
app:tabRippleColor="@null"
|
|
app:tabSelectedTextColor="@color/color_333333"
|
|
app:tabTextAppearance="@style/MyBgTablayoutstyle"
|
|
app:tabTextColor="@color/color_7f7b81" />
|
|
|
|
<ImageView
|
|
android:id="@+id/add_cir_iv"
|
|
android:layout_width="40dp"
|
|
android:layout_height="?actionBarSize"
|
|
android:src="@mipmap/cir_not_img"
|
|
android:scaleType="centerInside"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="@dimen/dp_5" />
|
|
|
|
<ImageView
|
|
android:id="@+id/not_cir_iv"
|
|
android:layout_width="40dp"
|
|
android:layout_height="?actionBarSize"
|
|
android:scaleType="centerInside"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_toLeftOf="@id/add_cir_iv"
|
|
android:src="@mipmap/add_cir_img" />
|
|
|
|
<TextView
|
|
android:id="@+id/main_alarms_list_item_flagNumView"
|
|
style="@style/text_view_number_style"
|
|
android:layout_gravity="top|right"
|
|
android:layout_marginBottom="0dip"
|
|
android:layout_alignRight="@id/not_cir_iv"
|
|
android:layout_marginLeft="0dip"
|
|
android:layout_marginRight="2dip"
|
|
android:layout_alignTop="@id/not_cir_iv"
|
|
android:layout_marginTop="8dp"
|
|
android:text="1"
|
|
android:visibility="gone"/>
|
|
|
|
</RelativeLayout>
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:overScrollMode="never"
|
|
android:id="@+id/viewpager"/>
|
|
</LinearLayout> |