149 lines
6.4 KiB
XML
149 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:fitsSystemWindows="false"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKNoSwipeViewPager
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
></com.ck.ckcollar.app.widget.CKNoSwipeViewPager>
|
|
|
|
<!-- <com.google.android.material.bottomnavigation.BottomNavigationView-->
|
|
<!-- android:id="@+id/bottom_nav"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="52dp"-->
|
|
<!-- app:menu="@menu/bottom_nav_menu"-->
|
|
<!-- app:itemIconSize="22dp"-->
|
|
<!-- app:itemIconTint="@color/bottom_nav_ico_selector_color"-->
|
|
<!-- app:itemTextColor="@color/bottom_nav_selector_color"-->
|
|
<!-- app:itemActiveIndicatorStyle="@null"-->
|
|
<!-- app:itemTextAppearanceActive="@style/MainItemTextSelectStyle"-->
|
|
<!-- app:itemTextAppearanceInactive="@style/MainItemTextUnSelectStyle"-->
|
|
<!-- android:background="?attr/mainBackground"-->
|
|
<!-- app:labelVisibilityMode="labeled"-->
|
|
<!-- app:itemBackground="@color/scankit_viewfinder_translant"-->
|
|
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
|
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@id/viewPager"-->
|
|
<!-- ></com.google.android.material.bottomnavigation.BottomNavigationView>-->
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="52dp"
|
|
android:background="?attr/mainBackground"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:id="@+id/content1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/image1"
|
|
android:layout_width="22dp"
|
|
android:layout_height="22dp"
|
|
android:src="@mipmap/image_nav_item1_select"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/text1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/home"
|
|
android:layout_marginTop="3dp"
|
|
android:textSize="10sp"
|
|
android:textColor="@color/textColor"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:id="@+id/content2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/image2"
|
|
android:layout_width="22dp"
|
|
android:layout_height="22dp"
|
|
android:src="@mipmap/image_nav_item2_normal"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/text2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/health"
|
|
android:layout_marginTop="3dp"
|
|
android:textSize="10sp"
|
|
android:textColor="@color/textSecondColor"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:id="@+id/content3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/image3"
|
|
android:layout_width="22dp"
|
|
android:layout_height="22dp"
|
|
android:src="@mipmap/image_nav_item3_normal"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/text3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/mall"
|
|
android:layout_marginTop="3dp"
|
|
android:textSize="10sp"
|
|
android:textColor="@color/textSecondColor"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|
|
<com.ck.ckcollar.app.widget.CKLinearLayout
|
|
android:id="@+id/content4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
>
|
|
<com.ck.ckcollar.app.widget.CKImageView
|
|
android:id="@+id/image4"
|
|
android:layout_width="22dp"
|
|
android:layout_height="22dp"
|
|
android:src="@mipmap/image_nav_item4_normal"
|
|
></com.ck.ckcollar.app.widget.CKImageView>
|
|
|
|
<com.ck.ckcollar.app.widget.CKTextView
|
|
android:id="@+id/text4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/mine"
|
|
android:layout_marginTop="3dp"
|
|
android:textSize="10sp"
|
|
android:textColor="@color/textSecondColor"
|
|
></com.ck.ckcollar.app.widget.CKTextView>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
|
|