Skip to content

Commit 5dadffc

Browse files
committed
Ensure clipboard takes all space if no autofill suggestions are available
1 parent f362166 commit 5dadffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
android:layout_height="wrap_content"
3434
android:layout_marginStart="@dimen/medium_margin"
3535
android:layout_marginEnd="@dimen/normal_margin"
36+
android:fillViewport="true"
3637
app:layout_constraintBottom_toBottomOf="parent"
3738
app:layout_constraintEnd_toStartOf="@+id/pinned_clipboard_items"
3839
app:layout_constraintStart_toEndOf="@+id/clipboard_clear"
@@ -46,7 +47,7 @@
4647

4748
<TextView
4849
android:id="@+id/clipboard_value"
49-
android:layout_width="wrap_content"
50+
android:layout_width="match_parent"
5051
android:layout_height="wrap_content"
5152
android:autoLink="none"
5253
android:background="@drawable/clipboard_background"
@@ -60,7 +61,6 @@
6061
android:paddingEnd="@dimen/activity_margin"
6162
android:paddingBottom="@dimen/small_margin"
6263
android:textSize="@dimen/label_text_size"
63-
app:drawableStartCompat="@drawable/ic_clipboard_vector"
6464
tools:text="Clipboard content" />
6565

6666
<LinearLayout

0 commit comments

Comments
 (0)