mirror of
https://github.com/mediathekview/zapp.git
synced 2024-09-20 04:12:14 +02:00
Style filter search field
This commit is contained in:
parent
3d9eadab16
commit
d6309bb861
@ -103,11 +103,12 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:layout_gravity="center"
|
||||
android:alpha="0.4"
|
||||
android:src="@drawable/ic_baseline_drag_handle_24"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:tint="#ccffffff" />
|
||||
app:tint="?colorOnSurface" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
@ -10,19 +10,12 @@
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/textField"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?colorPrimary"
|
||||
android:paddingTop="2dp"
|
||||
app:boxBackgroundMode="none"
|
||||
app:endIconMode="clear_text"
|
||||
app:endIconTint="?colorOnPrimarySurface"
|
||||
app:hintEnabled="false"
|
||||
app:startIconDrawable="@drawable/ic_baseline_search_24"
|
||||
app:startIconTint="?colorOnPrimarySurface">
|
||||
app:startIconDrawable="@drawable/ic_baseline_search_24">
|
||||
|
||||
<!-- TODO: give cursor(s) the right color: https://github.com/material-components/material-components-android/issues/820 -->
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/search"
|
||||
android:layout_width="match_parent"
|
||||
@ -31,9 +24,7 @@
|
||||
android:imeOptions="actionSearch"
|
||||
android:inputType="textFilter"
|
||||
android:maxLines="1"
|
||||
android:paddingVertical="0dp"
|
||||
android:textColor="?colorOnPrimarySurface"
|
||||
android:textColorHint="#66ffffff" />
|
||||
android:paddingVertical="0dp" />
|
||||
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user