Skip to content

Commit

Permalink
new qr code logo
Browse files Browse the repository at this point in the history
  • Loading branch information
m2049r committed May 3, 2023
1 parent a42f750 commit ae48027
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.m2049r.xmrwallet"
minSdkVersion 21
targetSdkVersion 31
versionCode 3120
versionName "3.1.2 'Fluorine Fermi'"
versionCode 3130
versionName "3.1.3 'Fluorine Fermi'"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ private Bitmap addLogo(Bitmap qrBitmap) {

private Bitmap getMoneroLogo() {
if (logo == null) {
logo = Helper.getBitmap(getContext(), R.drawable.ic_monerujo);
logo = Helper.getBitmap(getContext(), R.drawable.ic_monerujo_qr);
}
return logo;
}
Expand Down
30 changes: 30 additions & 0 deletions app/src/main/res/drawable/ic_monerujo_qr.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"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="128dp"
android:height="128dp"
android:viewportWidth="128"
android:viewportHeight="128">
<path
android:pathData="M64,64m-63.05,0a63.05,63.05 0,1 1,126.1 0a63.05,63.05 0,1 1,-126.1 0"
android:fillColor="#fff"/>
<path
android:pathData="M64,64m-58.13,0a58.13,58.13 0,1 1,116.26 0a58.13,58.13 0,1 1,-116.26 0">
<aapt:attr name="android:fillColor">
<gradient
android:startX="64"
android:startY="50.12"
android:endX="64"
android:endY="98.43"
android:type="linear">
<item android:offset="0" android:color="#FFF26222"/>
<item android:offset="1" android:color="#FFED1A5B"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M77.06,41.06c-5.34,0 -10.1,2.55 -13.12,6.5 -3.02,-3.95 -7.78,-6.5 -13.12,-6.5 -3.63,0 -6.99,1.18 -9.72,3.17v-2.26h-6.8v41.29h6.8v-25.68c0,-5.36 4.36,-9.72 9.72,-9.72s9.72,4.36 9.72,9.72v25.68h6.8v-25.68c0,-5.36 4.36,-9.72 9.72,-9.72s9.72,4.36 9.72,9.72v25.68c0,5.36 -4.36,9.72 -9.72,9.72v6.8c9.11,0 16.52,-7.41 16.52,-16.52v-27.53h0c-0.92,-8.24 -8.04,-14.67 -16.52,-14.67Z"
android:fillColor="#fff"/>
<path
android:pathData="M90.18,31.73m-3.52,0a3.52,3.52 0,1 1,7.04 0a3.52,3.52 0,1 1,-7.04 0"
android:fillColor="#fff"/>
</vector>

0 comments on commit ae48027

Please sign in to comment.