Skip to content

Commit

Permalink
fab button was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
utkukutlu committed Feb 21, 2024
1 parent 551e74c commit 2a6f736
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
8 changes: 3 additions & 5 deletions pix/src/main/res/drawable/circular_button.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/primary_color_pix" />
<stroke
android:width="0.5dp"
android:color="@color/primary_color_pix" />
android:shape="rectangle">
<solid android:color="@color/bg_send_button"/>
<corners android:radius="16dp"/>
</shape>
9 changes: 9 additions & 0 deletions pix/src/main/res/drawable/ic_send_24.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:pathData="M19.713,13.15L5.874,20.832C5.641,20.963 5.372,21.02 5.105,20.994C4.838,20.968 4.586,20.862 4.382,20.689L4.301,20.608C4.126,20.434 4.005,20.215 3.95,19.976C3.896,19.737 3.911,19.487 3.993,19.256L6.299,12.864C6.323,12.801 6.366,12.746 6.422,12.707C6.478,12.667 6.544,12.646 6.613,12.646L12.571,12.645C12.66,12.649 12.748,12.635 12.832,12.605C12.915,12.574 12.992,12.527 13.056,12.466C13.121,12.405 13.172,12.332 13.207,12.251C13.242,12.17 13.26,12.083 13.26,11.995C13.26,11.906 13.242,11.819 13.207,11.738C13.172,11.657 13.121,11.584 13.056,11.523C12.992,11.462 12.915,11.415 12.832,11.384C12.749,11.354 12.66,11.34 12.571,11.345L6.607,11.351C6.539,11.351 6.472,11.33 6.416,11.29C6.36,11.252 6.317,11.196 6.294,11.133L4.001,4.776C3.911,4.527 3.897,4.258 3.96,4.001C4.023,3.745 4.16,3.512 4.356,3.332C4.56,3.15 4.817,3.036 5.09,3.007C5.363,2.978 5.639,3.036 5.877,3.171L19.743,10.866C19.986,11 20.18,11.207 20.296,11.457C20.413,11.707 20.447,11.988 20.393,12.258C20.35,12.446 20.267,12.623 20.15,12.776C20.032,12.93 19.884,13.057 19.713,13.15Z"
android:fillColor="#007AFF"/>
</vector>
14 changes: 7 additions & 7 deletions pix/src/main/res/layout/layout_image_picker_grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,18 @@

<FrameLayout
android:id="@+id/sendButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_gravity="right|bottom"
android:background="@drawable/circular_button"
android:layout_marginEnd="16dp"
android:layout_marginBottom="64dp">

<ImageView
android:layout_width="@dimen/small_thumb"
android:layout_height="@dimen/small_thumb"
android:background="@drawable/circular_button"
android:padding="12dp"
android:src="@drawable/ic_check_black_24dp" />
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_send_24" />

<TextView
android:id="@+id/img_count"
Expand Down
1 change: 1 addition & 0 deletions pix/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
<color name="surface_color_pix">#ffffff</color>
<color name="text_color_pix">#807f7f</color>
<color name="icons_white_transparent_color_pix">#33FFFFFF</color>
<color name="bg_send_button">#F0F7FF</color>
</resources>

0 comments on commit 2a6f736

Please sign in to comment.