mirror of https://github.com/M66B/FairEmail.git
Fixed search widget style
This commit is contained in:
parent
4b5137e0d9
commit
59bd41281a
|
@ -2274,7 +2274,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
Log.i("Suggestions=" + cursor.getCount());
|
Log.i("Suggestions=" + cursor.getCount());
|
||||||
SimpleCursorAdapter adapter = new SimpleCursorAdapter(
|
SimpleCursorAdapter adapter = new SimpleCursorAdapter(
|
||||||
getContext(),
|
getContext(),
|
||||||
android.R.layout.simple_list_item_1,
|
R.layout.search_suggestion,
|
||||||
cursor,
|
cursor,
|
||||||
new String[]{"suggestion"},
|
new String[]{"suggestion"},
|
||||||
new int[]{android.R.id.text1},
|
new int[]{android.R.id.text1},
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="?android:colorBackground"
|
||||||
|
android:padding="6dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@android:id/text1"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Text1"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue