Add donations module.
|
@ -55,6 +55,7 @@ dependencyResolutionManagement {
|
|||
alias('google-libphonenumber').to('com.googlecode.libphonenumber:libphonenumber:8.12.17')
|
||||
alias('google-play-services-maps').to('com.google.android.gms:play-services-maps:16.1.0')
|
||||
alias('google-play-services-auth').to('com.google.android.gms:play-services-auth:16.0.1')
|
||||
alias('google-play-services-wallet').to('com.google.android.gms:play-services-wallet:18.1.3')
|
||||
alias('google-zxing-android-integration').to('com.google.zxing:android-integration:3.1.0')
|
||||
alias('google-zxing-core').to('com.google.zxing:core:3.2.1')
|
||||
alias('google-ez-vcard').to('com.googlecode.ez-vcard:ez-vcard:0.9.11')
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'witness'
|
||||
}
|
||||
|
||||
apply from: 'witness-verifications.gradle'
|
||||
|
||||
android {
|
||||
compileSdk COMPILE_SDK
|
||||
|
||||
defaultConfig {
|
||||
applicationId "org.signal.donations.app"
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
multiDexEnabled true
|
||||
|
||||
minSdk MINIMUM_SDK
|
||||
targetSdk TARGET_SDK
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JAVA_VERSION
|
||||
targetCompatibility JAVA_VERSION
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
}
|
||||
|
||||
dependencyVerification {
|
||||
configuration = '(debug|release)RuntimeClasspath'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.androidx.core.ktx
|
||||
implementation libs.androidx.appcompat
|
||||
implementation libs.material.material
|
||||
implementation project(':donations')
|
||||
implementation project(':core-util')
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.signal.donations.app">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.DeviceTransferTest">
|
||||
<activity android:name=".MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.wallet.api.enabled"
|
||||
android:value="true" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
|
@ -0,0 +1,92 @@
|
|||
package org.signal.donations.app;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.google.android.gms.wallet.PaymentData;
|
||||
|
||||
import org.signal.core.util.logging.Log;
|
||||
import org.signal.core.util.money.FiatMoney;
|
||||
import org.signal.donations.GooglePayApi;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Currency;
|
||||
import java.util.Locale;
|
||||
|
||||
import io.reactivex.rxjava3.disposables.Disposable;
|
||||
|
||||
public class MainActivity extends AppCompatActivity implements GooglePayApi.PaymentRequestCallback {
|
||||
|
||||
private static final String TAG = Log.tag(MainActivity.class);
|
||||
|
||||
private View donateButton;
|
||||
|
||||
private GooglePayApi payApi;
|
||||
private Disposable isReadyToPayDisposable;
|
||||
|
||||
@Override
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
|
||||
donateButton = findViewById(R.id.donate_with_googlepay);
|
||||
donateButton.setVisibility(View.GONE);
|
||||
donateButton.setOnClickListener(v -> requestPayment());
|
||||
|
||||
payApi = new GooglePayApi(this, TestUtil.INSTANCE);
|
||||
|
||||
isReadyToPayDisposable = payApi.queryIsReadyToPay().subscribe(this::presentGooglePayButton, this::presentException);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
payApi.onActivityResult(requestCode, resultCode, data, 1, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
isReadyToPayDisposable.dispose();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
private void presentGooglePayButton() {
|
||||
Log.d(TAG, "Pay is available, displaying button");
|
||||
donateButton.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
private void presentException(@NonNull Throwable throwable) {
|
||||
Log.w(TAG, "Could not display pay button", throwable);
|
||||
Toast.makeText(this, "Could not display pay button", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
private void requestPayment() {
|
||||
donateButton.setClickable(false);
|
||||
|
||||
payApi.requestPayment(new FiatMoney(BigDecimal.valueOf(4.00), Currency.getInstance(Locale.getDefault())), "Test Purchase", 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(PaymentData paymentData) {
|
||||
Toast.makeText(this, "SUCCESS", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError() {
|
||||
Toast.makeText(this, "ERROR", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancelled() {
|
||||
Toast.makeText(this, "CANCELLED", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
package org.signal.donations.app
|
||||
|
||||
import org.signal.donations.GooglePayApi
|
||||
|
||||
object TestUtil : GooglePayApi.Gateway {
|
||||
override fun getTokenizationSpecificationParameters(): Map<String, String> {
|
||||
return mapOf(
|
||||
"gateway" to "example",
|
||||
"gatewayMerchantId" to "exampleMerchantId"
|
||||
)
|
||||
}
|
||||
|
||||
override val allowedCardNetworks: List<String> = listOf(
|
||||
"AMEX",
|
||||
"DISCOVER",
|
||||
"INTERAC",
|
||||
"JCB",
|
||||
"MASTERCARD",
|
||||
"VISA"
|
||||
)
|
||||
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
|
@ -0,0 +1,171 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="20dp"
|
||||
android:height="20dp"
|
||||
android:viewportWidth="20"
|
||||
android:viewportHeight="20">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M14.7,5.3A6.7,6.7 0,1 0,10 16.7a6.7,6.7 0,0 0,6.4 -5H14.7A5,5 0,1 1,10 5a4.9,4.9 0,0 1,3.5 1.5L10.8,9.2h5.9V3.3Z"/>
|
||||
</vector>
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<include
|
||||
android:id="@+id/donate_with_googlepay"
|
||||
layout="@layout/donate_with_googlepay_button" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
Po Szerokość: | Wysokość: | Rozmiar: 3.5 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 5.2 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.6 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 3.3 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 4.8 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 7.3 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 7.7 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 12 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 10 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 16 KiB |
|
@ -0,0 +1,16 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.DeviceTransferTest" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_200</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnPrimary">@color/black</item>
|
||||
<!-- Secondary brand color. -->
|
||||
<item name="colorSecondary">@color/teal_200</item>
|
||||
<item name="colorSecondaryVariant">@color/teal_200</item>
|
||||
<item name="colorOnSecondary">@color/black</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="purple_200">#FFBB86FC</color>
|
||||
<color name="purple_500">#FF6200EE</color>
|
||||
<color name="purple_700">#FF3700B3</color>
|
||||
<color name="teal_200">#FF03DAC5</color>
|
||||
<color name="teal_700">#FF018786</color>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
</resources>
|
|
@ -0,0 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">DonationsTest</string>
|
||||
</resources>
|
|
@ -0,0 +1,16 @@
|
|||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<!-- Base application theme. -->
|
||||
<style name="Theme.DeviceTransferTest" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
||||
<!-- Primary brand color. -->
|
||||
<item name="colorPrimary">@color/purple_500</item>
|
||||
<item name="colorPrimaryVariant">@color/purple_700</item>
|
||||
<item name="colorOnPrimary">@color/white</item>
|
||||
<!-- Secondary brand color. -->
|
||||
<item name="colorSecondary">@color/teal_200</item>
|
||||
<item name="colorSecondaryVariant">@color/teal_700</item>
|
||||
<item name="colorOnSecondary">@color/black</item>
|
||||
<!-- Status bar color. -->
|
||||
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,168 @@
|
|||
// Auto-generated, use ./gradlew calculateChecksums to regenerate
|
||||
|
||||
dependencyVerification {
|
||||
verify = [
|
||||
|
||||
['androidx.activity:activity:1.0.0',
|
||||
'd1bc9842455c2e534415d88c44df4d52413b478db9093a1ba36324f705f44c3d'],
|
||||
|
||||
['androidx.annotation:annotation-experimental:1.0.0',
|
||||
'b219d2b568e7e4ba534e09f8c2fd242343df6ccbdfbbe938846f5d740e6b0b11'],
|
||||
|
||||
['androidx.annotation:annotation:1.2.0',
|
||||
'9029262bddce116e6d02be499e4afdba21f24c239087b76b3b57d7e98b490a36'],
|
||||
|
||||
['androidx.appcompat:appcompat-resources:1.2.0',
|
||||
'c470297c03ff3de1c3d15dacf0be0cae63abc10b52f021dd07ae28daa3100fe5'],
|
||||
|
||||
['androidx.appcompat:appcompat:1.2.0',
|
||||
'3d2131a55a61a777322e2126e0018011efa6339e53b44153eb651b16020cca70'],
|
||||
|
||||
['androidx.arch.core:core-common:2.1.0',
|
||||
'fe1237bf029d063e7f29fe39aeaf73ef74c8b0a3658486fc29d3c54326653889'],
|
||||
|
||||
['androidx.arch.core:core-runtime:2.0.0',
|
||||
'87e65fc767c712b437649c7cee2431ebb4bed6daef82e501d4125b3ed3f65f8e'],
|
||||
|
||||
['androidx.cardview:cardview:1.0.0',
|
||||
'1193c04c22a3d6b5946dae9f4e8c59d6adde6a71b6bd5d87fb99d82dda1afec7'],
|
||||
|
||||
['androidx.collection:collection:1.1.0',
|
||||
'632a0e5407461de774409352940e292a291037724207a787820c77daf7d33b72'],
|
||||
|
||||
['androidx.constraintlayout:constraintlayout-solver:2.0.1',
|
||||
'b23732edbb3511d937fea1ffef047b0e6c001b50c1921f0d959fc384d706ec6a'],
|
||||
|
||||
['androidx.constraintlayout:constraintlayout:2.0.1',
|
||||
'ec15b5d4a2eff07888bc1499ce2e2c6efe24c0ed60cc57b08c9dc4b6fd3c2189'],
|
||||
|
||||
['androidx.coordinatorlayout:coordinatorlayout:1.1.0',
|
||||
'44a9e30abf56af1025c52a0af506fee9c4131aa55efda52f9fd9451211c5e8cb'],
|
||||
|
||||
['androidx.core:core-ktx:1.5.0',
|
||||
'5964cfe7a4882da2a00fb6ca3d3a072d04139208186f7bc4b3cb66022764fc42'],
|
||||
|
||||
['androidx.core:core:1.5.0',
|
||||
'2b279712795689069cfb63e48b3ab63c32a5649bdda44c482eb8f81ca1a72161'],
|
||||
|
||||
['androidx.cursoradapter:cursoradapter:1.0.0',
|
||||
'a81c8fe78815fa47df5b749deb52727ad11f9397da58b16017f4eb2c11e28564'],
|
||||
|
||||
['androidx.customview:customview:1.0.0',
|
||||
'20e5b8f6526a34595a604f56718da81167c0b40a7a94a57daa355663f2594df2'],
|
||||
|
||||
['androidx.documentfile:documentfile:1.0.0',
|
||||
'865a061ef2fad16522f8433536b8d47208c46ff7c7745197dfa1eeb481869487'],
|
||||
|
||||
['androidx.drawerlayout:drawerlayout:1.0.0',
|
||||
'9402442cdc5a43cf62fb14f8cf98c63342d4d9d9b805c8033c6cf7e802749ac1'],
|
||||
|
||||
['androidx.dynamicanimation:dynamicanimation:1.0.0',
|
||||
'ce005162c229bf308d2d5b12fb6cad0874069cbbeaccee63a8193bd08d40de04'],
|
||||
|
||||
['androidx.fragment:fragment:1.1.0',
|
||||
'a14c8b8f2153f128e800fbd266a6beab1c283982a29ec570d2cc05d307d81496'],
|
||||
|
||||
['androidx.interpolator:interpolator:1.0.0',
|
||||
'33193135a64fe21fa2c35eec6688f1a76e512606c0fc83dc1b689e37add7732a'],
|
||||
|
||||
['androidx.legacy:legacy-support-core-utils:1.0.0',
|
||||
'a7edcf01d5b52b3034073027bc4775b78a4764bb6202bb91d61c829add8dd1c7'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-common:2.1.0',
|
||||
'76db6be533bd730fb361c2feb12a2c26d9952824746847da82601ef81f082643'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-livedata-core:2.0.0',
|
||||
'fde334ec7e22744c0f5bfe7caf1a84c9d717327044400577bdf9bd921ec4f7bc'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-livedata:2.0.0',
|
||||
'c82609ced8c498f0a701a30fb6771bb7480860daee84d82e0a81ee86edf7ba39'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-runtime:2.1.0',
|
||||
'e5173897b965e870651e83d9d5af1742d3f532d58863223a390ce3a194c8312b'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-viewmodel:2.1.0',
|
||||
'ba55fb7ac1b2828d5327cda8acf7085d990b2b4c43ef336caa67686249b8523d'],
|
||||
|
||||
['androidx.loader:loader:1.0.0',
|
||||
'11f735cb3b55c458d470bed9e25254375b518b4b1bad6926783a7026db0f5025'],
|
||||
|
||||
['androidx.localbroadcastmanager:localbroadcastmanager:1.0.0',
|
||||
'e71c328ceef5c4a7d76f2d86df1b65d65fe2acf868b1a4efd84a3f34336186d8'],
|
||||
|
||||
['androidx.multidex:multidex:2.0.0',
|
||||
'c01700091072e0ff5d8ec2d00eac6b8f96ea18646080425e9ce3c6a7b5f66e33'],
|
||||
|
||||
['androidx.print:print:1.0.0',
|
||||
'1d5c7f3135a1bba661fc373fd72e11eb0a4adbb3396787826dd8e4190d5d9edd'],
|
||||
|
||||
['androidx.recyclerview:recyclerview:1.1.0',
|
||||
'f0d2b5a67d0a91ee1b1c73ef2b636a81f3563925ddd15a1d4e1c41ec28de7a4f'],
|
||||
|
||||
['androidx.savedstate:savedstate:1.0.0',
|
||||
'2510a5619c37579c9ce1a04574faaf323cd0ffe2fc4e20fa8f8f01e5bb402e83'],
|
||||
|
||||
['androidx.transition:transition:1.2.0',
|
||||
'a1e059b3bc0b43a58dec0efecdcaa89c82d2bca552ea5bacf6656c46e853157e'],
|
||||
|
||||
['androidx.vectordrawable:vectordrawable-animated:1.1.0',
|
||||
'76da2c502371d9c38054df5e2b248d00da87809ed058f3363eae87ce5e2403f8'],
|
||||
|
||||
['androidx.vectordrawable:vectordrawable:1.1.0',
|
||||
'46fd633ac01b49b7fcabc263bf098c5a8b9e9a69774d234edcca04fb02df8e26'],
|
||||
|
||||
['androidx.versionedparcelable:versionedparcelable:1.1.1',
|
||||
'57e8d93260d18d5b9007c9eed3c64ad159de90c8609ebfc74a347cbd514535a4'],
|
||||
|
||||
['androidx.viewpager2:viewpager2:1.0.0',
|
||||
'e95c0031d4cc247cd48196c6287e58d2cee54d9c79b85afea7c90920330275af'],
|
||||
|
||||
['androidx.viewpager:viewpager:1.0.0',
|
||||
'147af4e14a1984010d8f155e5e19d781f03c1d70dfed02a8e0d18428b8fc8682'],
|
||||
|
||||
['com.google.android.gms:play-services-base:17.5.0',
|
||||
'198c9e2115f5ce5f91140cd9b481dc6d64dd634ac2d6c6525567dc5fe00065cb'],
|
||||
|
||||
['com.google.android.gms:play-services-basement:17.5.0',
|
||||
'362301c0da1c765cbbdcf8ea866b6cb62bc130c86d2aa7cc9e9c18a6e51ea79d'],
|
||||
|
||||
['com.google.android.gms:play-services-identity:17.0.0',
|
||||
'8987c6c303eaaa9c10c403822cf5ae188ee1ce61c3056eb3be2ca4aaecc80b5f'],
|
||||
|
||||
['com.google.android.gms:play-services-maps:17.0.0',
|
||||
'f9e479bc57ff423959c6dd9d08d463c677f440e29d90de795418ea27da6c67fb'],
|
||||
|
||||
['com.google.android.gms:play-services-tasks:17.2.0',
|
||||
'a131d126145dfe87de04fa904f9ce91753b2d3273851b7d084666a71255792a8'],
|
||||
|
||||
['com.google.android.gms:play-services-wallet:18.1.3',
|
||||
'e19d1f4650f51ce2202c092cbe174058860b6558cf26c8be37a732eff3ae1864'],
|
||||
|
||||
['com.google.android.material:material:1.3.0',
|
||||
'cbf1e7d69fc236cdadcbd1ec5f6c0a1a41aca6ad1ef7f8481058956270ab1f0a'],
|
||||
|
||||
['com.google.protobuf:protobuf-javalite:3.10.0',
|
||||
'215a94dbe100130295906b531bb72a26965c7ac8fcd9a75bf8054a8ac2abf4b4'],
|
||||
|
||||
['com.squareup.okhttp3:okhttp:3.12.10',
|
||||
'3cb8e21cd3ab10d390448f5a475c960732efab583a09c39f06f866a7ed819ebc'],
|
||||
|
||||
['com.squareup.okio:okio:1.15.0',
|
||||
'693fa319a7e8843300602b204023b7674f106ebcb577f2dd5807212b66118bd2'],
|
||||
|
||||
['io.reactivex.rxjava3:rxjava:3.0.13',
|
||||
'598abaf71dbc970dd0727e6d5f4f786dc999df5b972cbf261316a32e155b2c69'],
|
||||
|
||||
['org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32',
|
||||
'e1ff6f55ee9e7591dcc633f7757bac25a7edb1cc7f738b37ec652f10f66a4145'],
|
||||
|
||||
['org.jetbrains.kotlin:kotlin-stdlib:1.4.32',
|
||||
'13e9fd3e69dc7230ce0fc873a92a4e5d521d179bcf1bef75a6705baac3bfecba'],
|
||||
|
||||
['org.jetbrains:annotations:13.0',
|
||||
'ace2a10dc8e2d5fd34925ecac03e4988b2c0f851650c94b8cef49ba1bd111478'],
|
||||
|
||||
['org.reactivestreams:reactive-streams:1.0.3',
|
||||
'1dee0481072d19c929b623e155e14d2f6085dc011529a0a0dbefc84cf571d865'],
|
||||
]
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'witness'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
}
|
||||
|
||||
apply from: 'witness-verifications.gradle'
|
||||
|
||||
android {
|
||||
buildToolsVersion BUILD_TOOL_VERSION
|
||||
compileSdkVersion COMPILE_SDK
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion MINIMUM_SDK
|
||||
targetSdkVersion TARGET_SDK
|
||||
multiDexEnabled true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
coreLibraryDesugaringEnabled true
|
||||
sourceCompatibility JAVA_VERSION
|
||||
targetCompatibility JAVA_VERSION
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
disable 'InvalidVectorPath'
|
||||
}
|
||||
}
|
||||
|
||||
dependencyVerification {
|
||||
configuration = '(debug|release)RuntimeClasspath'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
lintChecks project(':lintchecks')
|
||||
|
||||
implementation project(':core-util')
|
||||
|
||||
coreLibraryDesugaring libs.android.tools.desugar
|
||||
|
||||
implementation libs.androidx.core.ktx
|
||||
implementation libs.androidx.annotation
|
||||
implementation libs.androidx.appcompat
|
||||
|
||||
api libs.google.play.services.wallet
|
||||
api libs.square.okhttp3
|
||||
api libs.rxjava3.rxjava
|
||||
|
||||
kapt libs.androidx.annotation
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.signal.donations">
|
||||
|
||||
</manifest>
|
|
@ -0,0 +1,193 @@
|
|||
package org.signal.donations
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Intent
|
||||
import com.google.android.gms.common.api.ApiException
|
||||
import com.google.android.gms.tasks.Task
|
||||
import com.google.android.gms.wallet.AutoResolveHelper
|
||||
import com.google.android.gms.wallet.IsReadyToPayRequest
|
||||
import com.google.android.gms.wallet.PaymentData
|
||||
import com.google.android.gms.wallet.PaymentDataRequest
|
||||
import com.google.android.gms.wallet.PaymentsClient
|
||||
import com.google.android.gms.wallet.Wallet
|
||||
import com.google.android.gms.wallet.WalletConstants
|
||||
import io.reactivex.rxjava3.core.Completable
|
||||
import io.reactivex.rxjava3.core.Single
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
import org.json.JSONArray
|
||||
import org.json.JSONException
|
||||
import org.json.JSONObject
|
||||
import org.signal.core.util.logging.Log
|
||||
import org.signal.core.util.money.FiatMoney
|
||||
|
||||
/**
|
||||
* Entrypoint for Google Pay APIs
|
||||
*
|
||||
* @param activity The activity the Pay Client will attach itself to
|
||||
* @param gateway The payment gateway (Such as Stripe)
|
||||
*/
|
||||
class GooglePayApi(private val activity: Activity, private val gateway: Gateway) {
|
||||
|
||||
private val paymentsClient: PaymentsClient
|
||||
|
||||
init {
|
||||
val walletOptions = Wallet.WalletOptions.Builder()
|
||||
.setEnvironment(PAYMENT_ENVIRONMENT)
|
||||
.build()
|
||||
|
||||
paymentsClient = Wallet.getPaymentsClient(activity, walletOptions)
|
||||
}
|
||||
|
||||
/**
|
||||
* Query the Google Pay API to determine whether or not the device has Google Pay available and ready.
|
||||
*
|
||||
* @return A completable which, when it completes, indicates that Google Pay is available, or when it errors, indicates it is not.
|
||||
*/
|
||||
fun queryIsReadyToPay(): Completable = Completable.create { emitter ->
|
||||
try {
|
||||
val request: IsReadyToPayRequest = buildIsReadyToPayRequest()
|
||||
val task: Task<Boolean> = paymentsClient.isReadyToPay(request)
|
||||
task.addOnCompleteListener { completedTask ->
|
||||
if (!emitter.isDisposed) {
|
||||
try {
|
||||
val result: Boolean = completedTask.getResult(ApiException::class.java) ?: false
|
||||
if (result) {
|
||||
emitter.onComplete()
|
||||
} else {
|
||||
emitter.onError(Exception("Google Pay is not available."))
|
||||
}
|
||||
} catch (e: ApiException) {
|
||||
emitter.onError(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: JSONException) {
|
||||
emitter.onError(e)
|
||||
}
|
||||
}.subscribeOn(Schedulers.io())
|
||||
|
||||
/**
|
||||
* Launches the Google Pay sheet via an Activity intent. It is up to the caller to pass
|
||||
* through the activity result to onActivityResult.
|
||||
*/
|
||||
fun requestPayment(price: FiatMoney, label: String, requestCode: Int) {
|
||||
val paymentDataRequest = getPaymentDataRequest(price, label)
|
||||
val request = PaymentDataRequest.fromJson(paymentDataRequest.toString())
|
||||
AutoResolveHelper.resolveTask(paymentsClient.loadPaymentData(request), activity, requestCode)
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks the activity result for payment data and fires off the corresponding callback. Does nothing if
|
||||
* the request code is not the expected request code.
|
||||
*/
|
||||
fun onActivityResult(
|
||||
requestCode: Int,
|
||||
resultCode: Int,
|
||||
data: Intent?,
|
||||
expectedRequestCode: Int,
|
||||
paymentRequestCallback: PaymentRequestCallback
|
||||
) {
|
||||
if (requestCode != expectedRequestCode) {
|
||||
return
|
||||
}
|
||||
|
||||
when (resultCode) {
|
||||
Activity.RESULT_OK -> {
|
||||
data?.let { intent ->
|
||||
PaymentData.getFromIntent(intent)?.let { paymentRequestCallback.onSuccess(it) }
|
||||
} ?: paymentRequestCallback.onError()
|
||||
}
|
||||
Activity.RESULT_CANCELED -> paymentRequestCallback.onCancelled()
|
||||
AutoResolveHelper.RESULT_ERROR -> {
|
||||
AutoResolveHelper.getStatusFromIntent(data)?.let {
|
||||
Log.w(TAG, "loadPaymentData failed with error code ${it.statusCode}")
|
||||
paymentRequestCallback.onError()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun getPaymentDataRequest(price: FiatMoney, label: String): JSONObject {
|
||||
return baseRequest.apply {
|
||||
put("merchantInfo", merchantInfo)
|
||||
put("allowedPaymentMethods", JSONArray().put(cardPaymentMethod()))
|
||||
put("transactionInfo", getTransactionInfo(price, label))
|
||||
put("emailRequired", false)
|
||||
put("shippingAddressRequired", false)
|
||||
}
|
||||
}
|
||||
|
||||
private fun getTransactionInfo(price: FiatMoney, label: String): JSONObject {
|
||||
return JSONObject().apply {
|
||||
put("currencyCode", price.currency.currencyCode)
|
||||
put("countryCode", "US")
|
||||
put("totalPriceStatus", "FINAL")
|
||||
put("totalPrice", price.defaultPrecisionString)
|
||||
put("totalPriceLabel", label)
|
||||
put("checkoutOption", "COMPLETE_IMMEDIATE_PURCHASE")
|
||||
}
|
||||
}
|
||||
|
||||
private fun buildIsReadyToPayRequest(): IsReadyToPayRequest {
|
||||
val isReadyToPayJson: JSONObject = baseRequest.apply {
|
||||
put("allowedPaymentMethods", JSONArray().put(baseCardPaymentMethod()))
|
||||
}
|
||||
|
||||
return IsReadyToPayRequest.fromJson(isReadyToPayJson.toString())
|
||||
}
|
||||
|
||||
private fun gatewayTokenizationSpecification(): JSONObject {
|
||||
return JSONObject().apply {
|
||||
put("type", "PAYMENT_GATEWAY")
|
||||
put("parameters", JSONObject(gateway.getTokenizationSpecificationParameters()))
|
||||
}
|
||||
}
|
||||
|
||||
private fun baseCardPaymentMethod(): JSONObject {
|
||||
return JSONObject().apply {
|
||||
val parameters = JSONObject().apply {
|
||||
put("allowedAuthMethods", allowedCardAuthMethods)
|
||||
put("allowedCardNetworks", JSONArray(gateway.allowedCardNetworks))
|
||||
put("billingAddressRequired", false)
|
||||
}
|
||||
|
||||
put("type", "CARD")
|
||||
put("parameters", parameters)
|
||||
}
|
||||
}
|
||||
|
||||
private fun cardPaymentMethod(): JSONObject {
|
||||
val cardPaymentMethod = baseCardPaymentMethod()
|
||||
cardPaymentMethod.put("tokenizationSpecification", gatewayTokenizationSpecification())
|
||||
|
||||
return cardPaymentMethod
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val TAG = Log.tag(GooglePayApi::class.java)
|
||||
|
||||
private const val PAYMENT_ENVIRONMENT: Int = WalletConstants.ENVIRONMENT_TEST
|
||||
private const val MERCHANT_NAME = "Signal Foundation"
|
||||
|
||||
private val merchantInfo: JSONObject =
|
||||
JSONObject().put("merchantName", MERCHANT_NAME)
|
||||
|
||||
private val allowedCardAuthMethods = JSONArray(listOf("CRYPTOGRAM_3DS"))
|
||||
|
||||
private val baseRequest = JSONObject().apply {
|
||||
put("apiVersion", 2)
|
||||
put("apiVersionMinor", 0)
|
||||
}
|
||||
}
|
||||
|
||||
interface Gateway {
|
||||
fun getTokenizationSpecificationParameters(): Map<String, String>
|
||||
val allowedCardNetworks: List<String>
|
||||
}
|
||||
|
||||
interface PaymentRequestCallback {
|
||||
fun onSuccess(paymentData: PaymentData)
|
||||
fun onError()
|
||||
fun onCancelled()
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package org.signal.donations
|
||||
|
||||
import com.google.android.gms.wallet.PaymentData
|
||||
import org.json.JSONObject
|
||||
|
||||
class GooglePayPaymentSource(private val paymentData: PaymentData) : StripeApi.PaymentSource {
|
||||
override fun parameterize(): JSONObject {
|
||||
val jsonData = JSONObject(paymentData.toJson())
|
||||
val paymentMethodJsonData = jsonData.getJSONObject("paymentMethodData")
|
||||
return paymentMethodJsonData.getJSONObject("tokenizationData")
|
||||
}
|
||||
}
|
|
@ -0,0 +1,307 @@
|
|||
package org.signal.donations
|
||||
|
||||
import io.reactivex.rxjava3.core.Completable
|
||||
import io.reactivex.rxjava3.core.Single
|
||||
import io.reactivex.rxjava3.schedulers.Schedulers
|
||||
import okhttp3.FormBody
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import okhttp3.Response
|
||||
import okio.ByteString
|
||||
import org.json.JSONObject
|
||||
import org.signal.core.util.money.FiatMoney
|
||||
import java.io.IOException
|
||||
import java.math.BigDecimal
|
||||
import java.util.Locale
|
||||
|
||||
class StripeApi(private val configuration: Configuration, private val paymentIntentFetcher: PaymentIntentFetcher, private val okHttpClient: OkHttpClient) {
|
||||
|
||||
sealed class CreatePaymentIntentResult {
|
||||
data class AmountIsTooSmall(val amount: FiatMoney) : CreatePaymentIntentResult()
|
||||
data class AmountIsTooLarge(val amount: FiatMoney) : CreatePaymentIntentResult()
|
||||
data class CurrencyIsNotSupported(val currencyCode: String) : CreatePaymentIntentResult()
|
||||
data class Success(val paymentIntent: PaymentIntent) : CreatePaymentIntentResult()
|
||||
}
|
||||
|
||||
fun createPaymentIntent(price: FiatMoney, description: String? = null): Single<CreatePaymentIntentResult> = Single.fromCallable {
|
||||
if (Validation.isAmountTooSmall(price)) {
|
||||
CreatePaymentIntentResult.AmountIsTooSmall(price)
|
||||
} else if (Validation.isAmountTooLarge(price)) {
|
||||
CreatePaymentIntentResult.AmountIsTooLarge(price)
|
||||
} else if (!Validation.supportedCurrencyCodes.contains(price.currency.currencyCode.toUpperCase(Locale.ROOT))) {
|
||||
CreatePaymentIntentResult.CurrencyIsNotSupported(price.currency.currencyCode)
|
||||
} else {
|
||||
CreatePaymentIntentResult.Success(
|
||||
paymentIntentFetcher.fetchPaymentIntent(
|
||||
price, description
|
||||
)
|
||||
)
|
||||
}
|
||||
}.subscribeOn(Schedulers.io())
|
||||
|
||||
fun confirmPaymentIntent(paymentSource: PaymentSource, paymentIntent: PaymentIntent): Completable = Completable.fromAction {
|
||||
val paymentMethodId = createPaymentMethod(paymentSource).use { response ->
|
||||
val body = response.body()
|
||||
if (body != null) {
|
||||
val paymentMethodObject = body.string().replace("\n", "").let { JSONObject(it) }
|
||||
paymentMethodObject.getString("id")
|
||||
} else {
|
||||
throw IOException("Failed to parse payment method response")
|
||||
}
|
||||
}
|
||||
|
||||
val parameters = mapOf(
|
||||
"client_secret" to paymentIntent.clientSecret,
|
||||
"payment_method" to paymentMethodId
|
||||
)
|
||||
|
||||
postForm("payment_intents/${paymentIntent.id}/confirm", parameters)
|
||||
}.subscribeOn(Schedulers.io())
|
||||
|
||||
private fun createPaymentMethod(paymentSource: PaymentSource): Response {
|
||||
val tokenizationData = paymentSource.parameterize()
|
||||
val parameters = mapOf(
|
||||
"card[token]" to JSONObject((tokenizationData.get("token") as String).replace("\n", "")).getString("id"),
|
||||
"type" to "card"
|
||||
)
|
||||
|
||||
return postForm("payment_methods", parameters)
|
||||
}
|
||||
|
||||
private fun postForm(endpoint: String, parameters: Map<String, String>): Response {
|
||||
val formBodyBuilder = FormBody.Builder()
|
||||
parameters.forEach { (k, v) ->
|
||||
formBodyBuilder.add(k, v)
|
||||
}
|
||||
|
||||
val request = Request.Builder()
|
||||
.url("${configuration.baseUrl}/$endpoint")
|
||||
.addHeader("Authorization", "Basic ${ByteString.encodeUtf8("${configuration.publishableKey}:").base64()}")
|
||||
.post(formBodyBuilder.build())
|
||||
.build()
|
||||
|
||||
val response = okHttpClient.newCall(request).execute()
|
||||
|
||||
if (response.isSuccessful) {
|
||||
return response
|
||||
} else {
|
||||
throw IOException("postForm failure: ${response.code()}")
|
||||
}
|
||||
}
|
||||
|
||||
object Validation {
|
||||
private val MAX_AMOUNT = BigDecimal(99_999_999)
|
||||
|
||||
fun isAmountTooLarge(fiatMoney: FiatMoney): Boolean {
|
||||
return fiatMoney.amount > MAX_AMOUNT
|
||||
}
|
||||
|
||||
fun isAmountTooSmall(fiatMoney: FiatMoney): Boolean {
|
||||
return fiatMoney.amount < BigDecimal(minimumIntegralChargePerCurrencyCode[fiatMoney.currency.currencyCode] ?: 50)
|
||||
}
|
||||
|
||||
private val minimumIntegralChargePerCurrencyCode: Map<String, Int> = mapOf(
|
||||
"USD" to 50,
|
||||
"AED" to 200,
|
||||
"AUD" to 50,
|
||||
"BGN" to 100,
|
||||
"BRL" to 50,
|
||||
"CAD" to 50,
|
||||
"CHF" to 50,
|
||||
"CZK" to 1500,
|
||||
"DKK" to 250,
|
||||
"EUR" to 50,
|
||||
"GBP" to 30,
|
||||
"HKD" to 400,
|
||||
"HUF" to 17500,
|
||||
"INR" to 50,
|
||||
"JPY" to 50,
|
||||
"MXN" to 10,
|
||||
"MYR" to 2,
|
||||
"NOK" to 300,
|
||||
"NZD" to 50,
|
||||
"PLN" to 200,
|
||||
"RON" to 200,
|
||||
"SEK" to 300,
|
||||
"SGD" to 50
|
||||
)
|
||||
|
||||
val supportedCurrencyCodes: List<String> = listOf(
|
||||
"USD",
|
||||
"AED",
|
||||
"AFN",
|
||||
"ALL",
|
||||
"AMD",
|
||||
"ANG",
|
||||
"AOA",
|
||||
"ARS",
|
||||
"AUD",
|
||||
"AWG",
|
||||
"AZN",
|
||||
"BAM",
|
||||
"BBD",
|
||||
"BDT",
|
||||
"BGN",
|
||||
"BIF",
|
||||
"BMD",
|
||||
"BND",
|
||||
"BOB",
|
||||
"BRL",
|
||||
"BSD",
|
||||
"BWP",
|
||||
"BZD",
|
||||
"CAD",
|
||||
"CDF",
|
||||
"CHF",
|
||||
"CLP",
|
||||
"CNY",
|
||||
"COP",
|
||||
"CRC",
|
||||
"CVE",
|
||||
"CZK",
|
||||
"DJF",
|
||||
"DKK",
|
||||
"DOP",
|
||||
"DZD",
|
||||
"EGP",
|
||||
"ETB",
|
||||
"EUR",
|
||||
"FJD",
|
||||
"FKP",
|
||||
"GBP",
|
||||
"GEL",
|
||||
"GIP",
|
||||
"GMD",
|
||||
"GNF",
|
||||
"GTQ",
|
||||
"GYD",
|
||||
"HKD",
|
||||
"HNL",
|
||||
"HRK",
|
||||
"HTG",
|
||||
"HUF",
|
||||
"IDR",
|
||||
"ILS",
|
||||
"INR",
|
||||
"ISK",
|
||||
"JMD",
|
||||
"JPY",
|
||||
"KES",
|
||||
"KGS",
|
||||
"KHR",
|
||||
"KMF",
|
||||
"KRW",
|
||||
"KYD",
|
||||
"KZT",
|
||||
"LAK",
|
||||
"LBP",
|
||||
"LKR",
|
||||
"LRD",
|
||||
"LSL",
|
||||
"MAD",
|
||||
"MDL",
|
||||
"MGA",
|
||||
"MKD",
|
||||
"MMK",
|
||||
"MNT",
|
||||
"MOP",
|
||||
"MRO",
|
||||
"MUR",
|
||||
"MVR",
|
||||
"MWK",
|
||||
"MXN",
|
||||
"MYR",
|
||||
"MZN",
|
||||
"NAD",
|
||||
"NGN",
|
||||
"NIO",
|
||||
"NOK",
|
||||
"NPR",
|
||||
"NZD",
|
||||
"PAB",
|
||||
"PEN",
|
||||
"PGK",
|
||||
"PHP",
|
||||
"PKR",
|
||||
"PLN",
|
||||
"PYG",
|
||||
"QAR",
|
||||
"RON",
|
||||
"RSD",
|
||||
"RUB",
|
||||
"RWF",
|
||||
"SAR",
|
||||
"SBD",
|
||||
"SCR",
|
||||
"SEK",
|
||||
"SGD",
|
||||
"SHP",
|
||||
"SLL",
|
||||
"SOS",
|
||||
"SRD",
|
||||
"STD",
|
||||
"SZL",
|
||||
"THB",
|
||||
"TJS",
|
||||
"TOP",
|
||||
"TRY",
|
||||
"TTD",
|
||||
"TWD",
|
||||
"TZS",
|
||||
"UAH",
|
||||
"UGX",
|
||||
"UYU",
|
||||
"UZS",
|
||||
"VND",
|
||||
"VUV",
|
||||
"WST",
|
||||
"XAF",
|
||||
"XCD",
|
||||
"XOF",
|
||||
"XPF",
|
||||
"YER",
|
||||
"ZAR",
|
||||
"ZMW"
|
||||
)
|
||||
}
|
||||
|
||||
class Gateway(private val configuration: Configuration) : GooglePayApi.Gateway {
|
||||
override fun getTokenizationSpecificationParameters(): Map<String, String> {
|
||||
return mapOf(
|
||||
"gateway" to "stripe",
|
||||
"stripe:version" to configuration.version,
|
||||
"stripe:publishableKey" to configuration.publishableKey
|
||||
)
|
||||
}
|
||||
|
||||
override val allowedCardNetworks: List<String> = listOf(
|
||||
"AMEX",
|
||||
"DISCOVER",
|
||||
"JCB",
|
||||
"MASTERCARD",
|
||||
"VISA"
|
||||
)
|
||||
}
|
||||
|
||||
data class Configuration(
|
||||
val publishableKey: String,
|
||||
val baseUrl: String = "https://api.stripe.com/v1",
|
||||
val version: String = "2018-10-31"
|
||||
)
|
||||
|
||||
interface PaymentIntentFetcher {
|
||||
fun fetchPaymentIntent(
|
||||
price: FiatMoney,
|
||||
description: String? = null
|
||||
): PaymentIntent
|
||||
}
|
||||
|
||||
data class PaymentIntent(
|
||||
val id: String,
|
||||
val clientSecret: String
|
||||
)
|
||||
|
||||
interface PaymentSource {
|
||||
fun parameterize(): JSONObject
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="228dp" android:height="38dp" android:viewportWidth="228" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M2.31643 30V9.952h6.412c2.10937 0 3.91997.4293 5.43197 1.288 1.5307.84 2.7067 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8213 1.4933-1.9973 2.6693-3.528 3.528-1.512.84-3.3226 1.26-5.43197 1.26h-6.412zm3.08-2.912h3.248c2.27737 0 4.04137-.6347 5.29197-1.904 1.2694-1.2693 1.904-3.0053 1.904-5.208s-.6346-3.9387-1.904-5.208c-1.2506-1.2693-3.0146-1.904-5.29197-1.904h-3.248v14.224zm23.17817 3.36c-1.4746 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6346-1.1387-.952-2.4267-.952-3.864 0-1.4187.3174-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4174-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9974 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6346 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2134-.9427 1.624-1.652.4294-.728.644-1.596.644-2.604s-.2146-1.8667-.644-2.576c-.4106-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2226.924-1.652 1.652-.4106.7093-.616 1.568-.616 2.576s.2054 1.876.616 2.604c.4294.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM38.8343 30V15.72h2.856v1.96h.168c.4107-.6907 1.0173-1.26 1.82-1.708.8213-.4667 1.7173-.7 2.688-.7 1.7547 0 3.0707.5227 3.948 1.568.8773 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2893-1.9973-.868-2.52-.5787-.5413-1.3347-.812-2.268-.812-.728 0-1.3627.2053-1.904.616-.5413.392-.9707.9147-1.288 1.568-.2987.6533-.448 1.3533-.448 2.1V30h-3.024zm20.8855.448c-1.0267 0-1.9414-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6906.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6534.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0266-.504 2.1466-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3734.5787-.9334 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4746-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3546-.616.532-1.2787.532-1.988-.4294-.2427-.9334-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1094.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zm21.8883 2.464c-1.0267 0-1.9413-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6907.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3733.5787-.9333 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3547-.616.532-1.2787.532-1.988-.4293-.2427-.9333-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zM93.2452 30V15.72h2.856v1.96h.168c.4107-.6907 1.008-1.26 1.792-1.708.784-.4667 1.652-.7 2.6038-.7 1.064 0 1.97.252 2.716.756.747.504 1.279 1.1387 1.596 1.904.467-.7467 1.102-1.372 1.904-1.876.803-.5227 1.783-.784 2.94-.784 1.68 0 2.931.5133 3.752 1.54.822 1.008 1.232 2.352 1.232 4.032V30h-2.996v-8.652c0-1.1387-.252-1.9693-.756-2.492-.485-.5413-1.166-.812-2.044-.812-.69 0-1.297.196-1.82.588-.522.3733-.933.8867-1.232 1.54-.28.6533-.42 1.3813-.42 2.184V30h-2.996v-8.652c0-1.1387-.252-1.9693-.756-2.492-.504-.5413-1.213-.812-2.1278-.812-.672 0-1.26.196-1.764.588-.504.392-.9053.9147-1.204 1.568-.28.6533-.42 1.3813-.42 2.184V30h-3.024zm32.8808.448c-1.101 0-2.053-.2333-2.856-.7-.784-.4853-1.363-1.036-1.736-1.652h-.168V30h-2.856V9.952h3.024v5.712l-.168 1.988h.168c.373-.616.952-1.1667 1.736-1.652.803-.4853 1.755-.728 2.856-.728 1.307 0 2.473.3267 3.5.98 1.027.6533 1.839 1.5493 2.436 2.688.616 1.1387.924 2.4453.924 3.92s-.308 2.7907-.924 3.948c-.597 1.1387-1.409 2.0347-2.436 2.688-1.027.6347-2.193.952-3.5.952zm-.448-2.772c.747 0 1.447-.196 2.1-.588.653-.392 1.185-.9427 1.596-1.652.411-.728.616-1.5867.616-2.576 0-.9893-.205-1.8387-.616-2.548-.411-.728-.943-1.288-1.596-1.68-.653-.392-1.353-.588-2.1-.588-.747 0-1.447.196-2.1.588-.653.392-1.185.952-1.596 1.68-.411.7093-.616 1.5587-.616 2.548 0 .9893.205 1.848.616 2.576.411.7093.943 1.26 1.596 1.652.653.392 1.353.588 2.1.588z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M184.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM199.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM227.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M172.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M159.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M151.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M159.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="242dp" android:height="38dp" android:viewportWidth="242" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M2.8641 30V9.952h6.412c2.1093 0 3.92.4293 5.432 1.288 1.5307.84 2.7067 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8213 1.4933-1.9973 2.6693-3.528 3.528-1.512.84-3.3227 1.26-5.432 1.26h-6.412zm3.08-2.912h3.248c2.2773 0 4.0413-.6347 5.292-1.904 1.2693-1.2693 1.904-3.0053 1.904-5.208s-.6347-3.9387-1.904-5.208c-1.2507-1.2693-3.0147-1.904-5.292-1.904h-3.248v14.224zm23.1782 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM39.382 30V15.72h2.856v1.96h.168c.4106-.6907 1.0173-1.26 1.82-1.708.8213-.4667 1.7173-.7 2.688-.7 1.7546 0 3.0706.5227 3.948 1.568.8773 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2894-1.9973-.868-2.52-.5787-.5413-1.3347-.812-2.268-.812-.728 0-1.3627.2053-1.904.616-.5414.392-.9707.9147-1.288 1.568-.2987.6533-.448 1.3533-.448 2.1V30h-3.024zm23.0662.448c-1.4 0-2.6507-.3267-3.752-.98-1.1014-.6533-1.9694-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.2986-2.6227.896-3.78.5973-1.1573 1.428-2.0813 2.492-2.772 1.0826-.7093 2.324-1.064 3.724-1.064 1.4746 0 2.7253.3173 3.752.952 1.0453.6347 1.8386 1.5027 2.38 2.604.5413 1.1013.812 2.3427.812 3.724 0 .2053-.0094.392-.028.56 0 .168-.0094.2987-.028.392h-11.032c.1493 1.4187.644 2.4827 1.484 3.192.8586.7093 1.8293 1.064 2.912 1.064.9706 0 1.7733-.2147 2.408-.644.6346-.448 1.1386-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.3894 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.8667.308-2.576.924-.7094.616-1.1854 1.4373-1.428 2.464h7.924c-.0374-.4853-.196-.9893-.476-1.512-.28-.5227-.7094-.9613-1.288-1.316-.56-.3733-1.2787-.56-2.156-.56zm-1.26-4.872l1.316-3.584h3.416l-2.24 3.584h-2.492zM72.3296 30V15.72h2.856v2.1h.168c.3174-.728.8587-1.3253 1.624-1.792.784-.4853 1.624-.728 2.52-.728.392 0 .7187.028.98.084.28.056.532.1213.756.196v3.136c-.3546-.1493-.7186-.2707-1.092-.364-.3546-.0933-.728-.14-1.12-.14-.7093 0-1.344.196-1.904.588-.5413.3733-.9706.8867-1.288 1.54-.3173.6347-.476 1.3347-.476 2.1V30h-3.024zm18.3735 0V15.72h2.856v1.96h.168c.4106-.6907 1.008-1.26 1.792-1.708.784-.4667 1.652-.7 2.604-.7 1.064 0 1.9689.252 2.7159.756.747.504 1.279 1.1387 1.596 1.904.467-.7467 1.101-1.372 1.904-1.876.803-.5227 1.783-.784 2.94-.784 1.68 0 2.931.5133 3.752 1.54.821 1.008 1.232 2.352 1.232 4.032V30h-2.996v-8.652c0-1.1387-.252-1.9693-.756-2.492-.485-.5413-1.167-.812-2.044-.812-.691 0-1.297.196-1.82.588-.523.3733-.933.8867-1.232 1.54-.28.6533-.42 1.3813-.42 2.184V30h-2.9959v-8.652c0-1.1387-.252-1.9693-.756-2.492-.504-.5413-1.2134-.812-2.128-.812-.672 0-1.26.196-1.764.588-.504.392-.9054.9147-1.204 1.568-.28.6533-.42 1.3813-.42 2.184V30h-3.024zm31.7889.448c-1.4 0-2.651-.3267-3.752-.98s-1.969-1.5493-2.604-2.688c-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.299-2.6227.896-3.78.597-1.1573 1.428-2.0813 2.492-2.772 1.083-.7093 2.324-1.064 3.724-1.064 1.475 0 2.725.3173 3.752.952 1.045.6347 1.839 1.5027 2.38 2.604.541 1.1013.812 2.3427.812 3.724 0 .2053-.009.392-.028.56 0 .168-.009.2987-.028.392H118.18c.149 1.4187.644 2.4827 1.484 3.192.859.7093 1.829 1.064 2.912 1.064.971 0 1.773-.2147 2.408-.644.635-.448 1.139-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.389 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.867.308-2.576.924-.709.616-1.185 1.4373-1.428 2.464h7.924c-.037-.4853-.196-.9893-.476-1.512-.28-.5227-.709-.9613-1.288-1.316-.56-.3733-1.279-.56-2.156-.56zm16.262 12.6c-1.288 0-2.455-.3173-3.5-.952-1.027-.6533-1.848-1.5493-2.464-2.688-.597-1.1573-.896-2.4733-.896-3.948s.299-2.7813.896-3.92c.616-1.1387 1.437-2.0347 2.464-2.688 1.045-.6533 2.212-.98 3.5-.98 1.101 0 2.044.2427 2.828.728.803.4853 1.391 1.036 1.764 1.652h.168l-.168-1.988V9.952h2.996V30h-2.828v-1.904h-.168c-.373.616-.961 1.1667-1.764 1.652-.784.4667-1.727.7-2.828.7zm.448-2.772c.747 0 1.447-.196 2.1-.588.672-.392 1.204-.9427 1.596-1.652.411-.728.616-1.5867.616-2.576 0-.9893-.205-1.8387-.616-2.548-.392-.728-.924-1.288-1.596-1.68-.653-.392-1.353-.588-2.1-.588-.747 0-1.447.196-2.1.588-.653.392-1.185.952-1.596 1.68-.411.7093-.616 1.5587-.616 2.548 0 .9893.205 1.848.616 2.576.411.7093.943 1.26 1.596 1.652.653.392 1.353.588 2.1.588z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M198.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM213.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM241.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M186.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M165.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,15 @@
|
|||
<vector android:width="266dp" android:height="38dp" android:viewportWidth="266" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M3.14847 30V9.952h4.144l5.85203 15.26h.168l5.88-15.26h4.144V30h-3.024V18.66l.168-3.556h-.168L14.4605 30h-2.436L6.17247 15.104h-.168l.168 3.556V30h-3.024zM29.3992 13.62c-.56 0-1.0453-.196-1.456-.588-.392-.4107-.588-.896-.588-1.456 0-.56.196-1.036.588-1.428.4107-.392.896-.588 1.456-.588.56 0 1.036.196 1.428.588.4107.392.616.868.616 1.428 0 .56-.2053 1.0453-.616 1.456-.392.392-.868.588-1.428.588zM27.8872 30V15.72h3.024V30h-3.024zm8.4513-4.144v-7.504h-2.492V15.72h2.492v-4.032h3.024v4.032h3.5v2.632h-3.5v6.86c0 .7093.14 1.2507.42 1.624.2987.3733.7933.56 1.484.56.3547 0 .6533-.0467.896-.14.2613-.0933.5227-.224.784-.392v2.94c-.3173.1307-.6533.2333-1.008.308-.3547.0747-.7747.112-1.26.112-1.3253 0-2.38-.3827-3.164-1.148-.784-.784-1.176-1.8573-1.176-3.22z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M94.5289 9.34665v8.16615h5.036c1.2001 0 2.1921-.4032 2.9761-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.9761-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.0084V6.47218h7.9788c2.0277 0 3.7487.67569 5.1667 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.1667 1.9916h-4.9704v.0018zM109.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM137.463 13.8543l-10.04 23.0611h-3.105l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M82.3729 18.3452c0-.9463-.0803-1.8591-.2317-2.7326H69.4536v5.1759h7.2669c-.3121 1.6872-1.2557 3.1227-2.687 4.084v3.3616h4.3369c2.5394-2.3406 4.0025-5.7993 4.0025-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M69.4536 31.4782c3.6307 0 6.6876-1.1909 8.9168-3.2441l-4.3369-3.3616c-1.2071.8119-2.7618 1.286-4.5799 1.286-3.5092 0-6.4877-2.363-7.5527-5.5473h-4.4678v3.4624c2.2143 4.3901 6.7642 7.4046 12.0205 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M61.9009 20.6111c-.2728-.8119-.4222-1.678-.4222-2.572 0-.8941.1494-1.7602.4222-2.5721v-3.4625h-4.4677C56.5176 13.8188 56 15.8683 56 18.0391c0 2.1707.5176 4.2204 1.4332 6.0345l4.4677-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M69.4536 9.91964c1.9826 0 3.7596.68126 5.161 2.01586v.0019l3.8399-3.83577c-2.3319-2.16891-5.3721-3.50162-9.0009-3.50162-5.2563 0-9.8062 3.01446-12.0205 7.40459l4.4678 3.4624c1.065-3.1843 4.0435-5.54736 7.5527-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
<path android:pathData="M155.972 30.448c-1.717 0-3.089-.3733-4.116-1.12-1.027-.7653-1.736-1.6707-2.128-2.716l2.716-1.176c.336.7653.821 1.3533 1.456 1.764.635.392 1.353.588 2.156.588.747 0 1.391-.1307 1.932-.392.541-.28.812-.728.812-1.344 0-.5973-.271-1.036-.812-1.316s-1.213-.5227-2.016-.728l-1.708-.392c-.691-.168-1.335-.4293-1.932-.784s-1.083-.812-1.456-1.372c-.373-.5787-.56-1.2507-.56-2.016 0-.84.252-1.568.756-2.184.504-.6347 1.167-1.12 1.988-1.456.84-.3547 1.745-.532 2.716-.532 1.325 0 2.483.2613 3.472.784 1.008.504 1.745 1.2693 2.212 2.296l-2.604 1.176c-.336-.6347-.775-1.0733-1.316-1.316-.523-.2613-1.101-.392-1.736-.392-.709 0-1.307.1493-1.792.448-.467.2987-.7.672-.7 1.12 0 .4853.205.868.616 1.148.429.28.952.504 1.568.672l2.072.504c1.419.3547 2.483.896 3.192 1.624.709.7093 1.064 1.5773 1.064 2.604 0 .9147-.261 1.7173-.784 2.408-.523.672-1.232 1.1947-2.128 1.568-.877.3547-1.857.532-2.94.532zm8.627 5.6V15.72h2.828v1.932h.168c.373-.616.952-1.1667 1.736-1.652.802-.4853 1.754-.728 2.856-.728 1.306 0 2.473.3267 3.5.98 1.026.6533 1.838 1.5493 2.436 2.688.616 1.1387.924 2.4453.924 3.92s-.308 2.7907-.924 3.948c-.598 1.1387-1.41 2.0347-2.436 2.688-1.027.6347-2.194.952-3.5.952-1.102 0-2.054-.2333-2.856-.7-.784-.4853-1.363-1.036-1.736-1.652h-.168l.168 1.988v5.964h-2.996zm7.14-8.372c.746 0 1.446-.196 2.1-.588.653-.392 1.185-.9427 1.596-1.652.41-.728.616-1.5867.616-2.576 0-.9893-.206-1.8387-.616-2.548-.411-.728-.943-1.288-1.596-1.68-.654-.392-1.354-.588-2.1-.588-.747 0-1.447.196-2.1.588-.654.392-1.186.952-1.596 1.68-.411.7093-.616 1.5587-.616 2.548 0 .9893.205 1.848.616 2.576.41.7093.942 1.26 1.596 1.652.653.392 1.353.588 2.1.588zm16.911 2.772c-1.4 0-2.651-.3267-3.752-.98-1.102-.6533-1.97-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.298-2.6227.896-3.78.597-1.1573 1.428-2.0813 2.492-2.772 1.082-.7093 2.324-1.064 3.724-1.064 1.474 0 2.725.3173 3.752.952 1.045.6347 1.838 1.5027 2.38 2.604.541 1.1013.812 2.3427.812 3.724 0 .2053-.01.392-.028.56 0 .168-.01.2987-.028.392h-11.032c.149 1.4187.644 2.4827 1.484 3.192.858.7093 1.829 1.064 2.912 1.064.97 0 1.773-.2147 2.408-.644.634-.448 1.138-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.39 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.867.308-2.576.924-.71.616-1.186 1.4373-1.428 2.464h7.924c-.038-.4853-.196-.9893-.476-1.512-.28-.5227-.71-.9613-1.288-1.316-.56-.3733-1.279-.56-2.156-.56zM198.531 30V15.72h2.856v1.96h.168c.411-.6907 1.018-1.26 1.82-1.708.822-.4667 1.718-.7 2.688-.7 1.755 0 3.071.5227 3.948 1.568.878 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.289-1.9973-.868-2.52-.578-.5413-1.334-.812-2.268-.812-.728 0-1.362.2053-1.904.616-.541.392-.97.9147-1.288 1.568-.298.6533-.448 1.3533-.448 2.1V30h-3.024zm22.646.448c-1.288 0-2.454-.3173-3.5-.952-1.026-.6533-1.848-1.5493-2.464-2.688-.597-1.1573-.896-2.4733-.896-3.948s.299-2.7813.896-3.92c.616-1.1387 1.438-2.0347 2.464-2.688 1.046-.6533 2.212-.98 3.5-.98 1.102 0 2.044.2427 2.828.728.803.4853 1.391 1.036 1.764 1.652h.168l-.168-1.988V9.952h2.996V30h-2.828v-1.904h-.168c-.373.616-.961 1.1667-1.764 1.652-.784.4667-1.726.7-2.828.7zm.448-2.772c.747 0 1.447-.196 2.1-.588.672-.392 1.204-.9427 1.596-1.652.411-.728.616-1.5867.616-2.576 0-.9893-.205-1.8387-.616-2.548-.392-.728-.924-1.288-1.596-1.68-.653-.392-1.353-.588-2.1-.588-.746 0-1.446.196-2.1.588-.653.392-1.185.952-1.596 1.68-.41.7093-.616 1.5587-.616 2.548 0 .9893.206 1.848.616 2.576.411.7093.943 1.26 1.596 1.652.654.392 1.354.588 2.1.588zm17.39 2.772c-1.4 0-2.651-.3267-3.752-.98-1.102-.6533-1.97-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.298-2.6227.896-3.78.597-1.1573 1.428-2.0813 2.492-2.772 1.082-.7093 2.324-1.064 3.724-1.064 1.474 0 2.725.3173 3.752.952 1.045.6347 1.838 1.5027 2.38 2.604.541 1.1013.812 2.3427.812 3.724 0 .2053-.01.392-.028.56 0 .168-.01.2987-.028.392h-11.032c.149 1.4187.644 2.4827 1.484 3.192.858.7093 1.829 1.064 2.912 1.064.97 0 1.773-.2147 2.408-.644.634-.448 1.138-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.39 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.867.308-2.576.924-.71.616-1.186 1.4373-1.428 2.464h7.924c-.038-.4853-.196-.9893-.476-1.512-.28-.5227-.71-.9613-1.288-1.316-.56-.3733-1.279-.56-2.156-.56zM248.896 30V15.72h2.856v1.96h.168c.411-.6907 1.017-1.26 1.82-1.708.821-.4667 1.717-.7 2.688-.7 1.755 0 3.071.5227 3.948 1.568.877 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.289-1.9973-.868-2.52-.579-.5413-1.335-.812-2.268-.812-.728 0-1.363.2053-1.904.616-.541.392-.971.9147-1.288 1.568-.299.6533-.448 1.3533-.448 2.1V30h-3.024z" android:fillColor="#ffffff"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="232dp" android:height="38dp" android:viewportWidth="232" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M3.85629 30V9.952h6.41201c2.1093 0 3.92.4293 5.432 1.288 1.5307.84 2.7067 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8213 1.4933-1.9973 2.6693-3.528 3.528-1.512.84-3.3227 1.26-5.432 1.26H3.85629zm3.08-2.912h3.24801c2.2773 0 4.0413-.6347 5.292-1.904 1.2693-1.2693 1.904-3.0053 1.904-5.208s-.6347-3.9387-1.904-5.208c-1.2507-1.2693-3.0147-1.904-5.292-1.904H6.93629v14.224zm23.17821 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9974-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6346-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6346 1.1387.952 2.4173.952 3.836 0 1.4373-.3174 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5214.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6906.3733 1.428.56 2.212.56zM40.3742 30V15.72h2.856v1.96h.168c.4106-.6907 1.0173-1.26 1.82-1.708.8213-.4667 1.7173-.7 2.688-.7 1.7546 0 3.0706.5227 3.948 1.568.8773 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2894-1.9973-.868-2.52-.5787-.5413-1.3347-.812-2.268-.812-.728 0-1.3627.2053-1.904.616-.5414.392-.9707.9147-1.288 1.568-.2987.6533-.448 1.3533-.448 2.1V30h-3.024zm20.8854.448c-1.0266 0-1.9413-.196-2.744-.588-.8026-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2614-1.8667.784-2.576.5414-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8854-.56 2.968-.56.896 0 1.68.084 2.352.252.6907.168 1.2134.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4186.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3733.5787-.9333 1.092-1.68 1.54-.7466.448-1.6426.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5974-.3733 1.064-.8587 1.4-1.456.3547-.616.532-1.2787.532-1.988-.4293-.2427-.9333-.4387-1.512-.588-.5786-.168-1.1946-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5226.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zM72.3648 30V15.72h2.856v2.1h.168c.3173-.728.8587-1.3253 1.624-1.792.784-.4853 1.624-.728 2.52-.728.392 0 .7187.028.98.084.28.056.532.1213.756.196v3.136c-.3547-.1493-.7187-.2707-1.092-.364-.3547-.0933-.728-.14-1.12-.14-.7093 0-1.344.196-1.904.588-.5413.3733-.9707.8867-1.288 1.54-.3173.6347-.476 1.3347-.476 2.1V30h-3.024zm24.9814.448c-1.4373 0-2.7066-.3267-3.808-.98-1.1013-.6533-1.9693-1.5493-2.604-2.688-.6346-1.1573-.952-2.464-.952-3.92s.3174-2.7533.952-3.892c.6347-1.1573 1.5027-2.0627 2.604-2.716 1.1014-.6533 2.3707-.98 3.808-.98 1.5867 0 2.9218.3547 4.0038 1.064 1.102.7093 1.886 1.6707 2.352 2.884l-2.744 1.12c-.653-1.5307-1.8758-2.296-3.6678-2.296-.784 0-1.5026.2053-2.156.616-.6533.392-1.176.952-1.568 1.68-.392.7093-.588 1.5493-.588 2.52 0 .9707.196 1.82.588 2.548.392.728.9147 1.288 1.568 1.68.6534.392 1.372.588 2.156.588.9147 0 1.6894-.2053 2.324-.616.6348-.4293 1.1298-1.008 1.4838-1.736l2.688 1.176c-.504 1.1387-1.306 2.0813-2.408 2.828-1.101.7467-2.4451 1.12-4.0318 1.12zm15.9158 0c-1.475 0-2.772-.336-3.892-1.008-1.12-.672-1.997-1.5773-2.632-2.716-.635-1.1387-.952-2.4267-.952-3.864 0-1.4187.317-2.6973.952-3.836.635-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.417-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.997 1.5867 2.632 2.744.635 1.1387.952 2.4173.952 3.836 0 1.4373-.317 2.7253-.952 3.864s-1.512 2.044-2.632 2.716c-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.213-.9427 1.624-1.652.429-.728.644-1.596.644-2.604s-.215-1.8667-.644-2.576c-.411-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.521.196-2.212.588-.672.3733-1.223.924-1.652 1.652-.411.7093-.616 1.568-.616 2.576s.205 1.876.616 2.604c.429.7093.98 1.26 1.652 1.652.691.3733 1.428.56 2.212.56zM123.522 30V15.72h2.856v1.96h.168c.41-.6907 1.017-1.26 1.82-1.708.821-.4667 1.717-.7 2.688-.7 1.754 0 3.07.5227 3.948 1.568.877 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.29-1.9973-.868-2.52-.579-.5413-1.335-.812-2.268-.812-.728 0-1.363.2053-1.904.616-.542.392-.971.9147-1.288 1.568-.299.6533-.448 1.3533-.448 2.1V30h-3.024z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M188.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM203.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM231.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M176.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M163.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M155.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M163.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="248dp" android:height="38dp" android:viewportWidth="248" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M1.49344 30l7.56-20.048h3.49996L20.1414 30h-3.388l-1.848-5.152H6.72944L4.88144 30h-3.388zm8.484-14.14l-2.212 6.132h6.10396l-2.212-6.132-.756-2.296h-.168l-.75596 2.296zM22.6335 30V15.72h2.856v1.96h.168c.4107-.6907 1.0174-1.26 1.82-1.708.8214-.4667 1.7174-.7 2.688-.7 1.7547 0 3.0707.5227 3.948 1.568.8774 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2893-1.9973-.868-2.52-.5786-.5413-1.3346-.812-2.268-.812-.728 0-1.3626.2053-1.904.616-.5413.392-.9706.9147-1.288 1.568-.2986.6533-.448 1.3533-.448 2.1V30h-3.024zm16.5422 0V15.72h2.856v1.96h.168c.4107-.6907 1.0174-1.26 1.82-1.708.8214-.4667 1.7174-.7 2.688-.7 1.7547 0 3.0707.5227 3.948 1.568.8774 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2893-1.9973-.868-2.52-.5786-.5413-1.3346-.812-2.268-.812-.728 0-1.3626.2053-1.904.616-.5413.392-.9706.9147-1.288 1.568-.2986.6533-.448 1.3533-.448 2.1V30h-3.024zm23.0662.448c-1.4 0-2.6507-.3267-3.752-.98-1.1013-.6533-1.9693-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.2987-2.6227.896-3.78.5973-1.1573 1.428-2.0813 2.492-2.772 1.0827-.7093 2.324-1.064 3.724-1.064 1.4747 0 2.7253.3173 3.752.952 1.0453.6347 1.8387 1.5027 2.38 2.604.5413 1.1013.812 2.3427.812 3.724 0 .2053-.0093.392-.028.56 0 .168-.0093.2987-.028.392h-11.032c.1493 1.4187.644 2.4827 1.484 3.192.8587.7093 1.8293 1.064 2.912 1.064.9707 0 1.7733-.2147 2.408-.644.6347-.448 1.1387-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.3893 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.8667.308-2.576.924-.7093.616-1.1853 1.4373-1.428 2.464h7.924c-.0373-.4853-.196-.9893-.476-1.512-.28-.5227-.7093-.9613-1.288-1.316-.56-.3733-1.2787-.56-2.156-.56zm11.1233 8.008v-7.504h-2.492V15.72h2.492v-4.032h3.024v4.032h3.5v2.632h-3.5v6.86c0 .7093.14 1.2507.42 1.624.2987.3733.7934.56 1.484.56.3547 0 .6534-.0467.896-.14.2614-.0933.5227-.224.784-.392v2.94c-.3173.1307-.6533.2333-1.008.308-.3546.0747-.7746.112-1.26.112-1.3253 0-2.38-.3827-3.164-1.148-.784-.784-1.176-1.8573-1.176-3.22zm13.9321 4.592c-1.0267 0-1.9413-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6907.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3733.5787-.9333 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3547-.616.532-1.2787.532-1.988-.4293-.2427-.9333-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zm16.8767 8.512c-1.251 0-2.334-.2053-3.248-.616-.896-.392-1.6243-.9053-2.1843-1.54-.56-.616-.9613-1.2507-1.204-1.904l2.8003-1.176c.298.7467.774 1.3533 1.428 1.82.672.4853 1.474.728 2.408.728 1.306 0 2.333-.392 3.08-1.176.765-.784 1.148-1.8947 1.148-3.332v-1.372h-.168c-.448.672-1.074 1.2133-1.876 1.624-.784.392-1.68.588-2.688.588-1.214 0-2.324-.308-3.332-.924-1.0083-.616-1.8203-1.4747-2.4363-2.576-.616-1.12-.924-2.4267-.924-3.92 0-1.512.308-2.8187.924-3.92.616-1.12 1.428-1.988 2.4363-2.604 1.008-.616 2.118-.924 3.332-.924 1.008 0 1.904.2053 2.688.616.802.4107 1.428.952 1.876 1.624h.168V15.72h2.884v13.524c0 1.5493-.308 2.8653-.924 3.948-.598 1.0827-1.428 1.904-2.492 2.464s-2.296.84-3.696.84zm.028-9.1c.746 0 1.437-.1773 2.072-.532.634-.3733 1.148-.9053 1.54-1.596.392-.7093.588-1.5587.588-2.548 0-1.0267-.196-1.8853-.588-2.576-.392-.7093-.906-1.2413-1.54-1.596-.635-.3547-1.326-.532-2.072-.532-.747 0-1.447.1867-2.1.56-.635.3547-1.148.8773-1.54 1.568-.392.6907-.588 1.5493-.588 2.576 0 1.008.196 1.8667.588 2.576.392.6907.905 1.2133 1.54 1.568.653.3547 1.353.532 2.1.532zm17.309 3.052c-1.4 0-2.651-.3267-3.752-.98s-1.969-1.5493-2.604-2.688c-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.299-2.6227.896-3.78.597-1.1573 1.428-2.0813 2.492-2.772 1.083-.7093 2.324-1.064 3.724-1.064 1.475 0 2.725.3173 3.752.952 1.045.6347 1.839 1.5027 2.38 2.604.541 1.1013.812 2.3427.812 3.724 0 .2053-.009.392-.028.56 0 .168-.009.2987-.028.392h-11.032c.149 1.4187.644 2.4827 1.484 3.192.859.7093 1.829 1.064 2.912 1.064.971 0 1.773-.2147 2.408-.644.635-.448 1.139-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.389 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.867.308-2.576.924-.709.616-1.185 1.4373-1.428 2.464h7.924c-.037-.4853-.196-.9893-.476-1.512-.28-.5227-.709-.9613-1.288-1.316-.56-.3733-1.279-.56-2.156-.56zm16.828 4.76v-2.576h13.664v2.576h-13.664z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M204.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM219.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM247.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M192.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M179.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M171.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M179.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,15 @@
|
|||
<vector android:width="242dp" android:height="38dp" android:viewportWidth="242" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M3.3555 30V9.952h3.08v17.136h8.624V30H3.3555zm19.1237.448c-1.0267 0-1.9414-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6906.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6534.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0266-.504 2.1466-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3734.5787-.9334 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4746-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3546-.616.532-1.2787.532-1.988-.4294-.2427-.9334-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1094.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zM33.5843 30V9.952h3.024v5.488l-.168 2.24h.168c.392-.6907.9893-1.26 1.792-1.708.8213-.4667 1.7267-.7 2.716-.7 1.7733 0 3.108.532 4.004 1.596.896 1.0453 1.344 2.4173 1.344 4.116V30h-2.996v-8.624c0-1.1573-.308-1.9973-.924-2.52-.5973-.5413-1.3347-.812-2.212-.812-.728 0-1.372.2053-1.932.616-.56.4107-.9987.952-1.316 1.624-.3173.6533-.476 1.3533-.476 2.1V30h-3.024zm18.3602-16.38c-.56 0-1.0453-.196-1.456-.588-.392-.4107-.588-.896-.588-1.456 0-.56.196-1.036.588-1.428.4107-.392.896-.588 1.456-.588.56 0 1.036.196 1.428.588.4107.392.616.868.616 1.428 0 .56-.2053 1.0453-.616 1.456-.392.392-.868.588-1.428.588zm-2.716 22.708c-.5786 0-1.1013-.0653-1.568-.196V33.22c.1867.112.4014.196.644.252.224.0747.448.112.672.112.5414 0 .9147-.168 1.12-.504.224-.3173.336-.784.336-1.4V15.72h3.024v15.988c0 1.6427-.4013 2.8187-1.204 3.528-.8026.728-1.8106 1.092-3.024 1.092zm14.8633-5.88c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM76.0875 13.62c-.56 0-1.0453-.196-1.456-.588-.392-.4107-.588-.896-.588-1.456 0-.56.196-1.036.588-1.428.4107-.392.896-.588 1.456-.588.56 0 1.036.196 1.428.588.4107.392.616.868.616 1.428 0 .56-.2053 1.0453-.616 1.456-.392.392-.868.588-1.428.588zM74.5755 30V15.72h3.024V30h-3.024zm8.4513-4.144v-7.504h-2.492V15.72h2.492v-4.032h3.024v4.032h3.5v2.632h-3.5v6.86c0 .7093.14 1.2507.42 1.624.2987.3733.7933.56 1.484.56.3547 0 .6533-.0467.896-.14.2613-.0933.5227-.224.784-.392v2.94c-.3173.1307-.6533.2333-1.008.308-.3547.0747-.7747.112-1.26.112-1.3253 0-2.38-.3827-3.164-1.148-.784-.784-1.176-1.8573-1.176-3.22zm13.932 4.592c-1.0266 0-1.9413-.196-2.744-.588-.8026-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2614-1.8667.784-2.576.5414-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8854-.56 2.968-.56.896 0 1.68.084 2.352.252.6912.168 1.2132.3453 1.5682.532V20.9c0-.9333-.336-1.68-1.008-2.24-.6722-.56-1.5402-.84-2.6042-.84-.728 0-1.4186.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.0722 0 3.6682.5133 4.7882 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.373.5787-.933 1.092-1.6802 1.54-.7466.448-1.6426.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5972-.3733 1.0642-.8587 1.4002-1.456.355-.616.532-1.2787.532-1.988-.429-.2427-.933-.4387-1.5122-.588-.5786-.168-1.1946-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5226.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M156.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM171.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM199.463 13.8543l-10.04 23.0611h-3.105l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M144.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M131.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M123.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M131.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
<path android:pathData="M212.792 30V9.952h3.024V30h-3.024zm6.917 0V9.952h3.024V30h-3.024zm11.233.448c-1.027 0-1.942-.196-2.744-.588-.803-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.261-1.8667.784-2.576.541-.728 1.26-1.2787 2.156-1.652.896-.3733 1.885-.56 2.968-.56.896 0 1.68.084 2.352.252.69.168 1.213.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.419.168-2.072.504-.654.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.026-.504 2.146-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.374.5787-.934 1.092-1.68 1.54-.747.448-1.643.672-2.688.672zm.532-2.464c.784 0 1.474-.1867 2.072-.56.597-.3733 1.064-.8587 1.4-1.456.354-.616.532-1.2787.532-1.988-.43-.2427-.934-.4387-1.512-.588-.579-.168-1.195-.252-1.848-.252-1.232 0-2.11.252-2.632.756-.523.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644z" android:fillColor="#ffffff"/>
|
||||
</vector>
|
Po Szerokość: | Wysokość: | Rozmiar: 979 B |
Po Szerokość: | Wysokość: | Rozmiar: 282 B |
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="220dp" android:height="38dp" android:viewportWidth="220" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M3.39456 30V9.952h6.412c2.10934 0 3.92004.4293 5.43204 1.288 1.5306.84 2.7066 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8214 1.4933-1.9974 2.6693-3.528 3.528-1.512.84-3.3227 1.26-5.43204 1.26h-6.412zm3.08-2.912h3.248c2.27734 0 4.04134-.6347 5.29204-1.904 1.2693-1.2693 1.904-3.0053 1.904-5.208s-.6347-3.9387-1.904-5.208c-1.2507-1.2693-3.0147-1.904-5.29204-1.904h-3.248v14.224zm23.17824 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9974-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6346-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6346 1.1387.952 2.4173.952 3.836 0 1.4373-.3174 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5214.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6906.3733 1.428.56 2.212.56zM39.9124 30V15.72h2.856v1.96h.168c.4107-.6907 1.0174-1.26 1.82-1.708.8214-.4667 1.7174-.7 2.688-.7 1.7547 0 3.0707.5227 3.948 1.568.8774 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2893-1.9973-.868-2.52-.5786-.5413-1.3346-.812-2.268-.812-.728 0-1.3626.2053-1.904.616-.5413.392-.9706.9147-1.288 1.568-.2986.6533-.448 1.3533-.448 2.1V30h-3.024zm20.8855.448c-1.0267 0-1.9413-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6907.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3733.5787-.9333 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3547-.616.532-1.2787.532-1.988-.4293-.2427-.9333-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zm24.0163 2.464c-1.4373 0-2.7066-.3267-3.808-.98-1.1013-.6533-1.9693-1.5493-2.604-2.688-.6346-1.1573-.952-2.464-.952-3.92s.3174-2.7533.952-3.892c.6347-1.1573 1.5027-2.0627 2.604-2.716 1.1014-.6533 2.3707-.98 3.808-.98 1.5867 0 2.9214.3547 4.004 1.064 1.1014.7093 1.8854 1.6707 2.352 2.884l-2.744 1.12c-.6533-1.5307-1.876-2.296-3.668-2.296-.784 0-1.5026.2053-2.156.616-.6533.392-1.176.952-1.568 1.68-.392.7093-.588 1.5493-.588 2.52 0 .9707.196 1.82.588 2.548.392.728.9147 1.288 1.568 1.68.6534.392 1.372.588 2.156.588.9147 0 1.6894-.2053 2.324-.616.6347-.4293 1.1294-1.008 1.484-1.736l2.688 1.176c-.504 1.1387-1.3066 2.0813-2.408 2.828-1.1013.7467-2.4453 1.12-4.032 1.12zm15.9158 0c-1.4745 0-2.7719-.336-3.8919-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6346-1.1387-.952-2.4267-.952-3.864 0-1.4187.3174-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4174-1.008 3.8919-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.997 1.5867 2.632 2.744.635 1.1387.952 2.4173.952 3.836 0 1.4373-.317 2.7253-.952 3.864s-1.512 2.044-2.632 2.716c-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.213-.9427 1.624-1.652.429-.728.644-1.596.644-2.604s-.215-1.8667-.644-2.576c-.411-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5212.196-2.2119.588-.672.3733-1.2226.924-1.652 1.652-.4106.7093-.616 1.568-.616 2.576s.2054 1.876.616 2.604c.4294.7093.98 1.26 1.652 1.652.6907.3733 1.4279.56 2.2119.56zM111.522 30V15.72h2.856v1.96h.168c.41-.6907 1.017-1.26 1.82-1.708.821-.4667 1.717-.7 2.688-.7 1.754 0 3.07.5227 3.948 1.568.877 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.29-1.9973-.868-2.52-.579-.5413-1.335-.812-2.268-.812-.728 0-1.363.2053-1.904.616-.542.392-.971.9147-1.288 1.568-.299.6533-.448 1.3533-.448 2.1V30h-3.024z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M176.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM191.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM219.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M164.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M151.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M143.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M151.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="236dp" android:height="38dp" android:viewportWidth="236" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M38.5289 9.34665v8.16615h5.036c1.1996 0 2.1916-.4032 2.9764-1.2096.8054-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.4036-2.0364-1.209-2.8428-.7848-.82684-1.7768-1.24121-2.9764-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.0084V6.47218h7.9788c2.0276 0 3.7485.67569 5.1666 2.0252 1.439 1.3495 2.1582 2.99392 2.1582 4.93142 0 1.9822-.7194 3.6379-2.1582 4.965-1.3958 1.3289-3.1186 1.9916-5.1666 1.9916h-4.9704v.0018zM53.8642 24.9602c0 .784.3326 1.4373.998 1.9599.665.5226 1.4442.7839 2.3376.7839 1.2648 0 2.3915-.4686 3.3837-1.4036.9924-.937 1.4874-2.0364 1.4874-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.2218 0-2.2402.295-3.0568.8829-.8167.5878-1.2259 1.3141-1.2259 2.1857zm3.8922-11.6285c2.2236 0 3.9782.5936 5.2658 1.7807 1.2856 1.1871 1.9282 2.8147 1.9282 4.8828v9.8647H62.073v-2.2212h-.131c-1.2426 1.829-2.9 2.7438-4.9702 2.7438-1.7658 0-3.2439-.5226-4.4306-1.5679-1.1882-1.0452-1.7824-2.3518-1.7824-3.9197 0-1.6556.6258-2.9717 1.8796-3.9515 1.2538-.9799 2.9264-1.4708 5.0192-1.4708 1.7861 0 3.2586.3267 4.4133.9799v-.6868c0-1.0453-.4148-1.9319-1.2424-2.6617-.8298-.7298-1.7977-1.0938-2.9095-1.0938-1.6799 0-3.0082.7074-3.9892 2.1241l-2.6499-1.6668c1.4613-2.0905 3.6195-3.1358 6.4765-3.1358zM81.4629 13.8543L71.4233 36.9154h-3.1058l3.728-8.069-6.6056-14.9921h3.27l4.7742 11.4979h.0654l4.6434-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M26.3729 18.3452c0-.9463-.0803-1.8591-.2317-2.7326H13.4536v5.1759h7.2669c-.3121 1.6872-1.2557 3.1227-2.687 4.084v3.3616h4.3369c2.5394-2.3406 4.0025-5.7993 4.0025-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M13.4536 31.4782c3.6307 0 6.6876-1.1909 8.9168-3.2441l-4.3369-3.3616c-1.2071.8119-2.7618 1.286-4.5799 1.286-3.50915 0-6.48766-2.363-7.55274-5.5473H1.43311v3.4624c2.21425 4.3901 6.76422 7.4046 12.02049 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M5.90095 20.6111c-.27281-.8119-.4223-1.678-.4223-2.572 0-.8941.14949-1.7602.4223-2.5721v-3.4625H1.43319C.517594 13.8188 0 15.8683 0 18.0391c0 2.1707.517594 4.2204 1.43319 6.0345l4.46776-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M13.4536 9.91964c1.9826 0 3.7596.68126 5.161 2.01586v.0019l3.8399-3.83577c-2.3319-2.16891-5.3721-3.50162-9.0009-3.50162-5.25627 0-9.80624 3.01446-12.02049 7.40459l4.46775 3.4624c1.06508-3.1843 4.04359-5.54736 7.55274-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
<path android:pathData="M95.212 11.576l.252 2.436c3.024-.644 10.164-1.316 13.16-1.652-2.576 1.54-5.236 5.096-5.236 9.464 0 6.244 5.908 9.016 11.088 9.212l.812-2.324c-4.564-.168-9.66-1.904-9.66-7.364 0-3.332 2.436-7.588 6.412-8.876 1.428-.42 3.892-.448 5.488-.448v-2.24c-1.876.084-4.508.252-7.56.504-5.152.42-10.444.952-12.264 1.148-.532.056-1.428.112-2.492.14zm18.284 3.892l-1.428.616c.84 1.148 1.652 2.604 2.296 3.948l1.428-.672c-.588-1.232-1.652-2.968-2.296-3.892zm3.052-1.176l-1.372.644c.868 1.176 1.68 2.548 2.352 3.92l1.456-.7c-.644-1.232-1.764-2.94-2.436-3.864zm8.84-3.668h19.768v3.108h1.988V8.804H136.28v-2.24h-2.044v2.24h-10.78v4.928h1.932v-3.108zm10.248 14.14v2.856h-7.056v-2.856h7.056zm1.932 4.48V23.14H126.62v7.504h1.96v-1.4h8.988zm10.052-9.716h-4.172l.84-1.176c-2.1-1.12-5.908-2.492-9.072-3.304l.252-.504h8.68v-1.68H136c.14-.588.224-1.204.308-1.876h-1.932c-.084.7-.196 1.316-.336 1.876h-7.588v1.68h6.86c-1.148 1.82-3.388 2.828-7.98 3.444.336.364.812 1.092.952 1.54 4.088-.616 6.524-1.568 7.98-3.136 2.884.784 6.244 2.044 8.344 3.136h-19.6v1.876h18.508v8.344c0 .392-.084.476-.532.532-.476 0-2.016 0-3.696-.056.224.56.532 1.344.644 1.876 2.156 0 3.612.028 4.508-.28.896-.308 1.148-.868 1.148-2.016v-8.4h4.032v-1.876zM157.888 6.76c-1.596 4.34-4.256 8.596-7.112 11.312.392.476 1.036 1.568 1.288 2.044.952-.98 1.932-2.128 2.828-3.388v15.344h2.072V13.508c1.148-1.932 2.128-4.004 2.968-6.104l-2.044-.644zm18.34 6.02h-3.556V6.9h-2.1v5.88h-11.284v2.072h11.284V29.3c0 .644-.252.812-.868.868-.672.028-2.968.028-5.32-.056.308.56.7 1.512.812 2.044 3.024.028 4.9 0 5.992-.336 1.036-.308 1.484-.952 1.484-2.52V14.852h3.556V12.78zm-9.184 11.788c-.896-1.708-2.744-4.62-4.2-6.776l-1.792.84c1.428 2.24 3.22 5.236 4.06 6.972l1.932-1.036zm28.412-16.744h-2.548c.028.224.14 1.036.168 1.764.028.392.056 1.064.056 1.848-4.172.056-9.436.224-12.544.28l.056 2.156c3.5-.252 8.26-.448 12.516-.476.028.98.028 1.988.028 2.828-.56-.196-1.176-.308-1.876-.308-2.66 0-4.928 2.1-4.928 4.872 0 3.052 2.24 4.676 4.592 4.676.952 0 1.764-.252 2.436-.756-1.12 2.548-3.696 4.116-7.42 4.956l1.876 1.848c6.524-1.96 8.372-6.16 8.372-9.94 0-1.4-.308-2.632-.896-3.584-.028-1.288-.056-3.024-.056-4.62h.392c4.088 0 6.636.056 8.204.14l.028-2.072c-1.344 0-4.788-.028-8.204-.028h-.42c0-.756.028-1.4.028-1.82.028-.364.084-1.456.14-1.764zm-6.972 12.936c0-1.82 1.372-2.968 2.828-2.968 1.092 0 2.044.532 2.492 1.764.252 2.66-.812 3.976-2.464 3.976-1.568 0-2.856-1.036-2.856-2.772zm27.964 6.3c0-.98.98-1.792 2.24-1.792 2.128 0 3.528 1.596 3.752 3.808-.7.112-1.456.168-2.268.168-2.184 0-3.724-.84-3.724-2.184zm-3.584-17.696l.084 2.324c.588-.084 1.232-.14 1.848-.168 1.484-.084 7.084-.336 8.568-.392-1.428 1.26-4.928 4.2-6.496 5.488-1.624 1.372-5.208 4.368-7.532 6.272l1.596 1.652c3.556-3.612 6.048-5.6 10.724-5.6 3.64 0 6.272 2.072 6.272 4.816 0 2.296-1.26 3.92-3.5 4.788-.336-2.66-2.212-4.956-5.712-4.956-2.604 0-4.312 1.708-4.312 3.64 0 2.324 2.324 3.976 6.132 3.976 5.936 0 9.632-2.912 9.632-7.42 0-3.78-3.332-6.58-7.98-6.58-1.26 0-2.604.14-3.892.588 2.184-1.82 5.992-5.068 7.392-6.132.504-.42 1.064-.784 1.568-1.148l-1.288-1.624c-.28.084-.672.168-1.512.224-1.484.14-8.148.364-9.604.364-.56 0-1.344-.028-1.988-.112z" android:fillColor="#ffffff"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="180dp" android:height="38dp" android:viewportWidth="180" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M38.5289 9.34665v8.16615h5.036c1.1996 0 2.1916-.4032 2.9764-1.2096.8054-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.4036-2.0364-1.209-2.8428-.7848-.82684-1.7768-1.24121-2.9764-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.0084V6.47218h7.9788c2.0276 0 3.7485.67569 5.1666 2.0252 1.439 1.3495 2.1582 2.99392 2.1582 4.93142 0 1.9822-.7194 3.6379-2.1582 4.965-1.3958 1.3289-3.1186 1.9916-5.1666 1.9916h-4.9704v.0018zM53.8642 24.9602c0 .784.3326 1.4373.998 1.9599.665.5226 1.4442.7839 2.3376.7839 1.2648 0 2.3915-.4686 3.3837-1.4036.9924-.937 1.4874-2.0364 1.4874-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.2218 0-2.2402.295-3.0568.8829-.8167.5878-1.2259 1.3141-1.2259 2.1857zm3.8922-11.6285c2.2236 0 3.9782.5936 5.2658 1.7807 1.2856 1.1871 1.9282 2.8147 1.9282 4.8828v9.8647H62.073v-2.2212h-.131c-1.2426 1.829-2.9 2.7438-4.9702 2.7438-1.7658 0-3.2439-.5226-4.4306-1.5679-1.1882-1.0452-1.7824-2.3518-1.7824-3.9197 0-1.6556.6258-2.9717 1.8796-3.9515 1.2538-.9799 2.9264-1.4708 5.0192-1.4708 1.7861 0 3.2586.3267 4.4133.9799v-.6868c0-1.0453-.4148-1.9319-1.2424-2.6617-.8298-.7298-1.7977-1.0938-2.9095-1.0938-1.6799 0-3.0082.7074-3.9892 2.1241l-2.6499-1.6668c1.4613-2.0905 3.6195-3.1358 6.4765-3.1358zM81.4629 13.8543L71.4233 36.9154h-3.1058l3.728-8.069-6.6056-14.9921h3.27l4.7742 11.4979h.0654l4.6434-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M26.3729 18.3452c0-.9463-.0803-1.8591-.2317-2.7326H13.4536v5.1759h7.2669c-.3121 1.6872-1.2557 3.1227-2.687 4.084v3.3616h4.3369c2.5394-2.3406 4.0025-5.7993 4.0025-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M13.4536 31.4782c3.6307 0 6.6876-1.1909 8.9168-3.2441l-4.3369-3.3616c-1.2071.8119-2.7618 1.286-4.5799 1.286-3.50915 0-6.48766-2.363-7.55274-5.5473H1.43311v3.4624c2.21425 4.3901 6.76422 7.4046 12.02049 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M5.90095 20.6111c-.27281-.8119-.4223-1.678-.4223-2.572 0-.8941.14949-1.7602.4223-2.5721v-3.4625H1.43319C.517594 13.8188 0 15.8683 0 18.0391c0 2.1707.517594 4.2204 1.43319 6.0345l4.46776-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M13.4536 9.91964c1.9826 0 3.7596.68126 5.161 2.01586v.0019l3.8399-3.83577c-2.3319-2.16891-5.3721-3.50162-9.0009-3.50162-5.25627 0-9.80624 3.01446-12.02049 7.40459l4.46775 3.4624c1.06508-3.1843 4.04359-5.54736 7.55274-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
<path android:pathData="M107 27.088v-4.732h8.036v-1.848H99.58v-4.06h14.868V8.804H97.256v1.876h14.952v3.92H97.312v7.756h7.364v4.732h-10.22v1.876h22.82v-1.876H107zm21.861-17.416v1.848h9.436c-.476 5.964-3.836 10.78-10.584 14l1.232 1.876c8.344-4.088 11.676-10.472 11.676-17.724h-11.76zm16.828-2.716v25.116h2.296V6.956h-2.296zm25.33 9.996h-12.46v-3.696h12.46v3.696zm2.296-8.988h-2.296v3.444h-12.46V7.964h-2.268v10.864h17.024V7.964zm2.884 13.888h-22.792V23.7h10.192v8.4h2.296v-8.4h10.304v-1.848z" android:fillColor="#ffffff"/>
|
||||
</vector>
|
Po Szerokość: | Wysokość: | Rozmiar: 439 B |
Po Szerokość: | Wysokość: | Rozmiar: 174 B |
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="242dp" android:height="38dp" android:viewportWidth="242" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M2.8641 30V9.952h6.412c2.1093 0 3.92.4293 5.432 1.288 1.5307.84 2.7067 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8213 1.4933-1.9973 2.6693-3.528 3.528-1.512.84-3.3227 1.26-5.432 1.26h-6.412zm3.08-2.912h3.248c2.2773 0 4.0413-.6347 5.292-1.904 1.2693-1.2693 1.904-3.0053 1.904-5.208s-.6347-3.9387-1.904-5.208c-1.2507-1.2693-3.0147-1.904-5.292-1.904h-3.248v14.224zm23.1782 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM39.382 30V15.72h2.856v1.96h.168c.4106-.6907 1.0173-1.26 1.82-1.708.8213-.4667 1.7173-.7 2.688-.7 1.7546 0 3.0706.5227 3.948 1.568.8773 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2894-1.9973-.868-2.52-.5787-.5413-1.3347-.812-2.268-.812-.728 0-1.3627.2053-1.904.616-.5414.392-.9707.9147-1.288 1.568-.2987.6533-.448 1.3533-.448 2.1V30h-3.024zm23.0662.448c-1.4 0-2.6507-.3267-3.752-.98-1.1014-.6533-1.9694-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.2986-2.6227.896-3.78.5973-1.1573 1.428-2.0813 2.492-2.772 1.0826-.7093 2.324-1.064 3.724-1.064 1.4746 0 2.7253.3173 3.752.952 1.0453.6347 1.8386 1.5027 2.38 2.604.5413 1.1013.812 2.3427.812 3.724 0 .2053-.0094.392-.028.56 0 .168-.0094.2987-.028.392h-11.032c.1493 1.4187.644 2.4827 1.484 3.192.8586.7093 1.8293 1.064 2.912 1.064.9706 0 1.7733-.2147 2.408-.644.6346-.448 1.1386-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.3894 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.8667.308-2.576.924-.7094.616-1.1854 1.4373-1.428 2.464h7.924c-.0374-.4853-.196-.9893-.476-1.512-.28-.5227-.7094-.9613-1.288-1.316-.56-.3733-1.2787-.56-2.156-.56zm-1.26-4.872l1.316-3.584h3.416l-2.24 3.584h-2.492zM72.3296 30V15.72h2.856v2.1h.168c.3174-.728.8587-1.3253 1.624-1.792.784-.4853 1.624-.728 2.52-.728.392 0 .7187.028.98.084.28.056.532.1213.756.196v3.136c-.3546-.1493-.7186-.2707-1.092-.364-.3546-.0933-.728-.14-1.12-.14-.7093 0-1.344.196-1.904.588-.5413.3733-.9706.8867-1.288 1.54-.3173.6347-.476 1.3347-.476 2.1V30h-3.024zm18.3735 0V15.72h2.856v1.96h.168c.4106-.6907 1.008-1.26 1.792-1.708.784-.4667 1.652-.7 2.604-.7 1.064 0 1.9689.252 2.7159.756.747.504 1.279 1.1387 1.596 1.904.467-.7467 1.101-1.372 1.904-1.876.803-.5227 1.783-.784 2.94-.784 1.68 0 2.931.5133 3.752 1.54.821 1.008 1.232 2.352 1.232 4.032V30h-2.996v-8.652c0-1.1387-.252-1.9693-.756-2.492-.485-.5413-1.167-.812-2.044-.812-.691 0-1.297.196-1.82.588-.523.3733-.933.8867-1.232 1.54-.28.6533-.42 1.3813-.42 2.184V30h-2.9959v-8.652c0-1.1387-.252-1.9693-.756-2.492-.504-.5413-1.2134-.812-2.128-.812-.672 0-1.26.196-1.764.588-.504.392-.9054.9147-1.204 1.568-.28.6533-.42 1.3813-.42 2.184V30h-3.024zm31.7889.448c-1.4 0-2.651-.3267-3.752-.98s-1.969-1.5493-2.604-2.688c-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.299-2.6227.896-3.78.597-1.1573 1.428-2.0813 2.492-2.772 1.083-.7093 2.324-1.064 3.724-1.064 1.475 0 2.725.3173 3.752.952 1.045.6347 1.839 1.5027 2.38 2.604.541 1.1013.812 2.3427.812 3.724 0 .2053-.009.392-.028.56 0 .168-.009.2987-.028.392H118.18c.149 1.4187.644 2.4827 1.484 3.192.859.7093 1.829 1.064 2.912 1.064.971 0 1.773-.2147 2.408-.644.635-.448 1.139-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.389 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.867.308-2.576.924-.709.616-1.185 1.4373-1.428 2.464h7.924c-.037-.4853-.196-.9893-.476-1.512-.28-.5227-.709-.9613-1.288-1.316-.56-.3733-1.279-.56-2.156-.56zm16.262 12.6c-1.288 0-2.455-.3173-3.5-.952-1.027-.6533-1.848-1.5493-2.464-2.688-.597-1.1573-.896-2.4733-.896-3.948s.299-2.7813.896-3.92c.616-1.1387 1.437-2.0347 2.464-2.688 1.045-.6533 2.212-.98 3.5-.98 1.101 0 2.044.2427 2.828.728.803.4853 1.391 1.036 1.764 1.652h.168l-.168-1.988V9.952h2.996V30h-2.828v-1.904h-.168c-.373.616-.961 1.1667-1.764 1.652-.784.4667-1.727.7-2.828.7zm.448-2.772c.747 0 1.447-.196 2.1-.588.672-.392 1.204-.9427 1.596-1.652.411-.728.616-1.5867.616-2.576 0-.9893-.205-1.8387-.616-2.548-.392-.728-.924-1.288-1.596-1.68-.653-.392-1.353-.588-2.1-.588-.747 0-1.447.196-2.1.588-.653.392-1.185.952-1.596 1.68-.411.7093-.616 1.5587-.616 2.548 0 .9893.205 1.848.616 2.576.411.7093.943 1.26 1.596 1.652.653.392 1.353.588 2.1.588z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M198.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM213.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM241.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M186.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M165.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="242dp" android:height="38dp" android:viewportWidth="242" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M1.14069 34.256v-7.168h1.764c.42933-.7093.77467-1.624 1.036-2.744.28-1.1387.476-2.3893.588-3.752.13067-1.3627.196-2.7347.196-4.116V9.952H17.5767v17.136h2.352v7.168h-2.996V30H4.13669v4.256h-2.996zm5.124-7.168h8.23201V12.864H7.72069v4.06c0 2.0347-.13067 3.9107-.392 5.628-.24267 1.7173-.59733 3.1733-1.064 4.368v.168zm23.18651 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM39.7109 30V15.72h3.024v5.74h6.776v-5.74h3.024V30h-3.024v-5.908h-6.776V30h-3.024zm16.6515 0V15.72h3.024v7.308l-.168 2.688h.168l7.14-9.996h2.996V30h-2.996v-7.28l.168-2.688h-.168L59.3864 30h-3.024zm16.9791 6.048V15.72h2.828v1.932h.168c.3733-.616.952-1.1667 1.736-1.652.8026-.4853 1.7546-.728 2.856-.728 1.3066 0 2.4733.3267 3.5.98 1.0266.6533 1.8386 1.5493 2.436 2.688.616 1.1387.924 2.4453.924 3.92s-.308 2.7907-.924 3.948c-.5974 1.1387-1.4094 2.0347-2.436 2.688-1.0267.6347-2.1934.952-3.5.952-1.1014 0-2.0534-.2333-2.856-.7-.784-.4853-1.3627-1.036-1.736-1.652h-.168l.168 1.988v5.964h-2.996zm7.14-8.372c.7466 0 1.4466-.196 2.1-.588.6533-.392 1.1853-.9427 1.596-1.652.4106-.728.616-1.5867.616-2.576 0-.9893-.2054-1.8387-.616-2.548-.4107-.728-.9427-1.288-1.596-1.68-.6534-.392-1.3534-.588-2.1-.588-.7467 0-1.4467.196-2.1.588-.6534.392-1.1854.952-1.596 1.68-.4107.7093-.616 1.5587-.616 2.548 0 .9893.2053 1.848.616 2.576.4106.7093.9426 1.26 1.596 1.652.6533.392 1.3533.588 2.1.588zm14.8125 2.772c-1.0267 0-1.9413-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6907.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6533.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0267-.504 2.1467-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3733.5787-.9333 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4747-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3547-.616.532-1.2787.532-1.988-.4293-.2427-.9333-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1093.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zm12.309-14.364c-.56 0-1.045-.196-1.456-.588-.392-.4107-.588-.896-.588-1.456 0-.56.196-1.036.588-1.428.411-.392.896-.588 1.456-.588.56 0 1.036.196 1.428.588.411.392.616.868.616 1.428 0 .56-.205 1.0453-.616 1.456-.392.392-.868.588-1.428.588zm-2.716 22.708c-.579 0-1.101-.0653-1.568-.196V33.22c.187.112.401.196.644.252.224.0747.448.112.672.112.541 0 .915-.168 1.12-.504.224-.3173.336-.784.336-1.4V15.72h3.024v15.988c0 1.6427-.401 2.8187-1.204 3.528-.803.728-1.811 1.092-3.024 1.092zm19.987-.98c-.056.1493-.121.2893-.196.42-.056.1307-.093.224-.112.28h-3.22c.094-.2053.224-.504.392-.896.187-.3733.364-.7373.532-1.092.168-.3547.346-.756.532-1.204.206-.448.411-.8867.616-1.316l1.064-2.324-5.964-13.496h3.36l4.088 9.744h.14l3.948-9.744h3.332l-7.392 17.024c-.205.4853-.429.9893-.672 1.512-.224.5413-.373.9053-.448 1.092zm15.809-4.9c-.784 0-1.568-.0933-2.352-.28-.784-.1867-1.521-.504-2.212-.952-.672-.4667-1.232-1.1107-1.68-1.932l2.408-1.4c.523.728 1.12 1.232 1.792 1.512.691.2613 1.372.392 2.044.392.971 0 1.708-.1867 2.212-.56.504-.3733.756-.8587.756-1.456 0-.5227-.233-.9427-.7-1.26-.448-.336-1.082-.504-1.904-.504h-2.324v-2.38h2.324c.71 0 1.251-.168 1.624-.504.392-.336.588-.7653.588-1.288 0-.616-.261-1.1013-.784-1.456-.522-.3733-1.185-.56-1.988-.56-.709 0-1.39.1493-2.044.448-.653.28-1.148.6627-1.484 1.148l-2.24-1.484c.654-.8213 1.475-1.4653 2.464-1.932 1.008-.4853 2.119-.728 3.332-.728 1.046 0 1.988.1773 2.828.532.859.3547 1.531.8493 2.016 1.484.504.616.756 1.3347.756 2.156 0 .7093-.177 1.344-.532 1.904-.354.5413-.821.952-1.4 1.232v.168c.728.2987 1.316.7467 1.764 1.344.448.5973.672 1.2787.672 2.044 0 .84-.242 1.5867-.728 2.24-.485.6347-1.176 1.1387-2.072 1.512-.896.3733-1.941.56-3.136.56z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M198.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM213.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM241.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M186.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M165.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M173.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="#e0ffffff">
|
||||
<item
|
||||
android:drawable="@drawable/googlepay_button_background_image" />
|
||||
</ripple>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="#e0ffffff">
|
||||
<item
|
||||
android:drawable="@drawable/googlepay_button_no_shadow_background_image" />
|
||||
</ripple>
|
||||
|
Po Szerokość: | Wysokość: | Rozmiar: 963 B |
Po Szerokość: | Wysokość: | Rozmiar: 263 B |
Po Szerokość: | Wysokość: | Rozmiar: 3.1 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 679 B |
Po Szerokość: | Wysokość: | Rozmiar: 4.2 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 819 B |
|
@ -0,0 +1,15 @@
|
|||
<vector android:width="222dp" android:height="38dp" android:viewportWidth="222" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M9.288 8.424C7.72 12.54 5.088 16.6 2.344 19.176c.448.616 1.176 2.016 1.428 2.632.924-.924 1.848-2.016 2.716-3.192v15.708h2.464v-19.46c1.064-1.82 1.988-3.752 2.772-5.628l-2.436-.812zm4.676 13.496v-3.556h4.284v3.556h-4.284zm11.284-3.556v3.556h-4.424v-3.556h4.424zm2.492 5.712v-7.868h-6.916V13.8h7.728v-2.38h-7.728V8.648h-2.576v2.772h-7.364v2.38h7.364v2.408h-6.664v7.868h6.496c-.168 1.344-.532 2.632-1.26 3.808-1.288-.952-2.352-2.072-3.136-3.36l-2.128.672c.98 1.708 2.24 3.164 3.752 4.396-1.232 1.036-3.024 1.932-5.516 2.52.56.532 1.288 1.568 1.596 2.156 2.716-.812 4.648-1.904 6.048-3.22 2.716 1.596 6.048 2.632 9.912 3.192.336-.728 1.036-1.792 1.54-2.352-3.864-.392-7.252-1.288-9.94-2.688 1.036-1.54 1.484-3.276 1.708-5.124h7.084zm17.772-.644v-4.144h6.776v4.144h-6.776zm-8.792 0c.084-1.036.112-2.072.112-3.024v-1.12h6.076v4.144H36.72zm6.188-10.528v3.948h-6.076v-3.948h6.076zm9.38 3.948h-6.776v-3.948h6.776v3.948zm2.604-6.44H34.256v9.968c0 3.948-.28 8.904-3.332 12.292.588.308 1.652 1.204 2.044 1.708 2.044-2.268 3.052-5.404 3.5-8.484h6.44v8.008h2.604v-8.008h6.776v5.012c0 .532-.196.7-.7.7-.532 0-2.38.028-4.172-.056.336.672.756 1.82.868 2.52 2.576.028 4.2-.028 5.236-.448 1.008-.392 1.372-1.176 1.372-2.688V10.412z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M108.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM123.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM151.463 13.8543l-10.04 23.0611h-3.105l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M96.3729 18.3452c0-.9463-.0803-1.8591-.2317-2.7326H83.4536v5.1759h7.2669c-.3121 1.6872-1.2557 3.1227-2.687 4.084v3.3616h4.3369c2.5394-2.3406 4.0025-5.7993 4.0025-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M83.4536 31.4782c3.6307 0 6.6876-1.1909 8.9168-3.2441l-4.3369-3.3616c-1.2071.8119-2.7618 1.286-4.5799 1.286-3.5092 0-6.4877-2.363-7.5527-5.5473h-4.4678v3.4624c2.2143 4.3901 6.7642 7.4046 12.0205 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M75.9009 20.6111c-.2728-.8119-.4222-1.678-.4222-2.572 0-.8941.1494-1.7602.4222-2.5721v-3.4625h-4.4677C70.5176 13.8188 70 15.8683 70 18.0391c0 2.1707.5176 4.2204 1.4332 6.0345l4.4677-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M83.4536 9.91964c1.9826 0 3.7596.68126 5.161 2.01586v.0019l3.8399-3.83577c-2.3319-2.16891-5.3721-3.50162-9.0009-3.50162-5.2563 0-9.8062 3.01446-12.0205 7.40459l4.4678 3.4624c1.065-3.1843 4.0435-5.54736 7.5527-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
<path android:pathData="M185.512 14.752h-7.364v-3.22h7.364v3.22zm2.548-5.32h-12.348v7.42h12.348v-7.42zm-14.224 10.92c-1.036.308-2.128.616-3.164.896v-4.844h3.444v-2.408h-3.444v-5.46h-2.548v5.46h-3.668v2.408h3.668v5.516c-1.512.392-2.884.756-4.032 1.008l.7 2.492 3.332-.924V31.3c0 .392-.14.532-.532.532-.336.028-1.54.028-2.744-.028.308.672.672 1.736.756 2.352 1.904.028 3.164-.056 3.976-.448.812-.392 1.092-1.064 1.092-2.436v-7.504c1.176-.336 2.352-.644 3.5-.98l-.336-2.436zm4.172 3.668c2.184.448 4.984 1.344 6.44 2.1l1.036-1.988c-1.512-.756-4.312-1.54-6.496-1.932l-.98 1.82zm-.392-3.136h8.624V26.4c-3.332.728-6.664 1.456-8.988 1.848.28-1.624.364-3.248.364-4.62v-2.744zm11.256-2.212h-13.804V23.6c0 2.8-.252 6.608-2.464 9.324.616.28 1.736 1.064 2.156 1.512 1.4-1.736 2.156-3.948 2.492-6.16l.896 2.436c2.324-.588 5.236-1.344 8.092-2.1v2.744c0 .364-.14.476-.532.476-.364.028-1.68.028-2.968-.028.308.672.672 1.708.756 2.408 1.988 0 3.36-.028 4.228-.42.868-.392 1.148-1.092 1.148-2.408V18.672zm15.924.336H193.68v2.128h11.116v-.952c.616.392 1.456.98 1.848 1.344.924-1.54 1.68-3.444 2.324-5.628h6.132c-.336 1.82-.812 3.64-1.26 4.928l2.128.644c.728-1.932 1.54-4.9 2.044-7.504l-1.764-.532-.392.112h-6.3c.336-1.484.616-3.052.84-4.648l-2.548-.336c-.504 4.172-1.428 8.204-3.052 10.976v-.532zm-6.804-3.892h-4.564v2.128h11.648v-2.128h-4.648v-1.988h5.236V11h-5.236V8.676h-2.436V11h-5.208v2.128h5.208v1.988zM194.52 25.84c-.56 1.904-1.428 4.06-2.352 5.516.588.196 1.568.644 2.044.952.84-1.54 1.792-3.864 2.464-5.936l-2.156-.532zm11.424-.756v-2.156H192.42v2.156h5.6v9.1h2.464v-9.1h5.46zm-4.228 1.512c.728 1.428 1.54 3.304 1.876 4.48l2.1-.952c-.392-1.092-1.26-2.94-2.016-4.312l-1.96.784zm10.724-8.736h-2.464v1.288c0 3.668-.42 9.128-5.236 13.356.644.364 1.54 1.204 1.988 1.764 2.52-2.268 3.92-4.9 4.732-7.476 1.12 3.248 2.8 5.852 5.236 7.364.392-.672 1.176-1.652 1.764-2.184-3.22-1.708-5.18-5.6-6.104-10.08.056-.98.084-1.848.084-2.66V17.86z" android:fillColor="#ffffff"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<vector android:width="256dp" android:height="38dp" android:viewportWidth="256" android:viewportHeight="38" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:pathData="M3.90472 30V9.952h6.41198c2.1094 0 3.92.4293 5.432 1.288 1.5307.84 2.7067 2.016 3.528 3.528.84 1.512 1.26 3.248 1.26 5.208 0 1.9787-.42 3.724-1.26 5.236-.8213 1.4933-1.9973 2.6693-3.528 3.528-1.512.84-3.3226 1.26-5.432 1.26H3.90472zm3.08-2.912h3.24798c2.2774 0 4.0414-.6347 5.292-1.904 1.2694-1.2693 1.904-3.0053 1.904-5.208s-.6346-3.9387-1.904-5.208c-1.2506-1.2693-3.0146-1.904-5.292-1.904H6.98472v14.224zm23.17818 3.36c-1.4747 0-2.772-.336-3.892-1.008-1.12-.672-1.9973-1.5773-2.632-2.716-.6347-1.1387-.952-2.4267-.952-3.864 0-1.4187.3173-2.6973.952-3.836.6347-1.1573 1.512-2.072 2.632-2.744 1.12-.672 2.4173-1.008 3.892-1.008 1.456 0 2.744.336 3.864 1.008 1.12.672 1.9973 1.5867 2.632 2.744.6347 1.1387.952 2.4173.952 3.836 0 1.4373-.3173 2.7253-.952 3.864-.6347 1.1387-1.512 2.044-2.632 2.716-1.12.672-2.408 1.008-3.864 1.008zm0-2.772c.784 0 1.512-.1867 2.184-.56.672-.392 1.2133-.9427 1.624-1.652.4293-.728.644-1.596.644-2.604s-.2147-1.8667-.644-2.576c-.4107-.728-.952-1.2787-1.624-1.652-.672-.392-1.4-.588-2.184-.588-.784 0-1.5213.196-2.212.588-.672.3733-1.2227.924-1.652 1.652-.4107.7093-.616 1.568-.616 2.576s.2053 1.876.616 2.604c.4293.7093.98 1.26 1.652 1.652.6907.3733 1.428.56 2.212.56zM40.4226 30V15.72h2.856v1.96h.168c.4107-.6907 1.0173-1.26 1.82-1.708.8213-.4667 1.7173-.7 2.688-.7 1.7547 0 3.0707.5227 3.948 1.568.8773 1.0453 1.316 2.4267 1.316 4.144V30h-2.996v-8.624c0-1.1573-.2893-1.9973-.868-2.52-.5787-.5413-1.3347-.812-2.268-.812-.728 0-1.3627.2053-1.904.616-.5413.392-.9707.9147-1.288 1.568-.2987.6533-.448 1.3533-.448 2.1V30h-3.024zm20.8855.448c-1.0267 0-1.9414-.196-2.744-.588-.8027-.4107-1.428-.98-1.876-1.708-.448-.728-.672-1.5587-.672-2.492 0-1.008.2613-1.8667.784-2.576.5413-.728 1.26-1.2787 2.156-1.652.896-.3733 1.8853-.56 2.968-.56.896 0 1.68.084 2.352.252.6906.168 1.2133.3453 1.568.532V20.9c0-.9333-.336-1.68-1.008-2.24-.672-.56-1.54-.84-2.604-.84-.728 0-1.4187.168-2.072.504-.6534.3173-1.176.756-1.568 1.316l-2.072-1.596c.616-.8587 1.428-1.5307 2.436-2.016 1.0266-.504 2.1466-.756 3.36-.756 2.072 0 3.668.5133 4.788 1.54 1.12 1.008 1.68 2.4267 1.68 4.256V30h-2.94v-1.764h-.168c-.3734.5787-.9334 1.092-1.68 1.54-.7467.448-1.6427.672-2.688.672zm.532-2.464c.784 0 1.4746-.1867 2.072-.56.5973-.3733 1.064-.8587 1.4-1.456.3546-.616.532-1.2787.532-1.988-.4294-.2427-.9334-.4387-1.512-.588-.5787-.168-1.1947-.252-1.848-.252-1.232 0-2.1094.252-2.632.756-.5227.4853-.784 1.0827-.784 1.792 0 .672.252 1.2227.756 1.652s1.176.644 2.016.644zm11.8117-2.128v-7.504h-2.492V15.72h2.492v-4.032h3.024v4.032h3.5v2.632h-3.5v6.86c0 .7093.14 1.2507.42 1.624.2986.3733.7933.56 1.484.56.3546 0 .6533-.0467.896-.14.2613-.0933.5226-.224.784-.392v2.94c-.3174.1307-.6534.2333-1.008.308-.3547.0747-.7747.112-1.26.112-1.3254 0-2.38-.3827-3.164-1.148-.784-.784-1.176-1.8573-1.176-3.22zm15.7026 4.592c-1.4 0-2.6507-.3267-3.752-.98-1.1013-.6533-1.9693-1.5493-2.604-2.688-.616-1.1387-.924-2.436-.924-3.892 0-1.3627.2987-2.6227.896-3.78.5973-1.1573 1.428-2.0813 2.492-2.772 1.0827-.7093 2.324-1.064 3.724-1.064 1.4747 0 2.7253.3173 3.752.952 1.0453.6347 1.8387 1.5027 2.38 2.604.5413 1.1013.812 2.3427.812 3.724 0 .2053-.0093.392-.028.56 0 .168-.0093.2987-.028.392h-11.032c.1493 1.4187.644 2.4827 1.484 3.192.8587.7093 1.8293 1.064 2.912 1.064.9707 0 1.7733-.2147 2.408-.644.6347-.448 1.1387-.9987 1.512-1.652l2.492 1.204c-.616 1.12-1.456 2.0347-2.52 2.744-1.064.6907-2.3893 1.036-3.976 1.036zm-.14-12.6c-1.008 0-1.8667.308-2.576.924-.7093.616-1.1853 1.4373-1.428 2.464h7.924c-.0373-.4853-.196-.9893-.476-1.512-.28-.5227-.7093-.9613-1.288-1.316-.56-.3733-1.2787-.56-2.156-.56zM109.067 30l-4.564-14.28h3.276l2.94 10.276h.112l3.22-10.276h3.108l3.22 10.276h.112l2.94-10.276h3.22L122.059 30h-3.164l-3.304-10.332h-.112L112.203 30h-3.136zm21.571-16.38c-.56 0-1.045-.196-1.456-.588-.392-.4107-.588-.896-.588-1.456 0-.56.196-1.036.588-1.428.411-.392.896-.588 1.456-.588.56 0 1.036.196 1.428.588.411.392.616.868.616 1.428 0 .56-.205 1.0453-.616 1.456-.392.392-.868.588-1.428.588zM129.126 30V15.72h3.024V30h-3.024zm8.452-4.144v-7.504h-2.492V15.72h2.492v-4.032h3.024v4.032h3.5v2.632h-3.5v6.86c0 .7093.14 1.2507.42 1.624.298.3733.793.56 1.484.56.354 0 .653-.0467.896-.14.261-.0933.522-.224.784-.392v2.94c-.318.1307-.654.2333-1.008.308-.355.0747-.775.112-1.26.112-1.326 0-2.38-.3827-3.164-1.148-.784-.784-1.176-1.8573-1.176-3.22zM147.44 30V9.952h3.024v5.488l-.168 2.24h.168c.392-.6907.989-1.26 1.792-1.708.821-.4667 1.726-.7 2.716-.7 1.773 0 3.108.532 4.004 1.596.896 1.0453 1.344 2.4173 1.344 4.116V30h-2.996v-8.624c0-1.1573-.308-1.9973-.924-2.52-.598-.5413-1.335-.812-2.212-.812-.728 0-1.372.2053-1.932.616-.56.4107-.999.952-1.316 1.624-.318.6533-.476 1.3533-.476 2.1V30h-3.024z" android:fillColor="#ffffff"/>
|
||||
<group>
|
||||
<group>
|
||||
<path android:pathData="M212.529 9.34665v8.16615h5.036c1.2 0 2.192-.4032 2.976-1.2096.806-.8044 1.209-1.7638 1.209-2.8744 0-1.0882-.403-2.0364-1.209-2.8428-.784-.82684-1.776-1.24121-2.976-1.24121h-5.036v.00186zm0 11.04055v9.4727h-3.008V6.47218h7.978c2.028 0 3.749.67569 5.167 2.0252 1.439 1.3495 2.158 2.99392 2.158 4.93142 0 1.9822-.719 3.6379-2.158 4.965-1.396 1.3289-3.119 1.9916-5.167 1.9916h-4.97v.0018zM227.864 24.9602c0 .784.333 1.4373.998 1.9599s1.444.7839 2.338.7839c1.265 0 2.391-.4686 3.384-1.4036.992-.937 1.487-2.0364 1.487-3.2982-.938-.741-2.246-1.1106-3.924-1.1106-1.222 0-2.24.295-3.057.8829-.817.5878-1.226 1.3141-1.226 2.1857zm3.892-11.6285c2.224 0 3.979.5936 5.266 1.7807 1.286 1.1871 1.928 2.8147 1.928 4.8828v9.8647h-2.877v-2.2212h-.131c-1.243 1.829-2.9 2.7438-4.97 2.7438-1.766 0-3.244-.5226-4.431-1.5679-1.188-1.0452-1.782-2.3518-1.782-3.9197 0-1.6556.626-2.9717 1.879-3.9515 1.254-.9799 2.927-1.4708 5.02-1.4708 1.786 0 3.258.3267 4.413.9799v-.6868c0-1.0453-.415-1.9319-1.242-2.6617-.83-.7298-1.798-1.0938-2.91-1.0938-1.68 0-3.008.7074-3.989 2.1241l-2.65-1.6668c1.461-2.0905 3.619-3.1358 6.476-3.1358zM255.463 13.8543l-10.039 23.0611h-3.106l3.728-8.069-6.606-14.9921h3.27l4.774 11.4979h.066l4.643-11.4979h3.27z" android:fillColor="#ffffff" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
<group>
|
||||
<path android:pathData="M200.373 18.3452c0-.9463-.08-1.8591-.232-2.7326h-12.687v5.1759h7.266c-.312 1.6872-1.255 3.1227-2.687 4.084v3.3616h4.337c2.54-2.3406 4.003-5.7993 4.003-9.8889z" android:fillColor="#4285f4" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M187.454 31.4782c3.63 0 6.687-1.1909 8.916-3.2441l-4.337-3.3616c-1.207.8119-2.761 1.286-4.579 1.286-3.51 0-6.488-2.363-7.553-5.5473h-4.468v3.4624c2.214 4.3901 6.764 7.4046 12.021 7.4046z" android:fillColor="#34a853" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M179.901 20.6111c-.273-.8119-.422-1.678-.422-2.572 0-.8941.149-1.7602.422-2.5721v-3.4625h-4.468c-.915 1.8143-1.433 3.8638-1.433 6.0346 0 2.1707.518 4.2204 1.433 6.0345l4.468-3.4625z" android:fillColor="#fabb05" android:fillType="evenOdd"/>
|
||||
<path android:pathData="M187.454 9.91964c1.982 0 3.759.68126 5.161 2.01586v.0019l3.84-3.83577c-2.332-2.16891-5.373-3.50162-9.001-3.50162-5.257 0-9.807 3.01446-12.021 7.40459l4.468 3.4624c1.065-3.1843 4.043-5.54736 7.553-5.54736z" android:fillColor="#e94235" android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/googlepay_button_background_image" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="41dp"
|
||||
android:height="17dp"
|
||||
android:viewportWidth="41.0"
|
||||
android:viewportHeight="17.0">
|
||||
<path
|
||||
android:pathData="M19.526,2.635L19.526,6.718L22.044,6.718C22.644,6.718 23.14,6.516 23.532,6.113C23.935,5.711 24.137,5.231 24.137,4.676C24.137,4.132 23.935,3.658 23.532,3.254C23.14,2.841 22.644,2.634 22.044,2.634L19.526,2.634L19.526,2.635ZM19.526,8.155L19.526,12.891L18.022,12.891L18.022,1.198L22.011,1.198C23.025,1.198 23.885,1.535 24.594,2.21C25.314,2.885 25.674,3.707 25.674,4.676C25.674,5.667 25.314,6.495 24.594,7.158C23.897,7.823 23.035,8.154 22.011,8.154L19.526,8.154L19.526,8.155Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M27.194,10.442C27.194,10.834 27.36,11.16 27.693,11.422C28.025,11.683 28.415,11.813 28.861,11.813C29.494,11.813 30.057,11.579 30.553,11.112C31.05,10.643 31.297,10.093 31.297,9.463C30.828,9.092 30.174,8.907 29.335,8.907C28.724,8.907 28.215,9.055 27.807,9.349C27.398,9.643 27.194,10.006 27.194,10.442M29.14,4.627C30.252,4.627 31.129,4.924 31.773,5.518C32.415,6.111 32.737,6.925 32.737,7.959L32.737,12.891L31.298,12.891L31.298,11.781L31.233,11.781C30.611,12.695 29.783,13.153 28.747,13.153C27.865,13.153 27.126,12.891 26.532,12.369C25.938,11.846 25.641,11.193 25.641,10.409C25.641,9.581 25.954,8.923 26.581,8.433C27.208,7.943 28.044,7.698 29.09,7.698C29.983,7.698 30.72,7.861 31.297,8.188L31.297,7.844C31.297,7.322 31.09,6.878 30.676,6.513C30.261,6.149 29.777,5.967 29.221,5.967C28.381,5.967 27.717,6.32 27.226,7.029L25.902,6.195C26.632,5.15 27.711,4.627 29.14,4.627"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M40.993,4.889l-5.02,11.531l-1.553,0l1.864,-4.035l-3.303,-7.496l1.635,0l2.387,5.749l0.033,0l2.322,-5.749z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FFFFFF"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M13.448,7.134C13.448,6.661 13.408,6.205 13.332,5.768L6.988,5.768L6.988,8.356L10.622,8.356C10.466,9.199 9.994,9.917 9.278,10.398L9.278,12.079L11.447,12.079C12.716,10.908 13.448,9.179 13.448,7.134"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#4285F4"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M6.988,13.701C8.804,13.701 10.332,13.105 11.447,12.079L9.278,10.398C8.675,10.804 7.897,11.041 6.988,11.041C5.234,11.041 3.744,9.859 3.212,8.267L0.978,8.267L0.978,9.998C2.085,12.193 4.36,13.701 6.988,13.701"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#34A853"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M3.212,8.267C3.076,7.861 3.001,7.428 3.001,6.981C3.001,6.534 3.076,6.101 3.212,5.695L3.212,3.964L0.978,3.964C0.52,4.871 0.261,5.896 0.261,6.981C0.261,8.066 0.52,9.091 0.978,9.998L3.212,8.267Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FABB05"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M6.988,2.921C7.98,2.921 8.868,3.262 9.569,3.929L9.569,3.93L11.489,2.012C10.323,0.928 8.803,0.261 6.988,0.261C4.36,0.261 2.085,1.769 0.978,3.964L3.212,5.695C3.744,4.103 5.234,2.921 6.988,2.921"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#E94235"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/googlepay_button_no_shadow_background_image" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_enabled="false">
|
||||
<shape
|
||||
android:shape="rectangle" >
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="#7FFFFFFF"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48sp"
|
||||
android:background="@drawable/googlepay_button_no_shadow_background"
|
||||
android:padding="2sp"
|
||||
android:contentDescription="@string/donate_with_googlepay_button_content_description">
|
||||
<LinearLayout
|
||||
android:duplicateParentState="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:weightSum="2"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
<ImageView
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:duplicateParentState="true"
|
||||
android:src="@drawable/donate_with_googlepay_button_content"/>
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:duplicateParentState="true"
|
||||
android:src="@drawable/googlepay_button_overlay"/>
|
||||
</RelativeLayout>
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="googlepay_button_content_description">Google Pay</string>
|
||||
<string name="buy_with_googlepay_button_content_description">Buy with Google Pay</string>
|
||||
<string name="donate_with_googlepay_button_content_description">Donate With Google Pay</string>
|
||||
<string name="pay_with_googlepay_button_content_description">Pay With Google Pay</string>
|
||||
<string name="subscribe_with_googlepay_button_content_description">Subscribe With Google Pay</string>
|
||||
<string name="book_with_googlepay_button_content_description">Book With Google Pay</string>
|
||||
<string name="checkout_with_googlepay_button_content_description">Checkout With Google Pay</string>
|
||||
<string name="order_with_googlepay_button_content_description">Order With Google Pay</string>
|
||||
<string name="view_in_googlepay_button_content_description">View In Google Pay</string>
|
||||
</resources>
|
|
@ -0,0 +1,123 @@
|
|||
// Auto-generated, use ./gradlew calculateChecksums to regenerate
|
||||
|
||||
dependencyVerification {
|
||||
verify = [
|
||||
|
||||
['androidx.activity:activity:1.0.0',
|
||||
'd1bc9842455c2e534415d88c44df4d52413b478db9093a1ba36324f705f44c3d'],
|
||||
|
||||
['androidx.annotation:annotation:1.2.0',
|
||||
'9029262bddce116e6d02be499e4afdba21f24c239087b76b3b57d7e98b490a36'],
|
||||
|
||||
['androidx.appcompat:appcompat-resources:1.2.0',
|
||||
'c470297c03ff3de1c3d15dacf0be0cae63abc10b52f021dd07ae28daa3100fe5'],
|
||||
|
||||
['androidx.appcompat:appcompat:1.2.0',
|
||||
'3d2131a55a61a777322e2126e0018011efa6339e53b44153eb651b16020cca70'],
|
||||
|
||||
['androidx.arch.core:core-common:2.1.0',
|
||||
'fe1237bf029d063e7f29fe39aeaf73ef74c8b0a3658486fc29d3c54326653889'],
|
||||
|
||||
['androidx.arch.core:core-runtime:2.0.0',
|
||||
'87e65fc767c712b437649c7cee2431ebb4bed6daef82e501d4125b3ed3f65f8e'],
|
||||
|
||||
['androidx.collection:collection:1.1.0',
|
||||
'632a0e5407461de774409352940e292a291037724207a787820c77daf7d33b72'],
|
||||
|
||||
['androidx.core:core-ktx:1.5.0',
|
||||
'5964cfe7a4882da2a00fb6ca3d3a072d04139208186f7bc4b3cb66022764fc42'],
|
||||
|
||||
['androidx.core:core:1.5.0',
|
||||
'2b279712795689069cfb63e48b3ab63c32a5649bdda44c482eb8f81ca1a72161'],
|
||||
|
||||
['androidx.cursoradapter:cursoradapter:1.0.0',
|
||||
'a81c8fe78815fa47df5b749deb52727ad11f9397da58b16017f4eb2c11e28564'],
|
||||
|
||||
['androidx.customview:customview:1.0.0',
|
||||
'20e5b8f6526a34595a604f56718da81167c0b40a7a94a57daa355663f2594df2'],
|
||||
|
||||
['androidx.drawerlayout:drawerlayout:1.0.0',
|
||||
'9402442cdc5a43cf62fb14f8cf98c63342d4d9d9b805c8033c6cf7e802749ac1'],
|
||||
|
||||
['androidx.fragment:fragment:1.1.0',
|
||||
'a14c8b8f2153f128e800fbd266a6beab1c283982a29ec570d2cc05d307d81496'],
|
||||
|
||||
['androidx.interpolator:interpolator:1.0.0',
|
||||
'33193135a64fe21fa2c35eec6688f1a76e512606c0fc83dc1b689e37add7732a'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-common:2.1.0',
|
||||
'76db6be533bd730fb361c2feb12a2c26d9952824746847da82601ef81f082643'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-livedata-core:2.0.0',
|
||||
'fde334ec7e22744c0f5bfe7caf1a84c9d717327044400577bdf9bd921ec4f7bc'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-livedata:2.0.0',
|
||||
'c82609ced8c498f0a701a30fb6771bb7480860daee84d82e0a81ee86edf7ba39'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-runtime:2.1.0',
|
||||
'e5173897b965e870651e83d9d5af1742d3f532d58863223a390ce3a194c8312b'],
|
||||
|
||||
['androidx.lifecycle:lifecycle-viewmodel:2.1.0',
|
||||
'ba55fb7ac1b2828d5327cda8acf7085d990b2b4c43ef336caa67686249b8523d'],
|
||||
|
||||
['androidx.loader:loader:1.0.0',
|
||||
'11f735cb3b55c458d470bed9e25254375b518b4b1bad6926783a7026db0f5025'],
|
||||
|
||||
['androidx.savedstate:savedstate:1.0.0',
|
||||
'2510a5619c37579c9ce1a04574faaf323cd0ffe2fc4e20fa8f8f01e5bb402e83'],
|
||||
|
||||
['androidx.vectordrawable:vectordrawable-animated:1.1.0',
|
||||
'76da2c502371d9c38054df5e2b248d00da87809ed058f3363eae87ce5e2403f8'],
|
||||
|
||||
['androidx.vectordrawable:vectordrawable:1.1.0',
|
||||
'46fd633ac01b49b7fcabc263bf098c5a8b9e9a69774d234edcca04fb02df8e26'],
|
||||
|
||||
['androidx.versionedparcelable:versionedparcelable:1.1.1',
|
||||
'57e8d93260d18d5b9007c9eed3c64ad159de90c8609ebfc74a347cbd514535a4'],
|
||||
|
||||
['androidx.viewpager:viewpager:1.0.0',
|
||||
'147af4e14a1984010d8f155e5e19d781f03c1d70dfed02a8e0d18428b8fc8682'],
|
||||
|
||||
['com.google.android.gms:play-services-base:17.5.0',
|
||||
'198c9e2115f5ce5f91140cd9b481dc6d64dd634ac2d6c6525567dc5fe00065cb'],
|
||||
|
||||
['com.google.android.gms:play-services-basement:17.5.0',
|
||||
'362301c0da1c765cbbdcf8ea866b6cb62bc130c86d2aa7cc9e9c18a6e51ea79d'],
|
||||
|
||||
['com.google.android.gms:play-services-identity:17.0.0',
|
||||
'8987c6c303eaaa9c10c403822cf5ae188ee1ce61c3056eb3be2ca4aaecc80b5f'],
|
||||
|
||||
['com.google.android.gms:play-services-maps:17.0.0',
|
||||
'f9e479bc57ff423959c6dd9d08d463c677f440e29d90de795418ea27da6c67fb'],
|
||||
|
||||
['com.google.android.gms:play-services-tasks:17.2.0',
|
||||
'a131d126145dfe87de04fa904f9ce91753b2d3273851b7d084666a71255792a8'],
|
||||
|
||||
['com.google.android.gms:play-services-wallet:18.1.3',
|
||||
'e19d1f4650f51ce2202c092cbe174058860b6558cf26c8be37a732eff3ae1864'],
|
||||
|
||||
['com.google.protobuf:protobuf-javalite:3.10.0',
|
||||
'215a94dbe100130295906b531bb72a26965c7ac8fcd9a75bf8054a8ac2abf4b4'],
|
||||
|
||||
['com.squareup.okhttp3:okhttp:3.12.10',
|
||||
'3cb8e21cd3ab10d390448f5a475c960732efab583a09c39f06f866a7ed819ebc'],
|
||||
|
||||
['com.squareup.okio:okio:1.15.0',
|
||||
'693fa319a7e8843300602b204023b7674f106ebcb577f2dd5807212b66118bd2'],
|
||||
|
||||
['io.reactivex.rxjava3:rxjava:3.0.13',
|
||||
'598abaf71dbc970dd0727e6d5f4f786dc999df5b972cbf261316a32e155b2c69'],
|
||||
|
||||
['org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32',
|
||||
'e1ff6f55ee9e7591dcc633f7757bac25a7edb1cc7f738b37ec652f10f66a4145'],
|
||||
|
||||
['org.jetbrains.kotlin:kotlin-stdlib:1.4.32',
|
||||
'13e9fd3e69dc7230ce0fc873a92a4e5d521d179bcf1bef75a6705baac3bfecba'],
|
||||
|
||||
['org.jetbrains:annotations:13.0',
|
||||
'ace2a10dc8e2d5fd34925ecac03e4988b2c0f851650c94b8cef49ba1bd111478'],
|
||||
|
||||
['org.reactivestreams:reactive-streams:1.0.3',
|
||||
'1dee0481072d19c929b623e155e14d2f6085dc011529a0a0dbefc84cf571d865'],
|
||||
]
|
||||
}
|
|
@ -11,6 +11,8 @@ include ':device-transfer'
|
|||
include ':device-transfer-app'
|
||||
include ':image-editor'
|
||||
include ':image-editor-app'
|
||||
include ':donations'
|
||||
include ':donations-app'
|
||||
|
||||
project(':app').name = 'Signal-Android'
|
||||
project(':paging').projectDir = file('paging/lib')
|
||||
|
@ -24,6 +26,9 @@ project(':libsignal-service').projectDir = file('libsignal/service')
|
|||
project(':image-editor').projectDir = file('image-editor/lib')
|
||||
project(':image-editor-app').projectDir = file('image-editor/app')
|
||||
|
||||
project(':donations').projectDir = file('donations/lib')
|
||||
project(':donations-app').projectDir = file('donations/app')
|
||||
|
||||
rootProject.name='Signal'
|
||||
|
||||
apply from: 'dependencies.gradle'
|
||||
|
|