mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-04 02:28:18 +00:00
Added search hint text
This commit is contained in:
parent
11322f1b3e
commit
aecfe956be
2 changed files with 19 additions and 2 deletions
|
@ -47,6 +47,18 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ibInfo" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvHint"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/title_search_hint"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textStyle="italic"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/etQuery" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/ibMore"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -56,18 +68,19 @@
|
|||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||
android:padding="3dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/etQuery"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvHint"
|
||||
app:srcCompat="@drawable/expander" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvMore"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="6dp"
|
||||
android:text="@string/title_search_more"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ibMore"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/ibMore"
|
||||
app:layout_constraintTop_toTopOf="@+id/ibMore" />
|
||||
|
||||
|
|
|
@ -904,6 +904,10 @@
|
|||
|
||||
<string name="title_search">Search</string>
|
||||
<string name="title_search_for_hint">Enter text</string>
|
||||
<string name="title_search_hint">
|
||||
Searching will initially look at messages stored on your device.
|
||||
To search the server too, tap on the "search again" button.
|
||||
</string>
|
||||
<string name="title_search_more">More options</string>
|
||||
<string name="title_search_use_index">Use search index</string>
|
||||
<string name="title_search_in_senders">In senders (from)</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue