diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/activity_search.xml | 40 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_view_post_detail.xml | 2 |
2 files changed, 19 insertions, 23 deletions
diff --git a/app/src/main/res/layout/activity_search.xml b/app/src/main/res/layout/activity_search.xml index 29b5b94f..cb3305fe 100644 --- a/app/src/main/res/layout/activity_search.xml +++ b/app/src/main/res/layout/activity_search.xml @@ -13,32 +13,28 @@ android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay"> - <FrameLayout - android:id="@+id/toolbar_frame_layout_search_activity" + <androidx.appcompat.widget.Toolbar + android:id="@+id/toolbar" android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?attr/actionBarSize" - app:popupTheme="@style/AppTheme.PopupOverlay" /> + android:layout_height="wrap_content" + android:minHeight="?attr/actionBarSize" + app:popupTheme="@style/AppTheme.PopupOverlay" + app:navigationIcon="?attr/homeAsUpIndicator"> - <com.ferfalk.simplesearchview.SimpleSearchView - android:id="@+id/search_view_search_activity" + <EditText + android:id="@+id/search_edit_text_search_activity" android:layout_width="match_parent" android:layout_height="match_parent" - app:backIconAlpha="1" - app:backIconTint="@android:color/white" - app:cursorColor="@android:color/white" - app:hintColor="#E0E0E0" - app:iconsAlpha="1" - app:iconsTint="@android:color/white" - app:searchBackground="?attr/colorPrimary" - app:voiceSearch="true" /> - - </FrameLayout> + 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" /> + + </androidx.appcompat.widget.Toolbar> </com.google.android.material.appbar.AppBarLayout> diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index 3746f5c6..6fd17685 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -113,7 +113,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:padding="8dp" - android:src="@drawable/ic_close_black_24dp" + android:src="@drawable/ic_close_24dp" android:background="?actionBarItemBackground" android:clickable="true" android:focusable="true" /> |