Skip to content

Commit 790cfaa

Browse files
committed
Slightly increased height of preferences input EditText widgets
1 parent c1a45b9 commit 790cfaa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/src/main/res/layout/activity_preferences.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
android:layout_height="wrap_content"
5757
android:labelFor="@id/picard_port"
5858
android:layout_marginTop="@dimen/content_padding"
59+
android:height="@dimen/edit_view_height"
5960
android:inputType="textNoSuggestions"
6061
android:importantForAutofill="no" />
6162

@@ -76,6 +77,7 @@
7677
android:id="@+id/picard_port"
7778
android:layout_width="0dp"
7879
android:layout_height="wrap_content"
80+
android:height="@dimen/edit_view_height"
7981
android:importantForAutofill="no"
8082
android:inputType="number"
8183
app:layout_constraintStart_toStartOf="parent"
@@ -104,4 +106,4 @@
104106
android:text="@string/btn_save_preferences" />
105107

106108
</LinearLayout>
107-
</ScrollView>
109+
</ScrollView>

app/src/main/res/values/geometry.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
<dimen name="content_padding">12dp</dimen>
2626
<dimen name="content_padding_large">24dp</dimen>
2727
<dimen name="messagebox_padding">6dp</dimen>
28+
<dimen name="edit_view_height">48dp</dimen>
2829

2930
</resources>

0 commit comments

Comments
 (0)