Skip to content

Commit

Permalink
copy clipboard suggestion background so it's available for older devi…
Browse files Browse the repository at this point in the history
…ces too
  • Loading branch information
Helium314 committed Jul 3, 2024
1 parent 9ea2687 commit 4260f82
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions app/src/main/res/drawable/clipboard_suggestion_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2020 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#14000000">
<item
android:bottom="5dp"
android:left="5dp"
android:right="5dp"
android:shape="rectangle"
android:top="5dp">
<shape>
<corners android:radius="32dp"/>
<stroke android:color="#1F000000" android:width="1dp"/>
<solid android:color="#FFFFFFFF"/>
</shape>
</item>
</ripple>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/clipboard_suggestion.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:background="@drawable/autofill_inline_suggestion_chip_background"
android:background="@drawable/clipboard_suggestion_background"
android:gravity="center"
android:paddingRight="12dp"
android:layout_width="wrap_content"
Expand Down

0 comments on commit 4260f82

Please sign in to comment.