|
13 | 13 | android:id="@+id/toolbar_layout"
|
14 | 14 | android:layout_width="match_parent"
|
15 | 15 | android:layout_height="wrap_content">
|
| 16 | + |
| 17 | + <!-- Toolbar for viewing media --> |
16 | 18 | <include
|
17 | 19 | android:visibility="gone"
|
18 | 20 | android:id="@+id/toolbar"
|
19 | 21 | layout="@layout/toolbar"
|
20 | 22 | android:layout_width="match_parent"
|
21 | 23 | android:layout_height="wrap_content" />
|
22 | 24 |
|
| 25 | + <!--Toolbar containing search bar --> |
23 | 26 | <android.support.v7.widget.Toolbar
|
24 | 27 | android:id="@+id/toolbar_search"
|
25 | 28 | android:layout_width="match_parent"
|
26 |
| - app:navigationIcon="@drawable/ic_arrow_back_primary_24dp" |
27 |
| - android:background="@color/item_white_background" |
28 |
| - android:layout_height="wrap_content"> |
| 29 | + android:layout_height="wrap_content" |
| 30 | + android:background="?attr/colorPrimaryDark" |
| 31 | + app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" |
| 32 | + app:navigationIcon="@drawable/ic_arrow_back_white"> |
29 | 33 | <SearchView
|
30 | 34 | android:id="@+id/searchBox"
|
31 | 35 | android:layout_width="match_parent"
|
32 | 36 | android:layout_height="wrap_content"
|
33 | 37 | android:focusable="true"
|
34 | 38 | android:queryBackground="@android:color/transparent"
|
35 | 39 | android:searchIcon="@null"
|
| 40 | + android:paddingLeft="-16dp" |
| 41 | + android:paddingStart="-16dp" |
36 | 42 | app:queryBackground="@android:color/transparent"
|
37 | 43 | app:searchIcon="@null"
|
38 | 44 | android:imeOptions="actionDone"
|
|
0 commit comments