|
|
@@ -42,7 +42,7 @@
|
|
|
android:layout_marginEnd="47dp"
|
|
|
android:background="@null"
|
|
|
android:hint="@string/search_hint"
|
|
|
- android:imeOptions="actionDone"
|
|
|
+ android:imeOptions="actionSearch"
|
|
|
android:inputType="text"
|
|
|
android:maxLines="1"
|
|
|
android:paddingTop="10dp"
|
|
|
@@ -60,68 +60,100 @@
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/container_latest_search_tag"
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/container_papular_tag"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:fillViewport="true"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/container_top"
|
|
|
- >
|
|
|
+ app:layout_constraintVertical_bias="0">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_latest_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="30dp"
|
|
|
- android:text="@string/search_latest_search_tag"
|
|
|
- android:textColor="@color/C000000"
|
|
|
- android:textSize="15sp"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
-
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_latest_tage"
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingTop="4dp"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/text_latest_tag"/>
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/container_latest_search_tag"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/container_popular_tag"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_bias="0"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_latest_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:text="@string/search_latest_search_tag"
|
|
|
+ android:textColor="@color/C000000"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_latest_tage"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:nestedScrollingEnabled="false"
|
|
|
+ android:paddingTop="4dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/text_latest_tag"/>
|
|
|
+
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/container_popular_tag"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/container_latest_search_tag"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_popular_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:text="@string/search_popular_tag"
|
|
|
+ android:textColor="@color/C000000"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_popular_tag"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:nestedScrollingEnabled="false"
|
|
|
+ android:paddingTop="4dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/text_popular_tag"/>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/container_papular_tag"
|
|
|
+ android:id="@+id/container_auto_completion"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/container_latest_search_tag"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_popular_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="30dp"
|
|
|
- android:text="@string/search_popular_tag"
|
|
|
- android:textColor="@color/C000000"
|
|
|
- android:textSize="15sp"
|
|
|
- android:textStyle="bold"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/container_top"
|
|
|
+ tools:visibility="gone">
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_popular_tag"
|
|
|
+ android:id="@+id/recycler_view_auto_completion"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:paddingTop="4dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/text_popular_tag"/>
|
|
|
+ android:layout_height="match_parent"/>
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
- android:id="@+id/container_result"
|
|
|
+ android:id="@+id/container_result_contents"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
@@ -129,7 +161,7 @@
|
|
|
tools:visibility="gone">
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_result"
|
|
|
+ android:id="@+id/recycler_view_result_contents"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"/>
|
|
|
</android.support.constraint.ConstraintLayout>
|