abouttreesummaryrefslogcommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorJules Aguillon2025-12-22 01:27:07 +0100
committerGitHub2025-12-22 01:27:07 +0100
commitb40be68773939d3d3b55a819cdfe1d9e9a60bc4e (patch)
treea556e151e1ebabe2a066f89867d1e26333da7f61 /res/layout
parent258215f26c52b55b5760b707dbd0a749d418ce58 (diff)
downloadunexpected-keyboard-b40be68773939d3d3b55a819cdfe1d9e9a60bc4e.tar.gz
unexpected-keyboard-b40be68773939d3d3b55a819cdfe1d9e9a60bc4e.zip
Fix various linting issues (#1146)
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/dialog_edit_text.xml2
-rw-r--r--res/layout/launcher_activity.xml8
2 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/dialog_edit_text.xml b/res/layout/dialog_edit_text.xml
index 5b935dc..ebf61d9 100644
--- a/res/layout/dialog_edit_text.xml
+++ b/res/layout/dialog_edit_text.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content">
- <EditText android:id="@+id/text" android:inputType="text" android:importantForAutofill="no" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="10dp"/>
+ <EditText android:id="@+id/text" android:hint="@string/pref_dialog_edit_text" android:inputType="text" android:importantForAutofill="no" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="10dp"/>
</LinearLayout>
diff --git a/res/layout/launcher_activity.xml b/res/layout/launcher_activity.xml
index 2273641..20df09a 100644
--- a/res/layout/launcher_activity.xml
+++ b/res/layout/launcher_activity.xml
@@ -6,19 +6,19 @@
<Button style="@style/paragraph" android:text="@string/launcher_button_imepicker" android:onClick="launch_imepicker" android:layout_width="wrap_content"/>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_swipe" android:background="@drawable/doc_key_u" android:src="@drawable/doc_anim_swipe"/>
- <TextView style="@style/anim_text" android:text="7"/>
+ <TextView style="@style/anim_text" android:text="@string/launcher_anim_7"/>
</LinearLayout>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_circle" android:background="@drawable/doc_key_g" android:src="@drawable/doc_anim_circle"/>
- <TextView style="@style/anim_text" android:text="G"/>
+ <TextView style="@style/anim_text" android:text="@string/launcher_anim_g"/>
</LinearLayout>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_round_trip" android:background="@drawable/doc_key_g" android:src="@drawable/doc_anim_round_trip"/>
- <TextView style="@style/anim_text" android:text="–"/>
+ <TextView style="@style/anim_text" android:text="@string/launcher_anim_dash"/>
</LinearLayout>
<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" 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"/>
+ <TextView style="@style/paragraph" android:text="@string/launcher_repo_url" android:autoLink="web" android:linksClickable="true"/>
</LinearLayout>
</ScrollView>