added a new screen, in the Settings, for deleting added words
This commit is contained in:
parent
5a43fba3d5
commit
322774ab45
30 changed files with 477 additions and 26 deletions
33
app/src/main/res/layout/pref_input_text.xml
Normal file
33
app/src/main/res/layout/pref_input_text.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:descendantFocusability="afterDescendants"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="@dimen/pref_padding_horizontal"
|
||||
android:paddingVertical="@dimen/pref_padding_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:labelFor="@id/input_text_input_field"
|
||||
android:text="?android:title" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/input_text_input_field"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:textSize="@dimen/pref_text_size" />
|
||||
|
||||
<TextView android:id="@android:id/summary"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
||||
android:textSize="@dimen/pref_summary_size" />
|
||||
|
||||
</LinearLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue