|
73 | 73 |
|
74 | 74 | </com.google.android.material.appbar.CollapsingToolbarLayout> |
75 | 75 |
|
| 76 | + <!-- GLOBAL SETTINGS SEARCH (Above Preview) --> |
| 77 | + <FrameLayout |
| 78 | + android:layout_width="match_parent" |
| 79 | + android:layout_height="wrap_content" |
| 80 | + android:paddingStart="16dp" |
| 81 | + android:paddingEnd="16dp" |
| 82 | + android:paddingTop="4dp" |
| 83 | + android:paddingBottom="4dp" |
| 84 | + android:background="?attr/colorSurface"> |
| 85 | + |
| 86 | + <com.google.android.material.textfield.TextInputLayout |
| 87 | + android:id="@+id/search_settings_layout" |
| 88 | + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" |
| 89 | + android:layout_width="match_parent" |
| 90 | + android:layout_height="wrap_content" |
| 91 | + app:boxCornerRadiusTopStart="24dp" |
| 92 | + app:boxCornerRadiusTopEnd="24dp" |
| 93 | + app:boxCornerRadiusBottomStart="24dp" |
| 94 | + app:boxCornerRadiusBottomEnd="24dp" |
| 95 | + app:startIconDrawable="@drawable/ic_search" |
| 96 | + app:endIconMode="clear_text" |
| 97 | + android:hint="@string/search_settings_hint"> |
| 98 | + |
| 99 | + <com.google.android.material.textfield.TextInputEditText |
| 100 | + android:id="@+id/search_settings_input" |
| 101 | + android:layout_width="match_parent" |
| 102 | + android:layout_height="wrap_content" |
| 103 | + android:inputType="text" |
| 104 | + android:imeOptions="actionDone" |
| 105 | + android:maxLines="1" |
| 106 | + android:textSize="14sp" /> |
| 107 | + </com.google.android.material.textfield.TextInputLayout> |
| 108 | + </FrameLayout> |
| 109 | + |
76 | 110 | <!-- PINNED WIDGET PREVIEW CONTAINER --> |
77 | 111 | <FrameLayout |
78 | 112 | android:layout_width="match_parent" |
|
139 | 173 | app:tabIndicatorGravity="stretch" |
140 | 174 | app:tabIndicatorAnimationMode="elastic" |
141 | 175 | app:tabIndicatorColor="@android:color/transparent" |
142 | | - app:tabSelectedTextColor="?attr/colorOnPrimaryContainer" |
| 176 | + app:tabSelectedTextColor="?attr/colorOnPrimary" |
143 | 177 | app:tabTextColor="?attr/colorOnSurfaceVariant" |
144 | 178 | app:tabIconTint="@color/selector_tab_icon" |
145 | 179 | app:tabTextAppearance="@style/Widget.Lwidget.TabTextAppearance" |
|
169 | 203 | android:clipToPadding="false" |
170 | 204 | android:paddingBottom="80dp"> |
171 | 205 |
|
172 | | - <!-- GLOBAL SETTINGS SEARCH --> |
173 | | - <com.google.android.material.textfield.TextInputLayout |
174 | | - android:id="@+id/search_settings_layout" |
175 | | - style="@style/Widget.Material3.TextInputLayout.OutlinedBox" |
176 | | - android:layout_width="match_parent" |
177 | | - android:layout_height="wrap_content" |
178 | | - android:layout_marginTop="4dp" |
179 | | - android:layout_marginBottom="12dp" |
180 | | - app:boxCornerRadiusTopStart="24dp" |
181 | | - app:boxCornerRadiusTopEnd="24dp" |
182 | | - app:boxCornerRadiusBottomStart="24dp" |
183 | | - app:boxCornerRadiusBottomEnd="24dp" |
184 | | - app:startIconDrawable="@drawable/ic_search" |
185 | | - app:endIconMode="clear_text" |
186 | | - android:hint="@string/search_settings_hint"> |
187 | 206 |
|
188 | | - <com.google.android.material.textfield.TextInputEditText |
189 | | - android:id="@+id/search_settings_input" |
190 | | - android:layout_width="match_parent" |
191 | | - android:layout_height="wrap_content" |
192 | | - android:inputType="text" |
193 | | - android:imeOptions="actionDone" |
194 | | - android:maxLines="1" |
195 | | - android:textSize="14sp" /> |
196 | | - </com.google.android.material.textfield.TextInputLayout> |
197 | 207 |
|
198 | 208 | <!-- TAB 1: STYLE --> |
199 | 209 | <LinearLayout |
|
0 commit comments