|
@@ -1,697 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<layout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:bind="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:tools="http://schemas.android.com/tools">
|
|
|
- <android.support.v4.widget.DrawerLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- bind:backgroundColor="@{@color/javashop_color_white}"
|
|
|
- android:layout_height="match_parent">
|
|
|
- <com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
- android:id="@+id/goods_search_refresh"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- android:background="#eff1f3">
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/goods_search_rv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="#eff1f3"
|
|
|
- />
|
|
|
- </com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:id="@+id/goods_search_top_lay"
|
|
|
- android:visibility="visible"
|
|
|
- >
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_topbar"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- bind:auto_topbar_height="@{true}"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintWidth_default="percent"
|
|
|
- app:layout_constraintWidth_percent="1"
|
|
|
- bind:backgroundColor="@{@color/javashop_color_common_topbar_bg}"
|
|
|
- >
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/goods_search_toolbar_holder"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- bind:status_bar="@{1}"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:background="@color/javashop_color_holder_color"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/goods_search_back_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:src="@drawable/javashop_back_black"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.33"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_toolbar_holder"
|
|
|
- />
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/goods_search_back_touch"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_back_black"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/goods_search_touch_view"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_toolbar_holder"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/goods_search_recly_type_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:src="@drawable/javashop_icon_list"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.25"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_toolbar_holder"
|
|
|
- />
|
|
|
- <View
|
|
|
- android:id="@+id/goods_search_recly_type_touch"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_touch_view"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_toolbar_holder"
|
|
|
- />
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_touch_view"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/javashop_search_bg"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.4"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_back_iv"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/goods_search_recly_type_iv"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_toolbar_holder"
|
|
|
- >
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:visibility="invisible"
|
|
|
- android:id="@+id/goods_search_touch_view_iv"
|
|
|
- android:layout_width="14dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:src="@drawable/javashop_category_search_find"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.5"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/goods_search_touch_view_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:lines="1"
|
|
|
- android:paddingBottom="5dp"
|
|
|
- android:paddingTop="5dp"
|
|
|
- android:text="请输入你想搜索的关键词"
|
|
|
- android:textColor="@color/javashop_color_search_tc"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintWidth_default="percent"
|
|
|
- app:layout_constraintWidth_percent="0.75"
|
|
|
- app:layout_constraintHeight_percent="0.85"
|
|
|
- app:autoSizeMaxTextSize="20sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- />
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/javashop_goods_search_text_lay"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.8"
|
|
|
- app:layout_constraintHorizontal_bias="0.05"
|
|
|
- android:background="@drawable/javashop_goods_search_text_bg"
|
|
|
- >
|
|
|
- <TextView
|
|
|
- android:id="@+id/javashop_goods_search_text_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:text=""
|
|
|
- android:gravity="center"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:textColor="@color/javashop_color_white"
|
|
|
- style="@style/auto_text_size"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- />
|
|
|
- <ImageView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/javashop_goods_search_text_tv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.4"
|
|
|
- app:layout_constraintDimensionRatio="w,2:1"
|
|
|
- android:src="@drawable/javashop_cancel_white"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/goods_serach_line_a"
|
|
|
- style="@style/gray_line"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/goods_search_action_bar"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,9:1"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_search_topbar"
|
|
|
- bind:backgroundColor="@{@color/javashop_color_common_topbar_bg}"
|
|
|
- >
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_colligate_lay"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:tag="1"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/goods_search_colligate_tv"
|
|
|
- style="@style/auto_text_size"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="综合"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,2:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.6"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- android:tag="text"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/goods_search_colligate_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_desc_gray"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.15"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/goods_search_colligate_tv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:tag="image"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_sales_volume_lay"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:tag="2"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/goods_search_sales_volume_tv"
|
|
|
- style="@style/auto_text_size"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="销量"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,2:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.6"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- android:tag="text"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_price_lay"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:tag="3"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/goods_search_price_lay_tv"
|
|
|
- style="@style/auto_text_size"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="价格"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,2:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.6"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- android:tag="text"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/goods_search_price_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_double_nomal"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.2"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/goods_search_price_lay_tv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:tag="image"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_filter_lay"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:tag="4"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/goods_search_filter_tv"
|
|
|
- style="@style/auto_text_size"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="筛选"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,2:1"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.6"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- android:tag="text"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/goods_search_filter_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_filter_nomal"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="w,1:1.5"
|
|
|
- app:layout_constraintHeight_default="percent"
|
|
|
- app:layout_constraintHeight_percent="0.4"
|
|
|
- app:layout_constraintLeft_toRightOf="@id/goods_search_filter_tv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:tag="image"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/goods_serach_line_b"
|
|
|
- style="@style/gray_line"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/goods_search_action_bar"/>
|
|
|
-
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_filter_more_action_lay"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,9:1"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/goods_serach_line_b"
|
|
|
- bind:backgroundColor="@{@color/javashop_color_common_topbar_bg}"
|
|
|
- >
|
|
|
- <View
|
|
|
- android:id="@+id/goods_serach_line_c"
|
|
|
- style="@style/gray_line"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
- <android.support.constraint.Guideline
|
|
|
- android:id="@+id/goods_search_filter_more_line_a"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- app:layout_constraintGuide_percent="0.2"/>
|
|
|
-
|
|
|
- <android.support.constraint.Guideline
|
|
|
- android:id="@+id/goods_search_filter_more_line_b"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- app:layout_constraintGuide_percent="0.8"/>
|
|
|
- <View
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:id="@+id/goods_search_more_filter_a_bg"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/goods_search_more_filter_a_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/goods_search_more_filter_a_lay"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/goods_search_more_filter_a_lay"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_a_lay"
|
|
|
- android:background="@drawable/javashop_goods_search_filter_btn_bg"
|
|
|
- android:visibility="invisible"
|
|
|
- />
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_more_filter_a_lay"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/goods_search_filter_more_line_b"
|
|
|
- app:layout_constraintTop_toTopOf="@id/goods_search_filter_more_line_a"
|
|
|
- app:layout_constraintWidth_percent="0.2"
|
|
|
- android:visibility="invisible"
|
|
|
- >
|
|
|
- <TextView
|
|
|
- android:id="@+id/goods_search_more_filter_a_tv"
|
|
|
- style="@style/auto_text_size"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:tag="text"
|
|
|
- android:text="品牌"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.75"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_a_iv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- app:layout_constraintWidth_percent="0.7"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:tag="image"
|
|
|
- android:id="@+id/goods_search_more_filter_a_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_desc_gray"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,1:1"
|
|
|
- app:layout_constraintWidth_percent="0.1"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_a_tv"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintHorizontal_bias="0.25"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:id="@+id/goods_search_more_filter_b_bg"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- android:background="@drawable/javashop_goods_search_filter_btn_bg"
|
|
|
- android:visibility="invisible"
|
|
|
- />
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_more_filter_b_lay"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_a_lay"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- app:layout_constraintWidth_percent="0.2"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/goods_search_filter_more_line_b"
|
|
|
- app:layout_constraintTop_toTopOf="@id/goods_search_filter_more_line_a"
|
|
|
- android:visibility="invisible"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:tag="text"
|
|
|
- android:id="@+id/goods_search_more_filter_b_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:text="分类"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.75"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_b_iv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- style="@style/auto_text_size"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- app:layout_constraintWidth_percent="0.7"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:tag="image"
|
|
|
- android:id="@+id/goods_search_more_filter_b_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_desc_gray"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,1:1"
|
|
|
- app:layout_constraintWidth_percent="0.1"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_b_tv"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintHorizontal_bias="0.25"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- <View
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:id="@+id/goods_search_more_filter_c_bg"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- android:background="@drawable/javashop_goods_search_filter_btn_bg"
|
|
|
- android:visibility="invisible"
|
|
|
- />
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_more_filter_c_lay"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_b_lay"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/goods_search_more_filter_d_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/goods_search_filter_more_line_b"
|
|
|
- app:layout_constraintTop_toTopOf="@id/goods_search_filter_more_line_a"
|
|
|
- app:layout_constraintWidth_percent="0.2"
|
|
|
- android:visibility="invisible"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:tag="text"
|
|
|
- android:id="@+id/goods_search_more_filter_c_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:text="容量"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.75"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_c_iv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- style="@style/auto_text_size"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- app:layout_constraintWidth_percent="0.7"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:tag="image"
|
|
|
- android:id="@+id/goods_search_more_filter_c_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_desc_gray"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,1:1"
|
|
|
- app:layout_constraintWidth_percent="0.1"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_c_tv"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintHorizontal_bias="0.25"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:id="@+id/goods_search_more_filter_d_bg"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/goods_search_more_filter_d_lay"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/goods_search_more_filter_d_lay"
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/goods_search_more_filter_d_lay"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_d_lay"
|
|
|
- android:background="@drawable/javashop_goods_search_filter_btn_bg"
|
|
|
- android:visibility="invisible"
|
|
|
- />
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/goods_search_more_filter_d_lay"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_c_lay"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/goods_search_filter_more_line_b"
|
|
|
- app:layout_constraintTop_toTopOf="@id/goods_search_filter_more_line_a"
|
|
|
- app:layout_constraintWidth_percent="0.2"
|
|
|
- android:visibility="invisible"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:tag="text"
|
|
|
- android:id="@+id/goods_search_more_filter_d_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:ellipsize="end"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:text="物流"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHeight_percent="0.75"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="@+id/goods_search_more_filter_d_iv"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- style="@style/auto_text_size"
|
|
|
- app:autoSizeMaxTextSize="30sp"
|
|
|
- app:autoSizeMinTextSize="1sp"
|
|
|
- app:autoSizeStepGranularity="2sp"
|
|
|
- app:autoSizeTextType="uniform"
|
|
|
- tools:ignore="MissingPrefix"
|
|
|
- android:textColor="@color/javashop_color_black"
|
|
|
- app:layout_constraintWidth_percent="0.7"
|
|
|
- />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:tag="image"
|
|
|
- android:id="@+id/goods_search_more_filter_d_iv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:src="@drawable/javashop_icon_desc_gray"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintDimensionRatio="h,1:1"
|
|
|
- app:layout_constraintWidth_percent="0.1"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/goods_search_more_filter_d_tv"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintHorizontal_bias="0.25"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- <View
|
|
|
- android:id="@+id/holder_mask"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="10dp"
|
|
|
- android:background="@color/javashop_color_holder_color"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- bind:status_bar="@{1}"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- />
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/right_layout"
|
|
|
- android:layout_width="280.0dip"
|
|
|
- android:layout_height="fill_parent"
|
|
|
- android:layout_gravity="end"
|
|
|
- android:choiceMode="singleChoice"
|
|
|
- android:divider="@android:color/transparent"
|
|
|
- android:dividerHeight="0.0dip" />
|
|
|
- </android.support.v4.widget.DrawerLayout>
|
|
|
-</layout>
|