diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_search.xml | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index cb3305fe..8d4055ca 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -21,18 +21,35 @@ app:popupTheme="@style/AppTheme.PopupOverlay" app:navigationIcon="?attr/homeAsUpIndicator"> - <EditText - android:id="@+id/search_edit_text_search_activity" + <LinearLayout android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="#00000000" - android:gravity="top" - android:hint="@string/search" - android:maxLines="1" - android:textSize="?attr/font_20" - android:fontFamily="?attr/font_family" - android:inputType="textNoSuggestions" - android:imeOptions="actionSearch" /> + android:layout_height="wrap_content" + android:layout_marginEnd="16dp"> + + <EditText + android:id="@+id/search_edit_text_search_activity" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="#00000000" + android:hint="@string/search" + android:maxLines="1" + android:textSize="?attr/font_20" + android:fontFamily="?attr/font_family" + android:inputType="textNoSuggestions" + android:imeOptions="actionSearch" /> + + <ImageView + android:id="@+id/link_handler_image_view_search_activity" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="8dp" + android:src="@drawable/ic_open_link_24dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/actionBarItemBackground" /> + + </LinearLayout> </androidx.appcompat.widget.Toolbar> |