Skip to content

Commit

Permalink
feat(capture-sdk): Add icon for photo picker
Browse files Browse the repository at this point in the history
PP-198
  • Loading branch information
jackkray committed Jul 22, 2024
1 parent 09e732a commit 2120422
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class FileChooserFragment : BottomSheetDialogFragment() {

private fun getPhotoPickerProvider(): List<ProvidersItem> {
val providerList =
ContextCompat.getDrawable(requireContext(), (R.drawable.gc_photo_tip_align))
ContextCompat.getDrawable(requireContext(), (R.drawable.gc_photo_picker_app_icon))
?.let { image ->
listOf(
ProvidersSectionItem(getString(R.string.gc_file_chooser_fotos_section_header)),
Expand Down
30 changes: 30 additions & 0 deletions capture-sdk/sdk/src/main/res/drawable/gc_photo_picker_app_icon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<path
android:pathData="M24,24m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
android:fillColor="#5BAAC9"/>
<path
android:pathData="M31,15H17C15.895,15 15,15.895 15,17V31C15,32.105 15.895,33 17,33H31C32.105,33 33,32.105 33,31V17C33,15.895 32.105,15 31,15Z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FAFAFA"
android:strokeLineCap="round"/>
<path
android:pathData="M20.5,22C21.328,22 22,21.328 22,20.5C22,19.672 21.328,19 20.5,19C19.672,19 19,19.672 19,20.5C19,21.328 19.672,22 20.5,22Z"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FAFAFA"
android:strokeLineCap="round"/>
<path
android:pathData="M33,27L28,22L17,33"
android:strokeLineJoin="round"
android:strokeWidth="2"
android:fillColor="#00000000"
android:strokeColor="#FAFAFA"
android:strokeLineCap="round"/>
</vector>

0 comments on commit 2120422

Please sign in to comment.