|
|
|
|
@ -4,9 +4,12 @@ |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:animateLayoutChanges="true" |
|
|
|
|
android:keepScreenOn="true" |
|
|
|
|
android:orientation="horizontal" |
|
|
|
|
android:padding="24dp"> |
|
|
|
|
android:paddingStart="24dp" |
|
|
|
|
android:paddingTop="24dp" |
|
|
|
|
android:paddingEnd="24dp"> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
@ -18,7 +21,7 @@ |
|
|
|
|
android:id="@+id/keyword" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="24dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:background="@null" |
|
|
|
|
android:hint="@string/search_keyword" |
|
|
|
|
android:imeOptions="actionDone" |
|
|
|
|
@ -65,7 +68,7 @@ |
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="24dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="@string/search_history" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="24sp" /> |
|
|
|
|
@ -74,6 +77,9 @@ |
|
|
|
|
android:id="@+id/history" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:clipChildren="false" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:paddingBottom="24dp" |
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
|
|
|
|
tools:itemCount="10" |
|
|
|
|
tools:listitem="@layout/adapter_word" /> |
|
|
|
|
@ -89,7 +95,7 @@ |
|
|
|
|
android:id="@+id/hint" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginBottom="24dp" |
|
|
|
|
android:layout_marginBottom="16dp" |
|
|
|
|
android:text="@string/search_hot" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="24sp" /> |
|
|
|
|
@ -98,6 +104,9 @@ |
|
|
|
|
android:id="@+id/word" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:clipChildren="false" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:paddingBottom="24dp" |
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
|
|
|
|
tools:itemCount="10" |
|
|
|
|
tools:listitem="@layout/adapter_word" /> |
|
|
|
|
|