-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #519 from mysteriumnetwork/feature/payment_process…
…ing_banner Payment processing banner
- Loading branch information
Showing
9 changed files
with
136 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="84dp" | ||
android:height="84dp" | ||
android:viewportWidth="84" | ||
android:viewportHeight="84"> | ||
<path | ||
android:fillColor="@color/payment_processing_icon_color" | ||
android:pathData="M42,2C19.9444,2 2,19.9444 2,42C2,64.0556 19.9444,82 42,82C64.0556,82 82,64.0556 82,42C82,19.9444 64.0556,2 42,2ZM42,77C22.7007,77 7,61.2993 7,42C7,22.7007 22.7007,7 42,7C61.2993,7 77,22.7007 77,42C77,61.2993 61.2993,77 42,77Z" | ||
android:strokeWidth="3" | ||
android:strokeColor="@color/payment_processing_icon_color" /> | ||
<path | ||
android:fillColor="@color/payment_processing_icon_color" | ||
android:pathData="M44.4087,17.1111H39.334V43.1526L55.3015,58.8889L58.8895,55.3528L44.4087,41.0818V17.1111Z" | ||
android:strokeWidth="3" | ||
android:strokeColor="@color/payment_processing_icon_color" /> | ||
</vector> |
12 changes: 12 additions & 0 deletions
12
android/app/src/main/res/drawable/icon_close_payment_processing.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="30dp" | ||
android:height="30dp" | ||
android:viewportWidth="30" | ||
android:viewportHeight="30"> | ||
<path | ||
android:pathData="M15,15m-15,0a15,15 0,1 1,30 0a15,15 0,1 1,-30 0" | ||
android:fillColor="@color/onboarding_title_dark_blue"/> | ||
<path | ||
android:pathData="M20.5706,11.2752L18.7239,9.4285L14.9992,13.1532L11.2744,9.4285L9.4277,11.2752L13.1525,14.9999L9.4277,18.7246L11.2744,20.5713L14.9992,16.8466L18.7239,20.5713L20.5706,18.7246L16.8458,14.9999L20.5706,11.2752Z" | ||
android:fillColor="#ffffff"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
android/app/src/main/res/layout/item_payment_processing_banner.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintBottom_toTopOf="parent"> | ||
|
||
<com.google.android.material.card.MaterialCardView | ||
android:id="@+id/paymentProcessingCard" | ||
style="@style/Widget.PaymentProcessingCardView" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/margin_padding_size_medium" | ||
app:layout_constraintTop_toTopOf="parent"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="horizontal" | ||
android:padding="@dimen/margin_padding_size_medium" | ||
tools:ignore="UseCompoundDrawables"> | ||
|
||
<ImageView | ||
android:id="@+id/clockImageView" | ||
android:layout_width="46dp" | ||
android:layout_height="46dp" | ||
android:src="@drawable/icon_clock_five" | ||
tools:ignore="ContentDescription" /> | ||
|
||
<TextView | ||
android:id="@+id/paymentProcessingTextView" | ||
style="@style/TextAppearance.BodyMedium" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:paddingStart="@dimen/margin_padding_size_medium_large" | ||
android:text="@string/payment_processing_text" | ||
android:textColor="@android:color/white" | ||
tools:ignore="RtlSymmetry" /> | ||
|
||
</LinearLayout> | ||
|
||
</com.google.android.material.card.MaterialCardView> | ||
|
||
<ImageView | ||
android:id="@+id/closeBannerButton" | ||
android:layout_width="18dp" | ||
android:layout_height="18dp" | ||
android:contentDescription="@string/close" | ||
android:src="@drawable/icon_close_payment_processing" | ||
app:layout_constraintBottom_toTopOf="@+id/paymentProcessingCard" | ||
app:layout_constraintEnd_toEndOf="@+id/paymentProcessingCard" | ||
app:layout_constraintStart_toEndOf="@+id/paymentProcessingCard" | ||
app:layout_constraintTop_toTopOf="@+id/paymentProcessingCard" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
107123 | ||
107124 |