diff options
| author | Jules Aguillon | 2024-02-10 18:03:09 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-02-10 18:10:49 +0100 |
| commit | f4d88cc0876ec29ff46dbda0159168ebee637afb (patch) | |
| tree | 72c96a25e03f187307c1e738ca4aeb990ce3ba85 /res/layout/launcher_activity.xml | |
| parent | d5676d683f031a2d23f4e01e0ada0afd58dc9b89 (diff) | |
| download | unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.tar.gz unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.zip | |
Fix various linter warnings
Among others:
- Use `apply` instead of `commit` when saving shared preferences.
- Avoid inlined Api
- Remove unused resources
Diffstat (limited to 'res/layout/launcher_activity.xml')
| -rw-r--r-- | res/layout/launcher_activity.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/launcher_activity.xml b/res/layout/launcher_activity.xml index c007299..4e0cc0c 100644 --- a/res/layout/launcher_activity.xml +++ b/res/layout/launcher_activity.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true"> - <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> + <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical"> <TextView style="@style/paragraph" android:text="@string/launcher_description"/> <Button style="@style/paragraph" android:text="@string/launcher_button_imesettings" android:onClick="launch_imesettings" android:layout_width="wrap_content"/> <Button style="@style/paragraph" android:text="@string/launcher_button_imepicker" android:onClick="launch_imepicker" android:layout_width="wrap_content"/> <VideoView android:id="@+id/launcher_intro_video" android:layout_width="240dp" android:layout_height="wrap_content" android:layout_gravity="center"/> <TextView android:id="@+id/launcher_tryhere_text" style="@style/paragraph" android:text="@string/launcher_tryhere"/> - <EditText android:id="@+id/launcher_tryhere_area" style="@style/paragraph" android:inputType="text"/> + <EditText android:id="@+id/launcher_tryhere_area" style="@style/paragraph" android:inputType="text" android:hint="@string/launcher_tryhere_hint" android:importantForAutofill="no"/> <TextView style="@style/paragraph" android:text="@string/launcher_sourcecode"/> <TextView style="@style/paragraph" android:text="https://github.com/Julow/Unexpected-Keyboard" android:autoLink="web" android:linksClickable="true"/> </LinearLayout> |
