pull/36/head
kunfei 5 years ago
parent 02b27a5c5a
commit 9a4ef149a6
  1. 29
      app/src/main/res/layout/activity_book_search.xml

@ -39,10 +39,12 @@
<LinearLayout
android:id="@+id/ll_history"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:background="@color/background"
android:orientation="vertical"
android:visibility="gone"
app:layout_constraintTop_toBottomOf="@id/title_bar">
app:layout_constraintTop_toBottomOf="@id/title_bar"
app:layout_constraintBottom_toBottomOf="parent">
<TextView
android:id="@+id/tv_book_show"
@ -58,12 +60,27 @@
android:layout_height="wrap_content"
android:visibility="gone" />
<TextView
android:id="@+id/tv_history"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="6dp"
android:text="@string/searchHistory" />
android:orientation="horizontal">
<TextView
android:id="@+id/tv_history"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="6dp"
android:text="@string/searchHistory" />
<TextView
android:id="@+id/tv_clear_history"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="6dp"
android:text="@string/clear" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_history_key"

Loading…
Cancel
Save