-
Notifications
You must be signed in to change notification settings - Fork 26
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 #1367 from novasamatech/rc/7.8.0
Rc/7.8.0
- Loading branch information
Showing
228 changed files
with
5,046 additions
and
675 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
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
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
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
29 changes: 29 additions & 0 deletions
29
common/src/main/java/io/novafoundation/nova/common/view/YourWalletsView.kt
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,29 @@ | ||
package io.novafoundation.nova.common.view | ||
|
||
import android.content.Context | ||
import android.util.AttributeSet | ||
import android.view.Gravity | ||
import android.view.View | ||
import android.widget.LinearLayout | ||
import androidx.core.view.setPadding | ||
import io.novafoundation.nova.common.R | ||
import io.novafoundation.nova.common.utils.dp | ||
import io.novafoundation.nova.common.utils.getRippleMask | ||
import io.novafoundation.nova.common.utils.getRoundedCornerDrawable | ||
import io.novafoundation.nova.common.utils.withRippleMask | ||
|
||
class YourWalletsView @JvmOverloads constructor( | ||
context: Context, | ||
attrs: AttributeSet? = null, | ||
defStyleAttr: Int = 0 | ||
) : LinearLayout(context, attrs, defStyleAttr) { | ||
|
||
init { | ||
View.inflate(context, R.layout.view_your_wallets, this) | ||
|
||
setPadding(4.dp) | ||
background = getRoundedCornerDrawable(cornerSizeDp = 8).withRippleMask(getRippleMask(cornerSizeDp = 8)) | ||
orientation = LinearLayout.HORIZONTAL | ||
gravity = Gravity.CENTER_VERTICAL | ||
} | ||
} |
File renamed without changes.
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,10 @@ | ||
<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="M8.083,3C7.769,3 7.516,3.249 7.516,3.556V5.405H4.68C4.305,5.405 4,5.704 4,6.072V9.401C4,9.757 4.285,10.048 4.643,10.067L5.706,20.416C5.749,20.75 6.038,21 6.382,21L17.618,21C17.962,21 18.251,20.749 18.294,20.415L19.357,10.067C19.715,10.048 20,9.757 20,9.401V6.072C20,5.703 19.695,5.405 19.32,5.405H16.484V3.556C16.484,3.249 16.23,3 15.917,3L8.083,3ZM15.35,5.405V4.112L8.65,4.112V5.405L15.35,5.405ZM6.018,10.068L17.982,10.068L17.018,19.666L6.982,19.666L6.018,10.068ZM18.639,6.739V8.734L5.361,8.734V6.739L18.639,6.739ZM14.199,12.353C14.465,12.614 14.465,13.036 14.199,13.297L12.979,14.493L14.199,15.689C14.465,15.949 14.465,16.372 14.199,16.632C13.933,16.893 13.502,16.893 13.237,16.632L12.017,15.436L10.797,16.632C10.531,16.893 10.1,16.893 9.834,16.632C9.569,16.372 9.569,15.949 9.834,15.689L11.054,14.493L9.834,13.297C9.569,13.036 9.569,12.614 9.834,12.353C10.1,12.093 10.531,12.093 10.797,12.353L12.017,13.55L13.237,12.353C13.502,12.093 13.933,12.093 14.199,12.353Z" | ||
android:fillColor="#ffffff" | ||
android:fillType="evenOdd"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<merge 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" | ||
android:orientation="horizontal" | ||
tools:background="@color/secondary_screen_background" | ||
tools:parentTag="android.widget.LinearLayout"> | ||
|
||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:layout_marginEnd="5dp" | ||
app:srcCompat="@drawable/ic_users" | ||
app:tint="@color/icon_accent" | ||
tools:tint="@color/icon_accent" /> | ||
|
||
<TextView | ||
style="@style/TextAppearance.NovaFoundation.Regular.Footnote" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_vertical" | ||
android:gravity="center" | ||
android:includeFontPadding="false" | ||
android:text="@string/assets_select_send_your_wallets" | ||
android:textColor="@color/button_text_accent" /> | ||
|
||
<ImageView | ||
android:layout_width="16dp" | ||
android:layout_height="16dp" | ||
android:layout_gravity="center_vertical" | ||
android:scaleType="centerInside" | ||
app:srcCompat="@drawable/ic_chevron_down" | ||
app:tint="@color/icon_accent" | ||
tools:tint="@color/icon_accent" /> | ||
|
||
</merge> |
Oops, something went wrong.