Skip to content

Commit

Permalink
Change done icon to vector version
Browse files Browse the repository at this point in the history
  • Loading branch information
wasky committed May 17, 2023
1 parent 6d043b4 commit 5d7a03f
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 6 deletions.
7 changes: 1 addition & 6 deletions library/src/main/res-public/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<item name="android:textColorSecondary">@color/wel_text_primary_theme_light</item>
<item name="welcomeIndicatorStyle">@style/WelcomeScreenPageIndicator.Light</item>
<item name="welcomeButtonBackground">@drawable/wel_button_borderless_background_theme_light</item>
<item name="welcomeButtonDoneStyle">@style/WelcomeScreenButton.Done.Light</item>
<item name="welcomeButtonBarBackground">@color/wel_button_bar_background_light</item>
</style>

Expand Down Expand Up @@ -120,11 +119,7 @@
<style name="WelcomeScreenButton.Done">
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:tint">?android:attr/textColorPrimary</item>
<item name="android:src">@drawable/wel_ic_done_white</item>
</style>

<style name="WelcomeScreenButton.Done.Light">
<item name="android:src">@drawable/wel_ic_done_black</item>
<item name="android:src">@drawable/wel_ic_done_white_24dp</item>
</style>

<style name="WelcomeScreenButton.Next">
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions library/src/main/res/drawable/wel_ic_done_white_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M9,16.2l-3.5,-3.5c-0.39,-0.39 -1.01,-0.39 -1.4,0 -0.39,0.39 -0.39,1.01 0,1.4l4.19,4.19c0.39,0.39 1.02,0.39 1.41,0L20.3,7.7c0.39,-0.39 0.39,-1.01 0,-1.4 -0.39,-0.39 -1.01,-0.39 -1.4,0L9,16.2z" />
</vector>

0 comments on commit 5d7a03f

Please sign in to comment.