Skip to content

Commit

Permalink
feat: add rounded corners to "open with" widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
1fexd committed Jan 29, 2022
1 parent 2c6f019 commit 88191bd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions resolver/src/main/res/drawable/rounded_shape.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<solid android:color="@color/window_background" />

<stroke
android:width="2dp"
android:color="@color/window_background" />

<padding
android:left="5dp"
android:top="5dp" />

<corners android:topLeftRadius="20dp" android:topRightRadius="20dp" />

</shape>
2 changes: 1 addition & 1 deletion resolver/src/main/res/layout/resolver_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/window_background"
android:background="@drawable/rounded_shape"
android:elevation="8dp"
app:layout_alwaysShow="true">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/window_background"
android:background="@drawable/rounded_shape"
android:elevation="8dp"
android:orientation="vertical"
app:layout_alwaysShow="true">
Expand Down

0 comments on commit 88191bd

Please sign in to comment.