Commit 2a9cc378 authored by Ahmad Abi Mulya's avatar Ahmad Abi Mulya

Fix Login Session and UI

parents bee2fb9a 9154539c
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.yourcashiertest"> package="com.example.yourcashiertest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-feature <uses-feature
android:name="android.hardware.camera" android:name="android.hardware.camera"
android:required="true" /> android:required="true" />
...@@ -17,13 +17,25 @@ ...@@ -17,13 +17,25 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme2"> android:theme="@style/AppTheme2">
<activity android:name=".activities.WelcomeActivity"></activity> <activity
<activity android:name=".activities.ForgetPassword" /> android:name=".activities.SkActivity"
<activity android:name=".activities.RegisterActivity" /> android:screenOrientation="portrait"/>
<activity android:name=".activities.StatusPayment" /> <activity
android:name=".activities.WelcomeActivity"
android:screenOrientation="portrait"/>
<activity
android:name=".activities.ForgetPassword"
android:screenOrientation="portrait"/>
<activity
android:name=".activities.RegisterActivity"
android:screenOrientation="portrait"/>
<activity
android:name=".activities.StatusPayment"
android:screenOrientation="portrait"/>
<activity <activity
android:name=".activities.SplashActivity" android:name=".activities.SplashActivity"
android:theme="@style/AppTheme2"> android:theme="@style/AppTheme2"
android:screenOrientation="portrait">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
...@@ -32,17 +44,19 @@ ...@@ -32,17 +44,19 @@
</activity> </activity>
<activity <activity
android:name=".activities.PaymentActivity" android:name=".activities.PaymentActivity"
android:theme="@style/AppTheme2" /> android:screenOrientation="portrait"/>
<activity <activity
android:name=".activities.CartActivity" android:name=".activities.CartActivity"
android:theme="@style/AppTheme2" /> android:screenOrientation="portrait"/>
<activity <activity
android:name=".activities.MainActivity" android:name=".activities.MainActivity"
android:theme="@style/AppTheme2" /> android:screenOrientation="portrait"/>
<activity <activity
android:name=".activities.ProductActivity" android:name=".activities.ProductActivity"
android:theme="@style/AppTheme2" /> android:screenOrientation="portrait"/>
<activity android:name=".activities.LoginActivity" /> <activity
android:name=".activities.LoginActivity"
android:screenOrientation="portrait"/>
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
android:authorities="com.example.yourcashiertest.fileprovider" android:authorities="com.example.yourcashiertest.fileprovider"
......
package com.example.yourcashiertest.activities; package com.example.yourcashiertest.activities;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
import com.example.yourcashiertest.adapters.CartAdapter;
import com.example.yourcashiertest.databinding.ActivityCartBinding; import com.example.yourcashiertest.databinding.ActivityCartBinding;
import com.example.yourcashiertest.databinding.ItemListBinding;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols; import java.text.DecimalFormatSymbols;
public class CartActivity extends AppCompatActivity { public class CartActivity extends AppCompatActivity {
ImageView btnBack;
ActivityCartBinding binding; ActivityCartBinding binding;
CartAdapter adapter;
TextView tvName, tvTotalPrice, tvQty, tvPrice, tvItems;
Button btnAdd, btnMin, btnCheckout;
int count = 1;
int pricePerQty;
int totalPrice;
int totalItems;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_cart); binding = DataBindingUtil.setContentView(this, R.layout.activity_cart);
btnCheckout = findViewById(R.id.btnCheckout);
btnBack = findViewById(R.id.ivBtnBack);
tvName = findViewById(R.id.burger_medi);
tvQty = findViewById(R.id.tv_qty);
btnAdd = findViewById(R.id.btn_add);
btnMin = findViewById(R.id.btn_min);
tvPrice = findViewById(R.id.some_id);
tvTotalPrice = findViewById(R.id.tvTotalPrice);
tvItems = findViewById(R.id.items);
// adapter = new CartAdapter();
// binding.rvCartList.setLayoutManager(new LinearLayoutManager(this));
// binding.rvCartList.setAdapter(adapter);
int price = 10000; // CartViewModel cartViewModel = new ViewModelProvider(this).get(CartViewModel.class);
// cartViewModel.getCarts().observe(this, carts -> adapter.setCartList(carts));
tvName.setText("Burger KING"); //
btnAdd.setOnClickListener(new View.OnClickListener() { // binding.setViewModelCart(cartViewModel);
@Override
public void onClick(View view) {
count++;
pricePerQty = price * count;
changeOnClick(count, pricePerQty, totalPrice);
}
});
binding.ivBtnBack.setOnClickListener(view -> startActivity(new Intent(CartActivity.this, MainActivity.class)));
btnMin.setOnClickListener(view -> { binding.btnCheckout.setOnClickListener(view -> {
count--;
if (count == 0){
}
pricePerQty = price * count;
changeOnClick(count, pricePerQty, totalPrice);
});
btnBack.setOnClickListener(view -> startActivity(new Intent(CartActivity.this, MainActivity.class)));
btnCheckout.setOnClickListener(view -> {
startActivity(new Intent(CartActivity.this, PaymentActivity.class)); startActivity(new Intent(CartActivity.this, PaymentActivity.class));
finish();
}); });
} }
...@@ -93,10 +50,4 @@ public class CartActivity extends AppCompatActivity { ...@@ -93,10 +50,4 @@ public class CartActivity extends AppCompatActivity {
return priceRupiah; return priceRupiah;
} }
private void changeOnClick(int count, int pricePerQty, int totalPrice){
tvQty.setText(String.valueOf(count));
tvPrice.setText(changeToCurrency(pricePerQty));
tvTotalPrice.setText(changeToCurrency(totalPrice));
}
} }
\ No newline at end of file
...@@ -2,7 +2,9 @@ package com.example.yourcashiertest.activities; ...@@ -2,7 +2,9 @@ package com.example.yourcashiertest.activities;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import android.widget.Toast; import android.widget.Toast;
...@@ -15,19 +17,28 @@ public class LoginActivity extends AppCompatActivity { ...@@ -15,19 +17,28 @@ public class LoginActivity extends AppCompatActivity {
TextInputEditText etUsername, etPassword; TextInputEditText etUsername, etPassword;
MaterialButton btnLogin; MaterialButton btnLogin;
public static final String DATA_LOGIN = "DATA_LOGIN"; public static final String DATA_LOGIN = "DATA_LOGIN";
public static Boolean syarat;
// SharedPreferences sharedPreferences;
// public static final String SESS_SYARAT = "syarat";
// public static final String my_shared = "session_status";
private PrefManager prefManager;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login); setContentView(R.layout.activity_login);
// sharedPreferences = getSharedPreferences(my_shared, Context.MODE_PRIVATE);
// syarat = sharedPreferences.getBoolean(SESS_SYARAT, false);
prefManager = new PrefManager(this);
if (!prefManager.isFirstLogin()) {
launchMain();
finish();
}
etPassword = findViewById(R.id.etPassword); etPassword = findViewById(R.id.etPassword);
etUsername = findViewById(R.id.etUsername); etUsername = findViewById(R.id.etUsername);
btnLogin = findViewById(R.id.btnLogin); btnLogin = findViewById(R.id.btnLogin);
btnLogin.setOnClickListener(new View.OnClickListener() { btnLogin.setOnClickListener(view -> {
@Override
public void onClick(View view) {
if(etUsername.getText().toString().length() == 0 || etPassword.getText().toString().length() == 0){ if(etUsername.getText().toString().length() == 0 || etPassword.getText().toString().length() == 0){
Toast.makeText(getApplicationContext(), "Please input Username and Password", Toast.LENGTH_SHORT).show(); Toast.makeText(getApplicationContext(), "Please input Username and Password", Toast.LENGTH_SHORT).show();
...@@ -38,7 +49,7 @@ public class LoginActivity extends AppCompatActivity { ...@@ -38,7 +49,7 @@ public class LoginActivity extends AppCompatActivity {
}else{ }else{
startActivity(new Intent(LoginActivity.this, MainActivity.class) startActivity(new Intent(LoginActivity.this, MainActivity.class)
.putExtra(DATA_LOGIN, etUsername.getText().toString())); .putExtra(DATA_LOGIN, etUsername.getText().toString()));
} finish();
} }
}); });
} }
...@@ -50,4 +61,9 @@ public class LoginActivity extends AppCompatActivity { ...@@ -50,4 +61,9 @@ public class LoginActivity extends AppCompatActivity {
public void tvSignUpHere(View view) { public void tvSignUpHere(View view) {
startActivity(new Intent(LoginActivity.this, RegisterActivity.class)); startActivity(new Intent(LoginActivity.this, RegisterActivity.class));
} }
public void launchMain() {
prefManager.setFirstLogin(false);
startActivity(new Intent(LoginActivity.this, MainActivity.class));
finish();
}
} }
\ No newline at end of file
...@@ -3,28 +3,36 @@ package com.example.yourcashiertest.activities; ...@@ -3,28 +3,36 @@ package com.example.yourcashiertest.activities;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil; import androidx.databinding.DataBindingUtil;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import android.Manifest; import android.Manifest;
import android.content.Intent; import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle; import android.os.Bundle;
import android.text.Editable; import android.text.Editable;
import android.text.TextWatcher; import android.text.TextWatcher;
import android.view.Menu;
import android.view.View;
import android.widget.PopupMenu; import android.widget.PopupMenu;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
import com.example.yourcashiertest.adapters.ProductAdapter; import com.example.yourcashiertest.adapters.ProductAdapter;
import com.example.yourcashiertest.databinding.ActivityMainBinding; import com.example.yourcashiertest.databinding.ActivityMainBinding;
import com.example.yourcashiertest.databinding.ItemListBinding;
import com.example.yourcashiertest.entities.Product; import com.example.yourcashiertest.entities.Product;
import com.example.yourcashiertest.models.CartModel;
import com.example.yourcashiertest.viewmodels.CartViewModel;
import com.example.yourcashiertest.viewmodels.ProductViewModel; import com.example.yourcashiertest.viewmodels.ProductViewModel;
import java.util.ArrayList;
import java.util.List;
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
ActivityMainBinding binding; ActivityMainBinding binding;
ItemListBinding bindingItem; private PrefManager prefManager;
SharedPreferences sharedPreferences;
public static final String DATA_PRODUCT = "DATA_PRODUCT"; public static final String DATA_PRODUCT = "DATA_PRODUCT";
private static final int REQUEST_PERMISSIONS = 111; private static final int REQUEST_PERMISSIONS = 111;
...@@ -32,14 +40,20 @@ public class MainActivity extends AppCompatActivity { ...@@ -32,14 +40,20 @@ public class MainActivity extends AppCompatActivity {
private String[] permissions = new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, private String[] permissions = new String[]{Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.WRITE_EXTERNAL_STORAGE}; Manifest.permission.WRITE_EXTERNAL_STORAGE};
public static boolean visibility = false;
CartViewModel cartViewModel;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
requestPermissions(permissions, REQUEST_PERMISSIONS); requestPermissions(permissions, REQUEST_PERMISSIONS);
prefManager = new PrefManager(this);
ProductAdapter adapter = new ProductAdapter(); ProductAdapter adapter = new ProductAdapter();
binding = DataBindingUtil.setContentView(this, R.layout.activity_main); binding = DataBindingUtil.setContentView(this, R.layout.activity_main);
// cartViewModel = new ViewModelProvider(this).get(CartViewModel.class);
String name = getIntent().getStringExtra(LoginActivity.DATA_LOGIN); String name = getIntent().getStringExtra(LoginActivity.DATA_LOGIN);
binding.tvUser.setText(name); binding.tvUser.setText(name);
// settings menu // settings menu
...@@ -53,12 +67,30 @@ public class MainActivity extends AppCompatActivity { ...@@ -53,12 +67,30 @@ public class MainActivity extends AppCompatActivity {
startActivity(new Intent(MainActivity.this, ProductActivity.class)); startActivity(new Intent(MainActivity.this, ProductActivity.class));
break; break;
case R.id.item_two: case R.id.item_two:
adapter.setVisibility(true); if (visibility){
visibility = false;
}else {
visibility = true;
}
finish();
overridePendingTransition(0, 0);
startActivity(getIntent());
overridePendingTransition(0, 0);
return true; return true;
case R.id.item_three:
prefManager.removeLoginSession();
startActivity(new Intent(MainActivity.this, LoginActivity.class));
finish();
break;
} }
return false; return false;
}); });
popupMenu.inflate(R.menu.settings_menu); popupMenu.inflate(R.menu.settings_menu);
if (visibility){
popupMenu.getMenu().findItem(R.id.item_two).setTitle("Back");
}else {
popupMenu.getMenu().findItem(R.id.item_two).setTitle("Update or Delete");
}
popupMenu.show(); popupMenu.show();
}); });
...@@ -77,6 +109,11 @@ public class MainActivity extends AppCompatActivity { ...@@ -77,6 +109,11 @@ public class MainActivity extends AppCompatActivity {
public void onDelete(Product product) { public void onDelete(Product product) {
viewModel.deleteProduct(product); viewModel.deleteProduct(product);
} }
@Override
public void onAddToCart(Product product) {
addToCart(product);
}
}); });
binding.etSearch.addTextChangedListener(new TextWatcher() { binding.etSearch.addTextChangedListener(new TextWatcher() {
...@@ -98,6 +135,31 @@ public class MainActivity extends AppCompatActivity { ...@@ -98,6 +135,31 @@ public class MainActivity extends AppCompatActivity {
binding.setViewModel(viewModel); binding.setViewModel(viewModel);
} }
public void addToCart(Product product){
// Cart cart = new Cart(0,"", "", 0, 0);
// cart.setIdProduct(product.getId());
// cart.setImage(product.getPhoto());
// cart.setNameProduct(product.getName());
// cart.setPrice(product.getPrice());
// cart.setQty(1);
// cartViewModel.insertCart(cart);
List<CartModel> list = new ArrayList<>();
CartModel cart = new CartModel();
cart.setIdProduct(product.getId());
cart.setNameProduct(product.getName());
cart.setImage(product.getPhoto());
cart.setPrice(product.getPrice());
cart.setQty(product.getQuantity());
}
@Override
public void onBackPressed() {
super.onBackPressed();
visibility = false;
}
@Override @Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults); super.onRequestPermissionsResult(requestCode, permissions, grantResults);
......
...@@ -3,22 +3,68 @@ package com.example.yourcashiertest.activities; ...@@ -3,22 +3,68 @@ package com.example.yourcashiertest.activities;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView; import androidx.cardview.widget.CardView;
import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View; import android.view.View;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
public class PaymentActivity extends AppCompatActivity { public class PaymentActivity extends AppCompatActivity {
CardView cvCash, cvCard;
boolean change = false;
@SuppressLint("ClickableViewAccessibility")
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_payment); setContentView(R.layout.activity_payment);
cvCash = findViewById(R.id.cvCash);
cvCard = findViewById(R.id.cvCard);
cvCash.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent event) {
changeCvColor(event, cvCash);
return true;
}
});
cvCard.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent event) {
changeCvColor(event, cvCard);
return true;
}
});
} }
public void btnPay(View view) { public void btnPay(View view) {
startActivity(new Intent(PaymentActivity.this, StatusPayment.class)); startActivity(new Intent(PaymentActivity.this, StatusPayment.class));
finish(); finish();
} }
public void changeCvColor(MotionEvent event, CardView cv){
if (change) {
change = false;
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
cv.setCardBackgroundColor(getResources().getColor(R.color.colorPrimary));
break;
case MotionEvent.ACTION_UP:
cv.setCardBackgroundColor(getResources().getColor(R.color.white));
}
} else {
change = true;
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
cv.setCardBackgroundColor(getResources().getColor(R.color.white));
break;
case MotionEvent.ACTION_UP:
cv.setCardBackgroundColor(getResources().getColor(R.color.colorPrimary));
}
}
}
} }
\ No newline at end of file
...@@ -8,14 +8,13 @@ public class PrefManager { ...@@ -8,14 +8,13 @@ public class PrefManager {
SharedPreferences pref; SharedPreferences pref;
SharedPreferences.Editor editor; SharedPreferences.Editor editor;
Context _context; Context _context;
// shared pref mode // shared pref mode
int PRIVATE_MODE = 0; int PRIVATE_MODE = 0;
// Shared preferences file name // Shared preferences file name
private static final String PREF_NAME = "introslider"; private static final String PREF_NAME = "preferences";
private static final String IS_FIRST_WELCOME = "IsFirstWelcome";
private static final String IS_FIRST_TIME_LAUNCH = "IsFirstTimeLaunch"; private static final String IS_FIRST_LOGIN = "IsFirstLogin";
public PrefManager(Context context) { public PrefManager(Context context) {
this._context = context; this._context = context;
...@@ -23,13 +22,20 @@ public class PrefManager { ...@@ -23,13 +22,20 @@ public class PrefManager {
editor = pref.edit(); editor = pref.edit();
} }
public void setFirstTimeLaunch(boolean isFirstTime) { public void setFirstWelcome(boolean isFirstTime) {
editor.putBoolean(IS_FIRST_TIME_LAUNCH, isFirstTime); editor.putBoolean(IS_FIRST_WELCOME, isFirstTime);
editor.commit(); editor.commit();
} }
public void setFirstLogin(boolean isFirstTime) {
public boolean isFirstTimeLaunch() { editor.putBoolean(IS_FIRST_LOGIN, isFirstTime);
return pref.getBoolean(IS_FIRST_TIME_LAUNCH, true); editor.commit();
} }
public boolean isFirstLogin(){return pref.getBoolean(IS_FIRST_LOGIN, true);}
public boolean isFirstWelcome() { return pref.getBoolean(IS_FIRST_WELCOME, true); }
public void removeLoginSession(){
// loginActivity.launchMain(true);
editor.remove(IS_FIRST_LOGIN);
editor.apply();
}
} }
...@@ -4,20 +4,16 @@ import androidx.appcompat.app.AppCompatActivity; ...@@ -4,20 +4,16 @@ import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.FileProvider; import androidx.core.content.FileProvider;
import androidx.databinding.DataBindingUtil; import androidx.databinding.DataBindingUtil;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.content.Context; import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.database.Cursor; import android.database.Cursor;
import android.graphics.Bitmap;
import android.net.Uri; import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.os.Environment; import android.os.Environment;
import android.provider.MediaStore; import android.provider.MediaStore;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
import com.example.yourcashiertest.databinding.ActivityProductBinding; import com.example.yourcashiertest.databinding.ActivityProductBinding;
import com.example.yourcashiertest.entities.Product; import com.example.yourcashiertest.entities.Product;
...@@ -39,6 +35,7 @@ public class ProductActivity extends AppCompatActivity{ ...@@ -39,6 +35,7 @@ public class ProductActivity extends AppCompatActivity{
viewModel = new ViewModelProvider(this).get(ProductViewModel.class); viewModel = new ViewModelProvider(this).get(ProductViewModel.class);
binding = DataBindingUtil.setContentView(this, R.layout.activity_product); binding = DataBindingUtil.setContentView(this, R.layout.activity_product);
Product product = getIntent().getParcelableExtra(MainActivity.DATA_PRODUCT); Product product = getIntent().getParcelableExtra(MainActivity.DATA_PRODUCT);
if (getSupportActionBar() != null) { if (getSupportActionBar() != null) {
getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setHomeButtonEnabled(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
...@@ -84,6 +81,7 @@ public class ProductActivity extends AppCompatActivity{ ...@@ -84,6 +81,7 @@ public class ProductActivity extends AppCompatActivity{
}); });
binding.setViewModel(viewModel); binding.setViewModel(viewModel);
} }
private void takePhoto() { private void takePhoto() {
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (takePictureIntent.resolveActivity(getPackageManager()) != null) { if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
......
...@@ -5,10 +5,15 @@ import androidx.appcompat.app.AppCompatActivity; ...@@ -5,10 +5,15 @@ import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import android.webkit.WebView;
import android.widget.ProgressBar;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
public class RegisterActivity extends AppCompatActivity { public class RegisterActivity extends AppCompatActivity {
WebView wbCompany;
ProgressBar pbLoading;
private static final String urLCompany = "http://multidaya.id/";
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
...@@ -18,5 +23,10 @@ public class RegisterActivity extends AppCompatActivity { ...@@ -18,5 +23,10 @@ public class RegisterActivity extends AppCompatActivity {
public void tvSignInHere(View view) { public void tvSignInHere(View view) {
startActivity(new Intent(RegisterActivity.this, LoginActivity.class)); startActivity(new Intent(RegisterActivity.this, LoginActivity.class));
finish();
}
public void tvSK(View view) {
startActivity(new Intent(RegisterActivity.this, SkActivity.class));
} }
} }
\ No newline at end of file
package com.example.yourcashiertest.activities;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;
import com.example.yourcashiertest.R;
public class SkActivity extends AppCompatActivity {
WebView wbCompany;
ProgressBar pbLoading;
private static final String urLCompany = "http://multidaya.id/";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sk);
pbLoading = findViewById(R.id.pbLoading);
wbCompany = findViewById(R.id.wbCompany);
wbCompany.getSettings().setLoadsImagesAutomatically(true);
wbCompany.getSettings().setJavaScriptEnabled(true);
wbCompany.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
wbCompany.setWebViewClient(new WebViewClient() {
@Override
public void onPageFinished(WebView view, String url) {
wbCompany.setVisibility(View.VISIBLE);
pbLoading.setVisibility(View.GONE);
if (getSupportActionBar() != null)
getSupportActionBar().setTitle("Multidaya Dinamika");
}
});
wbCompany.loadUrl(urLCompany);
}
}
\ No newline at end of file
...@@ -36,7 +36,7 @@ public class WelcomeActivity extends AppCompatActivity { ...@@ -36,7 +36,7 @@ public class WelcomeActivity extends AppCompatActivity {
// mengecek lauch activity - sebelum memanggil setContentView() // mengecek lauch activity - sebelum memanggil setContentView()
prefManager = new PrefManager(this); prefManager = new PrefManager(this);
if (!prefManager.isFirstTimeLaunch()) { if (!prefManager.isFirstWelcome()) {
launchHomeScreen(); launchHomeScreen();
finish(); finish();
} }
...@@ -118,7 +118,7 @@ public class WelcomeActivity extends AppCompatActivity { ...@@ -118,7 +118,7 @@ public class WelcomeActivity extends AppCompatActivity {
} }
private void launchHomeScreen() { private void launchHomeScreen() {
prefManager.setFirstTimeLaunch(false); prefManager.setFirstWelcome(false);
startActivity(new Intent(WelcomeActivity.this, LoginActivity.class)); startActivity(new Intent(WelcomeActivity.this, LoginActivity.class));
finish(); finish();
} }
......
...@@ -10,26 +10,29 @@ import androidx.recyclerview.widget.RecyclerView; ...@@ -10,26 +10,29 @@ import androidx.recyclerview.widget.RecyclerView;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
import com.example.yourcashiertest.databinding.CartItemBinding; import com.example.yourcashiertest.databinding.CartItemBinding;
import com.example.yourcashiertest.entities.Cart;
import com.example.yourcashiertest.entities.Product; import com.example.yourcashiertest.entities.Product;
import com.example.yourcashiertest.models.CartModel;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> { public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> {
private List<Product> productList = new ArrayList<>(); private List<Cart> carts = new ArrayList<>();
public interface Listener{ public interface CartListener{
void onIncrease(); void onIncrease();
void onDecrease(); void onDecrease();
} }
private CartListener listener;
public void setCartListener(CartListener listener){
this.listener = listener;
}
public Listener listener; public void setCartList(List<Cart> carts){
this.carts = carts;
public CartAdapter(List<Product> productList) {
this.productList = productList;
notifyDataSetChanged(); notifyDataSetChanged();
} }
...@@ -48,12 +51,12 @@ public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> { ...@@ -48,12 +51,12 @@ public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> {
@Override @Override
public void onBindViewHolder(@NonNull CartAdapter.ViewHolder holder, int position) { public void onBindViewHolder(@NonNull CartAdapter.ViewHolder holder, int position) {
holder.bindData(productList.get(position)); holder.bindData(carts.get(position), listener);
} }
@Override @Override
public int getItemCount() { public int getItemCount() {
return productList.size(); return carts.size();
} }
public class ViewHolder extends RecyclerView.ViewHolder { public class ViewHolder extends RecyclerView.ViewHolder {
...@@ -66,13 +69,8 @@ public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> { ...@@ -66,13 +69,8 @@ public class CartAdapter extends RecyclerView.Adapter<CartAdapter.ViewHolder> {
this.cartItemBinding = cartItemBinding; this.cartItemBinding = cartItemBinding;
} }
public void bindData(Product product) { public void bindData(Cart cart, CartListener listener) {
cartItemBinding.setCartProduct(cart);
cartItemBinding.setCartProduct(product);
cartItemBinding.btnAdd.setOnClickListener(view -> listener.onIncrease());
cartItemBinding.btnMin.setOnClickListener(view -> listener.onDecrease());
} }
} }
......
...@@ -8,6 +8,7 @@ import androidx.databinding.DataBindingUtil; ...@@ -8,6 +8,7 @@ import androidx.databinding.DataBindingUtil;
import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView;
import com.example.yourcashiertest.R; import com.example.yourcashiertest.R;
import com.example.yourcashiertest.activities.MainActivity;
import com.example.yourcashiertest.databinding.ItemListBinding; import com.example.yourcashiertest.databinding.ItemListBinding;
import com.example.yourcashiertest.entities.Product; import com.example.yourcashiertest.entities.Product;
...@@ -19,12 +20,13 @@ import java.util.List; ...@@ -19,12 +20,13 @@ import java.util.List;
public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHolder> { public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHolder> {
private List<Product> products = new ArrayList<>(); private List<Product> products = new ArrayList<>();
private Boolean visibility;
public interface ProductListener { public interface ProductListener {
void onUpdate(Product product); void onUpdate(Product product);
void onDelete(Product product); void onDelete(Product product);
void onAddToCart(Product product);
} }
private ProductListener listener; private ProductListener listener;
...@@ -55,7 +57,6 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold ...@@ -55,7 +57,6 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold
@Override @Override
public void onBindViewHolder(@NonNull ProductAdapter.ViewHolder holder, int position) { public void onBindViewHolder(@NonNull ProductAdapter.ViewHolder holder, int position) {
holder.bindData(products.get(position), listener); holder.bindData(products.get(position), listener);
holder.binding.setVisibility(visibility);
} }
@Override @Override
...@@ -65,7 +66,6 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold ...@@ -65,7 +66,6 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold
public static class ViewHolder extends RecyclerView.ViewHolder { public static class ViewHolder extends RecyclerView.ViewHolder {
private ItemListBinding binding; private ItemListBinding binding;
private Boolean visibility;
public ViewHolder(@NonNull ItemListBinding binding) { public ViewHolder(@NonNull ItemListBinding binding) {
super(binding.getRoot()); super(binding.getRoot());
...@@ -75,6 +75,8 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold ...@@ -75,6 +75,8 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold
public void bindData(Product product, ProductListener listener) { public void bindData(Product product, ProductListener listener) {
binding.setProduct(product); binding.setProduct(product);
binding.setVisibility(MainActivity.visibility);
DecimalFormat rupiah = (DecimalFormat) DecimalFormat.getCurrencyInstance(); DecimalFormat rupiah = (DecimalFormat) DecimalFormat.getCurrencyInstance();
DecimalFormatSymbols format = new DecimalFormatSymbols(); DecimalFormatSymbols format = new DecimalFormatSymbols();
...@@ -88,10 +90,7 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold ...@@ -88,10 +90,7 @@ public class ProductAdapter extends RecyclerView.Adapter<ProductAdapter.ViewHold
binding.ivUpdate.setOnClickListener(view -> listener.onUpdate(product)); binding.ivUpdate.setOnClickListener(view -> listener.onUpdate(product));
binding.ivDelete.setOnClickListener(view -> listener.onDelete(product)); binding.ivDelete.setOnClickListener(view -> listener.onDelete(product));
binding.vAdd.setOnClickListener(view -> listener.onAddToCart(product));
} }
} }
public void setVisibility(Boolean visibility){
this.visibility = visibility;
}
} }
\ No newline at end of file
package com.example.yourcashiertest.daos; package com.example.yourcashiertest.daos;
import androidx.lifecycle.LiveData;
import androidx.room.Dao; import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;
import androidx.room.Update;
import com.example.yourcashiertest.entities.Cart;
import java.util.List;
@Dao @Dao
public interface CartDao { public interface CartDao {
@Query("SELECT * FROM Cart ORDER BY id DESC")
public LiveData<List<Cart>> getCarts();
@Insert(onConflict = OnConflictStrategy.IGNORE)
public void insertCart(Cart cart);
@Update
public void updateCart(Cart cart);
@Delete
public void deleteCart(Cart cart);
} }
...@@ -8,10 +8,13 @@ import androidx.room.DatabaseConfiguration; ...@@ -8,10 +8,13 @@ import androidx.room.DatabaseConfiguration;
import androidx.room.InvalidationTracker; import androidx.room.InvalidationTracker;
import androidx.room.Room; import androidx.room.Room;
import androidx.room.RoomDatabase; import androidx.room.RoomDatabase;
import androidx.room.migration.Migration;
import androidx.sqlite.db.SupportSQLiteDatabase;
import androidx.sqlite.db.SupportSQLiteOpenHelper; import androidx.sqlite.db.SupportSQLiteOpenHelper;
import com.example.yourcashiertest.daos.CartDao; import com.example.yourcashiertest.daos.CartDao;
import com.example.yourcashiertest.daos.ProductDao; import com.example.yourcashiertest.daos.ProductDao;
import com.example.yourcashiertest.entities.Cart;
import com.example.yourcashiertest.entities.Product; import com.example.yourcashiertest.entities.Product;
import java.util.concurrent.ExecutorService; import java.util.concurrent.ExecutorService;
...@@ -21,6 +24,7 @@ import java.util.concurrent.Executors; ...@@ -21,6 +24,7 @@ import java.util.concurrent.Executors;
public abstract class LocalDatabase extends RoomDatabase { public abstract class LocalDatabase extends RoomDatabase {
public abstract ProductDao productDao(); public abstract ProductDao productDao();
// public abstract CartDao cartDao();
private static volatile LocalDatabase INSTANCE; private static volatile LocalDatabase INSTANCE;
private static final int NUMBER_OF_THREADS = 4; private static final int NUMBER_OF_THREADS = 4;
...@@ -28,6 +32,27 @@ public abstract class LocalDatabase extends RoomDatabase { ...@@ -28,6 +32,27 @@ public abstract class LocalDatabase extends RoomDatabase {
public static final ExecutorService databaseWriteExecutor = public static final ExecutorService databaseWriteExecutor =
Executors.newFixedThreadPool(NUMBER_OF_THREADS); Executors.newFixedThreadPool(NUMBER_OF_THREADS);
// public static final Migration MIGRATION_1_2 = new Migration(1,2) {
// @Override
// public void migrate(@NonNull SupportSQLiteDatabase database) {
// database.execSQL("CREATE TABLE IF NOT EXISTS Cart (id INTEGER, idProduct INTEGER,price INTEGER, qty INTEGER,nameProduct TEXT, image TEXT)");
// }
// };
//
// public static final Migration MIGRATION_1_3 = new Migration(1,3) {
// @Override
// public void migrate(@NonNull SupportSQLiteDatabase database) {
// database.execSQL("DROP TABLE Cart");
// }
// };
//
// public static final Migration MIGRATION_1_4 = new Migration(1,4) {
// @Override
// public void migrate(@NonNull SupportSQLiteDatabase database) {
// database.execSQL("CREATE TABLE IF NOT EXISTS Cart (id INTEGER, idProduct INTEGER,price INTEGER, qty INTEGER,nameProduct TEXT, image TEXT)");
// }
// };
public static LocalDatabase getDatabase(Context context) { public static LocalDatabase getDatabase(Context context) {
if (INSTANCE == null) { if (INSTANCE == null) {
synchronized (LocalDatabase.class) { synchronized (LocalDatabase.class) {
......
...@@ -3,26 +3,45 @@ package com.example.yourcashiertest.entities; ...@@ -3,26 +3,45 @@ package com.example.yourcashiertest.entities;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity; import androidx.room.Entity;
import androidx.room.PrimaryKey; import androidx.room.PrimaryKey;
@Entity(tableName = "carts") @Entity
public class Cart implements Parcelable { public class Cart implements Parcelable {
@PrimaryKey(autoGenerate = true) @PrimaryKey(autoGenerate = true)
@NonNull
@ColumnInfo(name = "id")
private long id; private long id;
Product item; @NonNull
long amount; @ColumnInfo(name = "idProduct")
long idProduct;
public Cart(Product item, long amount){ @NonNull
this.item = item; @ColumnInfo(name = "price")
this.amount = amount; long price;
}
@NonNull
@ColumnInfo(name = "qty")
long qty;
@NonNull
@ColumnInfo(name = "nameProduct")
String nameProduct;
@NonNull
@ColumnInfo(name = "image")
String image;
protected Cart(Parcel in) { protected Cart(Parcel in) {
id = in.readLong(); id = in.readLong();
item = in.readParcelable(Product.class.getClassLoader()); idProduct = in.readLong();
amount = in.readLong(); nameProduct = in.readString();
image = in.readString();
price = in.readLong();
qty = in.readLong();
} }
public static final Creator<Cart> CREATOR = new Creator<Cart>() { public static final Creator<Cart> CREATOR = new Creator<Cart>() {
...@@ -37,6 +56,14 @@ public class Cart implements Parcelable { ...@@ -37,6 +56,14 @@ public class Cart implements Parcelable {
} }
}; };
public Cart(long idProduct, String nameProduct, String image, long price, long qty){
this.idProduct = idProduct;
this.nameProduct = nameProduct;
this.image = image;
this.price = price;
this.qty = qty;
}
public long getId() { public long getId() {
return id; return id;
} }
...@@ -45,20 +72,44 @@ public class Cart implements Parcelable { ...@@ -45,20 +72,44 @@ public class Cart implements Parcelable {
this.id = id; this.id = id;
} }
public Product getItem() { public long getIdProduct() {
return item; return idProduct;
}
public void setIdProduct(long idProduct) {
this.idProduct = idProduct;
}
public String getNameProduct() {
return nameProduct;
}
public void setNameProduct(String nameProduct) {
this.nameProduct = nameProduct;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public long getPrice() {
return price;
} }
public void setItem(Product item) { public void setPrice(long price) {
this.item = item; this.price = price;
} }
public long getAmount() { public long getQty() {
return amount; return qty;
} }
public void setAmount(long amount) { public void setQty(long qty) {
this.amount = amount; this.qty = qty;
} }
@Override @Override
...@@ -69,7 +120,10 @@ public class Cart implements Parcelable { ...@@ -69,7 +120,10 @@ public class Cart implements Parcelable {
@Override @Override
public void writeToParcel(Parcel dest, int flags) { public void writeToParcel(Parcel dest, int flags) {
dest.writeLong(id); dest.writeLong(id);
dest.writeParcelable(item, flags); dest.writeLong(idProduct);
dest.writeLong(amount); dest.writeString(nameProduct);
dest.writeString(image);
dest.writeLong(price);
dest.writeLong(qty);
} }
} }
package com.example.yourcashiertest.models;
public class CartModel {
long price, qty, idProduct;
String nameProduct, image;
public long getPrice() {
return price;
}
public void setPrice(long price) {
this.price = price;
}
public long getQty() {
return qty;
}
public void setQty(long qty) {
this.qty = qty;
}
public long getIdProduct() {
return idProduct;
}
public void setIdProduct(long idProduct) {
this.idProduct = idProduct;
}
public String getNameProduct() {
return nameProduct;
}
public void setNameProduct(String nameProduct) {
this.nameProduct = nameProduct;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
}
package com.example.yourcashiertest.repositories; package com.example.yourcashiertest.repositories;
import android.app.Application;
import androidx.lifecycle.LiveData;
import com.example.yourcashiertest.daos.CartDao;
import com.example.yourcashiertest.databases.LocalDatabase;
import com.example.yourcashiertest.entities.Cart;
import java.util.List;
public class CartRepository { public class CartRepository {
private CartDao cartDao;
private LiveData<List<Cart>> carts;
public CartRepository(Application application){
LocalDatabase db = LocalDatabase.getDatabase(application);
// cartDao = db.cartDao();
carts = cartDao.getCarts();
}
public void insert(Cart cart){
LocalDatabase.databaseWriteExecutor.execute(() -> cartDao.insertCart(cart));
}
public void update(Cart cart){
LocalDatabase.databaseWriteExecutor.execute(() -> cartDao.updateCart(cart));
}
public void delete(Cart cart){
LocalDatabase.databaseWriteExecutor.execute(() -> cartDao.deleteCart(cart));
}
public LiveData<List<Cart>> getAllCart(){
return this.carts;
}
} }
package com.example.yourcashiertest.viewmodels;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.example.yourcashiertest.models.CartModel;
import java.util.List;
public class CartVM extends ViewModel {
public MutableLiveData<List<CartModel>> allCart;
public MutableLiveData<List<CartModel>> getAllCart() {
return allCart;
}
public void setAllCart(List<CartModel> cart) {
this.allCart.postValue(cart);
}
}
package com.example.yourcashiertest.viewmodels; package com.example.yourcashiertest.viewmodels;
public class CartViewModel { import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import com.example.yourcashiertest.entities.Cart;
import com.example.yourcashiertest.repositories.CartRepository;
import java.util.List;
public class CartViewModel extends AndroidViewModel {
private MutableLiveData<Cart> cart = new MutableLiveData<>();
private CartRepository repository;
private LiveData<List<Cart>> carts;
public CartViewModel(@NonNull Application application) {
super(application);
repository = new CartRepository(application);
this.carts = repository.getAllCart();
}
public LiveData<List<Cart>> getCarts(){
return this.carts;
}
public void insertCart(Cart cart){
repository.insert(cart);
}
public void updateCart(Cart cart){
repository.update(cart);
}
public void deleteCart(Cart cart){
repository.delete(cart);
}
public MutableLiveData<Cart> getCart(){
return this.cart;
}
} }
<vector android:height="511.68176dp" android:viewportHeight="517.3097"
android:viewportWidth="567.1704" android:width="561dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#3f3d56" android:pathData="M13.551,186.032l475.239,-138.465l12.588,43.204l-475.239,138.465z"/>
<path android:fillColor="#3f3d56" android:pathData="M70.329,384.481 L0.283,144.068a7,7 0,0 1,4.763 -8.679L468.764,0.281a7.006,7.006 0,0 1,8.679 4.762l62.056,212.989 -1.92,0.56L475.522,5.603a5.009,5.009 0,0 0,-6.199 -3.402L5.605,137.309a5,5 0,0 0,-3.402 6.199l70.047,240.413Z"/>
<path android:fillColor="#E0A240" android:pathData="M436.862,219.022a6.512,6.512 0,0 1,-6.243 -4.683l-11.749,-40.323a6.507,6.507 0,0 1,4.422 -8.059l40.323,-11.749a6.507,6.507 0,0 1,8.059 4.423L483.423,198.955a6.507,6.507 0,0 1,-4.422 8.059l-40.323,11.749A6.479,6.479 0,0 1,436.862 219.022Z"/>
<path android:fillColor="#E0A240" android:pathData="M69.246,144.812a11.691,11.691 0,0 0,-0.43 -1.22,12 12,0 0,0 -22.91,6.67 11.38,11.38 0,0 0,0.29 1.26,12.019 12.019,0 0,0 11.53,8.64 11.749,11.749 0,0 0,3.35 -0.48A12.013,12.013 0,0 0,69.246 144.812ZM60.516,157.762a10.013,10.013 0,0 1,-12.4 -6.8,11.435 11.435,0 0,1 -0.28,-1.26 9.997,9.997 0,0 1,19.04 -5.54,8.338 8.338,0 0,1 0.45,1.21A10.004,10.004 0,0 1,60.516 157.762Z"/>
<path android:fillColor="#E0A240" android:pathData="M39.814,153.382a11.002,11.002 0,0 1,4.208 -12.057,11 11,0 1,0 5.818,19.967A11.002,11.002 0,0 1,39.814 153.382Z"/>
<path android:fillColor="#ccc" android:pathData="M350.676,202.942a6.042,6.042 0,0 0,-7.45 -4.2L276.836,217.312l-7.15,2h44.9l7.15,-2 24.75,-6.92A6.049,6.049 0,0 0,350.676 202.942Z"/>
<path android:fillColor="#ccc" android:pathData="M303.706,189.072a6.045,6.045 0,0 0,-7.45 -4.19l-99.62,27.86a6.068,6.068 0,0 0,-4.37 6.57h25.79l7.16,-2 74.3,-20.78A6.055,6.055 0,0 0,303.706 189.072Z"/>
<path android:fillColor="#3f3d56" android:pathData="M560.17,217.31L77.17,217.31a7.008,7.008 0,0 0,-7 7v286a7.008,7.008 0,0 0,7 7L560.17,517.31a7.008,7.008 0,0 0,7 -7v-286A7.008,7.008 0,0 0,560.17 217.31ZM565.17,510.31a5.002,5.002 0,0 1,-5 5L77.17,515.31a5.002,5.002 0,0 1,-5 -5v-286a5.002,5.002 0,0 1,5 -5L560.17,219.31a5.002,5.002 0,0 1,5 5Z"/>
<path android:fillColor="#E0A240" android:pathData="M124.166,256.312a12,12 0,1 1,12 -12A12.014,12.014 0,0 1,124.166 256.312ZM124.166,234.312a10,10 0,1 0,10 10A10.011,10.011 0,0 0,124.166 234.312Z"/>
<path android:fillColor="#E0A240" android:pathData="M105.514,244.312a11.002,11.002 0,0 1,7.413 -10.399,11 11,0 1,0 0,20.797A11.002,11.002 0,0 1,105.514 244.312Z"/>
<path android:fillColor="#E0A240" android:pathData="M172.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,172.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M196.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,196.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M220.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,220.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M257.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,257.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M281.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,281.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M305.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,305.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M342.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,342.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M366.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,366.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M390.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,390.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M427.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,427.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M451.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,451.81 386.09Z"/>
<path android:fillColor="#E0A240" android:pathData="M475.81,386.09a9.01,9.01 0,0 1,-9 -9v-27a9,9 0,0 1,18 0v27A9.01,9.01 0,0 1,475.81 386.09Z"/>
<path android:fillColor="#e6e6e6" android:pathData="M233.828,486.257L104.388,486.257a6.047,6.047 0,1 1,0 -12.095L233.828,474.162a6.047,6.047 0,1 1,0 12.095Z"/>
<path android:fillColor="#e6e6e6" android:pathData="M192.328,460.257L145.888,460.257a6.047,6.047 0,1 1,0 -12.095h46.44a6.047,6.047 0,1 1,0 12.095Z"/>
<path android:fillColor="#3f3d56" android:pathData="M71.81,277.09h493v2h-493z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="900dp"
android:height="600dp"
android:viewportWidth="1049.58"
android:viewportHeight="678.59">
<path
android:pathData="M0,670.92h1049.58v7.67h-1049.58z"
android:fillColor="#85848b"/>
<path
android:pathData="M831.54,535.49c0,5.9 -34.39,23.1 -75.24,23.1s-72.68,-17.2 -72.68,-23.1 33.11,-4 74,-4S831.54,529.58 831.54,535.49Z"
android:fillColor="#504f60"/>
<path
android:fillColor="#FF000000"
android:pathData="M831.54,535.49c0,5.9 -34.39,23.1 -75.24,23.1s-72.68,-17.2 -72.68,-23.1"
android:strokeAlpha="0.2"
android:fillAlpha="0.2"/>
<path
android:pathData="M420.15,427.23c6.63,0.85 13.51,1.39 19.86,-0.67 1,-0.31 2.1,-1 2,-2a2.42,2.42 0,0 0,-0.45 -1,61.78 61.78,0 0,1 -6,-11.43 1,1 0,0 0,-0.37 -0.52,0.94 0.94,0 0,0 -0.64,0c-2.93,0.77 -5.46,2.66 -8.37,3.47a11.9,11.9 0,0 1,-4.56 0.34c-1.32,-0.15 -3.12,-1.24 -4.32,-1.1C417.98,418.69 419.64,422.77 420.15,427.23Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M545.54,416.16c4.37,-3 8.9,-6.15 11.48,-10.78a1.87,1.87 0,0 0,0.31 -0.93,1.92 1.92,0 0,0 -0.37,-0.9 37.16,37.16 0,0 0,-9.33 -10.07,27.21 27.21,0 0,0 -5.2,4.8c-1.1,1.16 -4.14,3 -4.17,4.77 0,1 1.16,2.16 1.7,3 0.73,1.08 1.42,2.18 2.08,3.3C542.42,409.9 545.89,415.94 545.54,416.16Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M446.14,440.62a4.45,4.45 0,0 1,-0.8 2.9,3.93 3.93,0 0,1 -1.68,1c-9.27,3.32 -20,-0.82 -29.25,2.45 -1.9,0.67 -3.7,1.64 -5.61,2.28a30.52,30.52 0,0 1,-7 1.24c-3.27,0.31 -6.56,0.51 -9.84,0.6a23.66,23.66 0,0 1,-7.42 -0.65,8.91 8.91,0 0,1 -5.69,-4.51 4.33,4.33 0,0 1,-0.28 -3.21,3.46 3.46,0 0,1 0.61,-1 8.77,8.77 0,0 1,2.18 -1.77l3.41,-2.2a22.89,22.89 0,0 1,5.17 -2.74c1.35,-0.44 2.78,-0.63 4.15,-1 4.79,-1.4 8.45,-5.2 11.85,-8.85l4.64,-4.95a4.67,4.67 0,0 1,1.61 -1.29,4.46 4.46,0 0,1 2,-0.19 26.74,26.74 0,0 1,12.65 4.24,16.39 16.39,0 0,0 3.12,1.84c2.72,1.06 6.21,0.26 8.72,-1.08 1.19,-0.64 0.93,-1 1.43,-2.14s1.72,-1.87 2.78,-0.83a2.94,2.94 0,0 1,0.66 1.26c1,3.3 0.62,6.85 0.62,10.31a4.54,4.54 0,0 0,0.2 1.6,9.05 9.05,0 0,0 0.91,1.48 3.37,3.37 0,0 1,0.19 0.38A10.17,10.17 0,0 1,446.14 440.62Z"
android:fillColor="#514e7f"/>
<path
android:pathData="M446.14,440.62a4.45,4.45 0,0 1,-0.8 2.9,3.93 3.93,0 0,1 -1.68,1c-9.27,3.32 -20,-0.82 -29.25,2.45 -1.9,0.67 -3.7,1.64 -5.61,2.28a30.52,30.52 0,0 1,-7 1.24c-3.27,0.31 -6.56,0.51 -9.84,0.6a23.66,23.66 0,0 1,-7.42 -0.65,8.91 8.91,0 0,1 -5.69,-4.51 4.33,4.33 0,0 1,-0.28 -3.21,3.46 3.46,0 0,1 0.61,-1c0.54,1.13 0.93,2.63 1.27,3.17a6.49,6.49 0,0 0,4.34 3.13,10.78 10.78,0 0,0 4,-0.51c8.4,-2.08 17.33,-2.11 25.4,-5.26 2.77,-1.09 5.41,-2.54 8.32,-3.2s6,-0.48 9,-0.73c4.74,-0.38 9.33,-1.81 14,-2.56A10.17,10.17 0,0 1,446.14 440.62Z"
android:fillColor="#464353"/>
<path
android:pathData="M566.77,415.55c-0.44,3.52 -2.67,6.55 -5.12,9.12s-5.22,4.88 -7.17,7.84c-2.4,3.67 -3.48,8.22 -6.6,11.32a18.1,18.1 0,0 1,-4 2.85,27.91 27.91,0 0,1 -5.15,2.37c-4.66,1.49 -9.68,1.15 -14.55,0.79a13.09,13.09 0,0 1,-4.62 -0.89A13.92,13.92 0,0 1,517.64 447.77a9.17,9.17 0,0 1,-3 -3,3 3,0 0,1 -0.29,-2.18 5.12,5.12 0,0 1,1.39 -2.12,33 33,0 0,1 3.52,-3.17 21.07,21.07 0,0 0,4.58 -4,12.92 12.92,0 0,0 1.77,-4 35.48,35.48 0,0 0,1.29 -7.65,24.25 24.25,0 0,1 0.53,-5.12c0.74,-2.64 2.7,-5 2.48,-7.73a1.93,1.93 0,0 1,0.1 -1.17,1.63 1.63,0 0,1 0.92,-0.57 16.3,16.3 0,0 1,4.78 -1.11,5.57 5.57,0 0,1 4.44,1.74c0.68,0.82 1.13,2 2.13,2.32a3.38,3.38 0,0 0,1.52 0.06c2.46,-0.25 5.06,-0.56 7,-2.15a8.73,8.73 0,0 0,2.9 -6.37c0,-0.91 -0.41,-1.86 1,-2 1.06,-0.14 1.9,1 2.44,1.7 1.95,2.61 3.95,5.34 4.68,8.52a2.51,2.51 0,0 1,0.89 -0.17,3.87 3.87,0 0,1 3.19,1.63A6.35,6.35 0,0 1,566.77 415.55Z"
android:fillColor="#514e7f"/>
<path
android:pathData="M566.77,415.55c-0.44,3.52 -2.67,6.55 -5.12,9.12s-5.22,4.88 -7.17,7.84c-2.4,3.67 -3.48,8.22 -6.6,11.32a18.1,18.1 0,0 1,-4 2.85,27.91 27.91,0 0,1 -5.15,2.37c-4.66,1.49 -9.68,1.15 -14.55,0.79a13.09,13.09 0,0 1,-4.62 -0.89A13.92,13.92 0,0 1,517.64 447.77a9.17,9.17 0,0 1,-3 -3,7.31 7.31,0 0,1 3,-0.72c2.16,0.12 3.74,2.16 5.81,2.79 2.95,0.89 5.89,-1.19 8.88,-1.9 1.95,-0.46 4,-0.34 5.93,-1a14.66,14.66 0,0 0,4.39 -2.66,22.35 22.35,0 0,0 4.69,-4.52 29.05,29.05 0,0 0,2.75 -5.49,78.5 78.5,0 0,1 5.56,-10.64 7.52,7.52 0,0 1,1.13 -1.48c0.47,-0.43 1,-0.73 1.53,-1.11 2,-1.51 2.83,-4 3.53,-6.44a11.27,11.27 0,0 1,0.79 -2.15,3.87 3.87,0 0,1 3.19,1.63A6.35,6.35 0,0 1,566.77 415.55Z"
android:fillColor="#464353"/>
<path
android:pathData="M357.08,103.77a21.21,21.21 0,0 1,6 7c1.4,2.74 9.47,24 9,27.09 2.63,-2.65 13,-3.08 15.66,-5.73 1.11,-1.11 7.1,-6.65 8,-7.94s7.58,-4 8.31,-5.36c2.73,-4.89 -19.36,-23.42 -16.53,-28.25a1.26,1.26 0,0 0,0.23 -0.76,1.24 1.24,0 0,0 -0.37,-0.59c-1.81,-1.85 -4.21,-3 -6.39,-4.37s-4.28,-3.28 -4.87,-5.8a21,21 0,0 0,-5.65 3.82q-6.08,5.21 -11.95,10.63c-1.53,1.42 -4.49,3.31 -5.2,5.34C352.48,101.03 355.62,102.58 357.08,103.77Z"
android:fillColor="#a1616a"/>
<path
android:pathData="M392.84,95.9a65.08,65.08 0,0 0,-9.46 7.74c-2.74,2.71 -5.34,5.85 -6,9.64 -0.28,1.49 -0.24,3 -0.47,4.51 -1,6.55 -6.66,11.35 -9.16,17.48a30.31,30.31 0,0 0,-1.59 5.85,69.15 69.15,0 0,0 -1.15,11.48c-0.06,3.73 3.6,6.3 4.94,9.78s1.7,7.06 2.38,10.63c1.28,6.74 3.63,13.24 6,19.7 4.93,13.62 20.91,51.27 25.84,64.9 15.11,-3.79 55.33,-12.5 68.71,-20.49 4.46,-2.66 -30.95,-32.67 -26.18,-34.74a1.78,1.78 0,0 0,1.34 -2.51c-4.77,-20.86 -19.69,-38 -26.46,-58.31 -2.35,-7.05 -6.57,-13.07 -9.77,-19.77 -2.9,-6.07 -4.45,-12.78 -7.92,-18.55a11.7,11.7 0,0 0,-2.53 -3.15,14.92 14.92,0 0,0 -2.79,-1.69C396.59,97.44 394.75,96.87 392.84,95.9Z"
android:fillColor="#514e7f"/>
<path
android:pathData="M357.88,77.75m-23.65,0a23.65,23.65 0,1 1,47.3 0a23.65,23.65 0,1 1,-47.3 0"
android:fillColor="#a1616a"/>
<path
android:pathData="M381.94,88.86a7.93,7.93 0,0 1,8.89 -1.28c1.6,0.83 3,2.51 2.64,4.27l11.73,0.18a23.55,23.55 0,0 1,5.56 0.51,8.08 8.08,0 0,1 4.64,2.91c0.14,0.19 0.3,0.42 0.54,0.45a0.86,0.86 0,0 0,0.54 -0.18,10.18 10.18,0 0,1 5.84,-1c6.34,0.41 12.2,3.58 17.17,7.54a5.55,5.55 0,0 1,2 2.49c0.41,1.33 -0.08,3 1,3.95 0,11 3.78,21.28 6.3,32 0.45,1.91 2.28,3.6 3.55,5.1a20.57,20.57 0,0 1,3.79 5.66c2.14,5.56 -0.81,12.1 1.27,17.68 0.88,2.36 2.58,4.3 4,6.35a16.42,16.42 0,0 1,3.42 8.2c0.09,1.34 -0.08,2.69 0,4a24.21,24.21 0,0 0,1 5.31q1.28,4.84 2.68,9.67c1.52,5.2 3.5,10.81 8.16,13.58 -11.25,1.91 -23.11,3.78 -33.83,-0.13a17.54,17.54 0,0 1,-4.22 -2.11c-3.87,-2.76 -5.74,-7.48 -7.41,-11.94 -1.86,-5 -3.75,-10.09 -4.13,-15.41a17.69,17.69 0,0 0,-0.71 -5c-1.09,-2.9 -4,-4.65 -6.64,-6.26a31.88,31.88 0,0 1,-8 -6.22,12.43 12.43,0 0,1 -3.24,-9.34c0.2,-1.65 0.85,-3.24 0.91,-4.9s-0.68,-3.56 -2.27,-4c-8.19,-2.48 -12.1,-12.18 -13.92,-20.54a65.94,65.94 0,0 1,-1.05 -13.1L392.04,108.77a11.26,11.26 0,0 1,-3.68 -8.09,9.61 9.61,0 0,0 -0.05,-2.68 7.39,7.39 0,0 0,-1.88 -2.85A25.44,25.44 0,0 1,381.94 88.86Z"
android:fillColor="#464353"/>
<path
android:pathData="M356.75,115.9c-0.27,2.64 0.33,5.35 -0.26,7.94 -0.23,1 -0.63,2 -0.92,2.93a17.2,17.2 0,0 0,1.09 11.13,62 62,0 0,0 5.69,9.85 16,16 0,0 1,1.82 3.41,17.65 17.65,0 0,1 0.7,3.89A120.83,120.83 0,0 0,367.65 170.77c1.12,4.48 13.84,42.78 16.8,46.33a3.77,3.77 0,0 0,2.28 1.55,4.15 4.15,0 0,0 1.94,-0.4l6,-2.3a3.92,3.92 0,0 0,1.39 -0.76,3.58 3.58,0 0,0 0.86,-2.36c0.43,-4.88 -12.32,-43.45 -13.94,-48.06 -4.9,-13.92 -11.42,-27.34 -14.61,-41.75 -0.89,-4 -1.36,-10.16 -4.29,-13.35 -1.21,-1.32 -0.8,-0.76 -2.25,-0.07a16.42,16.42 0,0 0,-2.12 1.11A6.94,6.94 0,0 0,356.75 115.9Z"
android:fillColor="#464353"/>
<path
android:pathData="M472.16,202.56"
android:fillColor="#464353"/>
<path
android:pathData="M374.96,142.31c1.61,8.51 3.27,17 4.92,25.51l23.48,-6.15c0.19,-2.46 -1.12,-4.74 -2,-7 -2.14,-5.37 -2.19,-11.35 -3.92,-16.87 -1.31,-4.2 -3.59,-8.06 -4.82,-12.29 -0.71,-2.46 -1.07,-5 -1.77,-7.49a54.4,54.4 0,0 0,-2.76 -7.15,44.76 44.76,0 0,0 -5.12,-9.49c-3,1.12 -6.2,2.42 -7.91,5.13a11.08,11.08 0,0 0,-1.46 5c-0.41,5.27 1.5,10.57 0.87,15.81A46.5,46.5 0,0 0,374.96 142.31Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M403.75,255.51c1.32,5 -0.59,10.26 -2.15,15.21a117.88,117.88 0,0 0,-4.78 22.9,19.82 19.82,0 0,1 -1.18,5.79c-0.74,1.67 -2,3.08 -2.86,4.67 -2.36,4.18 -2.3,9.28 -1.79,14.06 0.34,3.15 0.85,6.29 1.48,9.39 0.77,3.79 1.72,7.75 0.61,11.45 1.86,-0.41 3.12,2 3,3.89s-0.73,4 0.18,5.63c2.3,0.84 2.32,4 2.25,6.45a54.25,54.25 0,0 0,1.6 12.6q5.22,25.1 11.08,50.06c8.45,2.62 18.32,5.35 26.38,1.72 1.5,-0.67 3,-1.74 3.34,-3.36a5.86,5.86 0,0 0,-0.32 -2.58l-3.82,-13.9c-0.93,-3.36 -1.86,-6.83 -1.37,-10.28 0.37,-2.57 1.49,-5.34 0.23,-7.61 -0.43,-0.78 -1.11,-1.39 -1.61,-2.13 -2,-2.93 -0.95,-6.85 -0.79,-10.4a8.24,8.24 0,0 0,-0.16 -2.38,11.88 11.88,0 0,0 -1.14,-2.61 39.92,39.92 0,0 1,-4.4 -19.86,4.91 4.91,0 0,0 -0.35,-2.59 8.38,8.38 0,0 1,-0.65 -1.06,2.9 2.9,0 0,1 0.21,-1.91 17.5,17.5 0,0 1,-3.08 -3,4.31 4.31,0 0,0 0.74,-6.74 2.25,2.25 0,0 0,1.07 -3.87c-0.49,-0.34 -1.14,-0.49 -1.49,-1 -0.54,-0.74 -0.1,-1.77 0.34,-2.56l2.33,-4.21c1.74,-3.13 2.13,-7 4,-10 2.68,-4.37 4.43,-9.24 6.16,-14.06L443.54,274.65l4.53,3.93a14.32,14.32 0,0 1,3.72 4.24,18.3 18.3,0 0,1 1.21,5.08c1.66,10.08 8,18.82 10.35,28.75 0.52,2.21 0.87,4.53 2.14,6.42a14,14 0,0 1,1.22 1.84,9.76 9.76,0 0,1 0.51,3.05 14.23,14.23 0,0 0,6 10.2c2.23,1.53 5,2.58 6.21,5a9.32,9.32 0,0 0,1 2.13c1.08,1.3 3.41,1.45 3.87,3.08 0.26,0.91 -0.22,2 0.29,2.8a2.65,2.65 0,0 0,1.11 0.83l6.51,3.25c7.28,3.64 11,12 16.37,18.09a39,39 0,0 1,4.9 6.48c2.32,4.15 3.39,9.36 7.31,12a11.06,11.06 0,0 1,2.84 2.11c1.23,1.62 0.78,3.89 0.89,5.93s1.67,4.47 3.61,3.85a14.23,14.23 0,0 0,0 7.55,38 38,0 0,0 23.06,-9.34c1.9,-1.66 3.73,-3.78 3.75,-6.3a2.26,2.26 0,0 0,-0.28 -1.25,3.57 3.57,0 0,0 -1.47,-1.11c-6.09,-3.3 -7.92,-10.95 -11,-17.16 -2.69,-5.48 -6.67,-10.2 -10,-15.29 -7.24,-10.95 -12.18,-24.2 -23.13,-31.43 -2.41,-1.59 -5.21,-3 -6.42,-5.63 -0.67,-1.47 -0.75,-3.15 -1.28,-4.67s-1.8,-3 -3.42,-3c0.9,-2.2 0.72,-4.88 0.78,-7.26a9.17,9.17 0,0 0,-0.36 -3.13,15.23 15.23,0 0,0 -1.61,-3.1 29.74,29.74 0,0 1,-4.12 -16c0.08,-2.89 0.59,-5.87 -0.28,-8.63 -0.44,-1.39 -1.21,-2.66 -1.74,-4a25,25 0,0 1,-1.25 -7.52l-0.6,-9.61a47.28,47.28 0,0 0,-1.24 -9.5c-2,-7.46 -4,-38.71 -10.85,-42.23s-18.62,20.53 -26.33,21a34.29,34.29 0,0 0,-10 1.93c-5.13,1.92 -9.43,5.5 -13.62,9l-14.18,11.91C409.54,251.41 407.06,253.77 403.75,255.51Z"
android:fillColor="#464353"/>
<path
android:pathData="M335.69,51.49c3.12,-4.26 8.48,-6.52 13.76,-6.71s10.48,1.47 15.21,3.82a18.79,18.79 0,0 0,4.44 1.82c2.5,0.51 5.28,-0.17 7.54,1 3,1.59 3.58,5.64 3.32,9s-0.89,7.09 0.9,10a23.12,23.12 0,0 1,1.73 2.61c0.77,1.73 0.32,3.73 -0.14,5.56 -1.17,-1 -1.83,-2.51 -2.87,-3.67s-2.85,-1.94 -4.14,-1.07 -1.27,2.45 -1.34,3.87 -0.43,3.12 -1.77,3.58a2.87,2.87 0,0 1,-3 -1.17c-2.29,-2.8 -1.37,-7.27 -3.64,-10.09 -1.29,-1.6 -3.44,-2.38 -4.63,-4.06 -0.94,-1.32 -1.18,-3 -2,-4.42s-2.73,-2.46 -4,-1.48a5.41,5.41 0,0 0,-1.07 1.43,6.15 6.15,0 0,1 -7.3,2.2 12.21,12.21 0,0 0,-3.16 -1.37,3.91 3.91,0 0,0 -3.61,2 7.81,7.81 0,0 0,-1 4.18c0,2 0.36,4.13 -0.78,5.73A5.93,5.93 0,0 1,336.54 75.77c-1.67,1.07 -4,1.79 -5.54,0.57a4.16,4.16 0,0 1,-1.24 -3.88,31.37 31.37,0 0,1 1.18,-4.1c0.88,-3.1 -0.27,-6.59 0.69,-9.51A30.36,30.36 0,0 1,335.69 51.49Z"
android:fillColor="#464353"/>
<path
android:pathData="M348.36,122.04a3.64,3.64 0,0 0,0.22 2.17,3.45 3.45,0 0,0 1.18,1.13 24.26,24.26 0,0 0,11.14 3.61,3.39 3.39,0 0,1 1.54,0.4c0.94,0.62 1,2 0.65,3.1a8.07,8.07 0,0 0,-0.71 3.3c0.29,2.09 2.77,3 4.86,3.31 2.93,0.37 6.14,0.18 8.46,-1.65a13.07,13.07 0,0 0,3.49 -5.23c5.74,-13.19 7.75,-27.77 13.56,-40.92a8.68,8.68 0,0 0,0.87 -2.74,2.7 2.7,0 0,0 -1.08,-2.52c-1.08,-0.67 -2.76,-0.29 -3.49,-1.34 -0.36,-0.53 -0.32,-1.25 -0.64,-1.81 -0.67,-1.19 -2.43,-1 -3.63,-1.69 -0.94,-0.5 -1.59,-1.53 -2.64,-1.73a3.32,3.32 0,0 0,-2.73 1.18c-3.41,3.18 -5.2,7.69 -7.1,11.95a140.09,140.09 0,0 1,-10.16 18.84c0.45,-0.7 -2.16,-6 -3.18,-6.23 -1.79,-0.36 -4.08,2.78 -5.05,3.95A25.16,25.16 0,0 0,348.36 122.04Z"
android:fillColor="#40e0d0"/>
<path
android:fillColor="#FF000000"
android:pathData="M384.69,82.09a4.79,4.79 0,0 0,-3.71 1.86c-1.07,1.39 -1.28,3.23 -1.55,5A43.45,43.45 0,0 1,373.54 104.77"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M389.79,86.08a5.71,5.71 0,0 0,-4.85 2.91,16.35 16.35,0 0,0 -1.22,4.94 27.11,27.11 0,0 1,-4.85 10.39"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M627.45,281.58L627.45,269.16a34.48,34.48 0,0 0,-34.48 -34.47L102.48,234.69a34.48,34.48 0,0 0,-34.48 34.47v22.9Z"
android:fillColor="#33323d"/>
<path
android:pathData="M238.93,220.13s-1.4,86.86 14,115.44 22,152.91 22,152.91 161.44,16.7 273.94,-20S900.75,416.77 900.75,416.77L860.41,144.88S661.12,132.1 547.75,186.17 238.93,220.13 238.93,220.13Z"
android:fillColor="#8dd070"/>
<path
android:fillColor="#FF000000"
android:pathData="M238.93,220.13s-1.4,86.86 14,115.44 22,152.91 22,152.91 161.44,16.7 273.94,-20S900.75,416.77 900.75,416.77L860.41,144.88S661.12,132.1 547.75,186.17 238.93,220.13 238.93,220.13Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M274.66,251.86s-5.05,71.67 7.62,94.57S295.54,471.56 295.54,471.56s145.29,6.74 248.64,-28.44 320.53,-58 320.53,-58L840.03,162.77s-179.7,-1.85 -284.58,47.67S274.66,251.86 274.66,251.86Z"
android:fillColor="#8dd070"/>
<path
android:fillColor="#FF000000"
android:pathData="M506.42,326.79a80.9,37.72 82.9,1 0,74.86 -9.32a80.9,37.72 82.9,1 0,-74.86 9.32z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M751.15,12.43S557.54,61.43 466.24,147.68 182.74,274.77 182.74,274.77s25.32,83.09 48.74,105.57 67.84,138.8 67.84,138.8 158.77,-33.66 254.57,-103.14S872.96,258.77 872.96,258.77Z"
android:strokeAlpha="0.2"
android:fillAlpha="0.2"/>
<path
android:pathData="M179.83,262.33S205.14,345.43 228.54,367.91s67.84,138.79 67.84,138.79S455.17,473.05 550.98,403.57 870.04,246.37 870.04,246.37L748.23,0s-193.6,49 -284.9,135.25S179.83,262.33 179.83,262.33Z"
android:fillColor="#8dd070"/>
<path
android:fillColor="#FF000000"
android:pathData="M179.83,262.33S205.14,345.43 228.54,367.91s67.84,138.79 67.84,138.79S455.17,473.05 550.98,403.57 870.04,246.37 870.04,246.37L748.23,0s-193.6,49 -284.9,135.25S179.83,262.33 179.83,262.33Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M223.54,281.57s17.19,69.77 36.28,87.67 51,115 51,115 140.34,-38.18 227.91,-103.38S826.02,227.39 826.02,227.39L734.31,23.27S562.72,76.64 478.09,155.96 223.54,281.57 223.54,281.57Z"
android:fillColor="#8dd070"/>
<path
android:fillColor="#FF000000"
android:pathData="M467.15,281.76a80.9,37.72 65.03,1 0,68.39 -31.85a80.9,37.72 65.03,1 0,-68.39 31.85z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M640.69,293.77v345a29.83,29.83 0,0 1,-29.84 29.83h-513a29.83,29.83 0,0 1,-29.82 -29.83L68.03,258.99c14.7,5.46 14.7,5.46 29.82,5h513A29.84,29.84 0,0 1,640.69 293.77Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M640.69,298.16v345a29.84,29.84 0,0 1,-29.84 29.83h-513a29.83,29.83 0,0 1,-29.82 -29.83L68.03,263.37c14.7,5.45 14.7,5.45 29.82,5h513A29.84,29.84 0,0 1,640.69 298.16Z"
android:fillColor="#504f60"/>
<path
android:fillColor="#FF000000"
android:pathData="M639.23,425.71L639.23,536.04h-107a55.17,55.17 0,0 1,0 -110.33Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M640.69,422.77L640.69,533.12h-107a55.17,55.17 0,0 1,0 -110.33Z"
android:fillColor="#33323d"/>
<path
android:fillColor="#FF000000"
android:pathData="M538.82,480.88m-21.51,0a21.51,21.51 0,1 1,43.02 0a21.51,21.51 0,1 1,-43.02 0"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M540.28,477.96m-21.51,0a21.51,21.51 0,1 1,43.02 0a21.51,21.51 0,1 1,-43.02 0"
android:fillColor="#40e0d0"/>
<path
android:pathData="M826.42,421.82c0.85,9.21 -6.12,18.15 -4.09,27.17 0.44,1.93 1.27,3.75 1.57,5.7 0.84,5.36 -2.35,10.43 -5.4,14.91l-26.2,38.44a23.87,23.87 0,0 1,-3.74 4.62c-5,4.46 -12.52,4 -19.1,5.33a32.64,32.64 0,0 0,-12.8 5.66A0.82,0.82 0,0 0,756.54 524.77a11,11 0,0 0,9.52 4.47c0.69,0.91 0,2.24 -1,2.89 -1.41,1 -3.34,1.24 -3.62,3.62a3.93,3.93 0,0 0,0.48 2.4,7.45 7.45,0 0,0 4.58,3.19c9.07,2.77 18.87,-2.1 25.66,-8.73s11.66,-15 18.32,-21.75c3.69,-3.73 7.88,-6.93 11.68,-10.55 7.58,-7.22 13.47,-16 19.16,-24.79 1.71,-2.65 3.43,-5.37 4.15,-8.44s0.38,-6.17 1.19,-9.14c1.06,-3.9 3.91,-7 6.28,-10.27 4.65,-6.4 7.75,-14.23 7.14,-22.11s-5.5,-15.67 -12.94,-18.35a11.5,11.5 0,0 0,-7.25 -0.44c-3.05,0.94 -5.3,3.46 -7.38,5.87l-5,5.75a13.48,13.48 0,0 0,-2.9 4.4,4.61 4.61,0 0,0 1,4.89"
android:fillColor="#fbbebe"/>
<path
android:fillColor="#FF000000"
android:pathData="M826.42,421.82c0.85,9.21 -6.12,18.15 -4.09,27.17 0.44,1.93 1.27,3.75 1.57,5.7 0.84,5.36 -2.35,10.43 -5.4,14.91l-26.2,38.44a23.87,23.87 0,0 1,-3.74 4.62c-5,4.46 -12.52,4 -19.1,5.33a32.64,32.64 0,0 0,-12.8 5.66A0.82,0.82 0,0 0,756.54 524.77a11,11 0,0 0,9.52 4.47c0.69,0.91 0,2.24 -1,2.89 -1.41,1 -3.34,1.24 -3.62,3.62a3.93,3.93 0,0 0,0.48 2.4,7.45 7.45,0 0,0 4.58,3.19c9.07,2.77 18.87,-2.1 25.66,-8.73s11.66,-15 18.32,-21.75c3.69,-3.73 7.88,-6.93 11.68,-10.55 7.58,-7.22 13.47,-16 19.16,-24.79 1.71,-2.65 3.43,-5.37 4.15,-8.44s0.38,-6.17 1.19,-9.14c1.06,-3.9 3.91,-7 6.28,-10.27 4.65,-6.4 7.75,-14.23 7.14,-22.11s-5.5,-15.67 -12.94,-18.35a11.5,11.5 0,0 0,-7.25 -0.44c-3.05,0.94 -5.3,3.46 -7.38,5.87l-5,5.75a13.48,13.48 0,0 0,-2.9 4.4,4.61 4.61,0 0,0 1,4.89"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:pathData="M846.25,658.92c-5.72,3.49 -12.85,3.7 -19.5,2.89 -1.07,-0.13 -2.34,-0.21 -3,0.62 -1,1.2 0.18,3 1.4,3.93A28.85,28.85 0,0 0,838.54 671.87a88.17,88.17 0,0 0,13.1 0.87c12,0.21 24,0.41 35.81,-1.31a5.07,5.07 0,0 0,2 -0.58,3.66 3.66,0 0,0 1.48,-2.25c0.81,-3.08 -0.75,-6.38 -3.11,-8.52s-5.39,-3.33 -8.35,-4.48l-10.4,-4.05c-2.44,-0.95 -6.35,-3.47 -9,-3.27C855.09,648.64 850.38,656.5 846.25,658.92Z"
android:fillColor="#3f3d56"/>
<path
android:fillColor="#FF000000"
android:pathData="M846.25,658.92c-5.72,3.49 -12.85,3.7 -19.5,2.89 -1.07,-0.13 -2.34,-0.21 -3,0.62 -1,1.2 0.18,3 1.4,3.93A28.85,28.85 0,0 0,838.54 671.87a88.17,88.17 0,0 0,13.1 0.87c12,0.21 24,0.41 35.81,-1.31a5.07,5.07 0,0 0,2 -0.58,3.66 3.66,0 0,0 1.48,-2.25c0.81,-3.08 -0.75,-6.38 -3.11,-8.52s-5.39,-3.33 -8.35,-4.48l-10.4,-4.05c-2.44,-0.95 -6.35,-3.47 -9,-3.27C855.09,648.64 850.38,656.5 846.25,658.92Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:pathData="M853.54,520.86c-4.33,5.76 -8.81,12.41 -7.74,19.54 0.58,3.84 2.73,7.23 4.31,10.78 2.14,4.82 3.26,10 4.36,15.16 1.62,7.54 3.25,15.1 4.24,22.76 1.13,8.65 -4.18,33.68 -4.67,42.39 -0.12,2.1 -0.37,4.37 -1.83,5.88 -0.57,0.6 -1.33,1.08 -1.59,1.86a3.18,3.18 0,0 0,0.35 2.2c2.44,5.5 7.43,9.6 13,11.94s19,6.38 25.07,6.59a5,5 0,0 0,2.36 -0.31,4.59 4.59,0 0,0 1.82,-2.09c4.35,-8.32 0.17,-37.9 0.23,-47.29 0.06,-7.83 1.91,-15.61 1.57,-23.43 -0.28,-6.28 -2,-12.42 -2.57,-18.68 -1,-10.26 0.88,-20.57 2.77,-30.71 1.44,-7.78 2.89,-15.56 4.74,-23.24 1.13,-4.69 2.44,-9.42 5,-13.49 2,-3.23 4.81,-5.93 7.14,-9a40.62,40.62 0,0 0,8 -29.74c-0.14,-1 -15,3.77 -16.31,4.34a50.81,50.81 0,0 0,-14.54 9.35c-3.44,3.28 -6.15,7.66 -9.16,11.33q-6.39,7.79 -12.62,15.69Q860.36,511.72 853.54,520.86Z"
android:fillColor="#464353"/>
<path
android:fillColor="#FF000000"
android:pathData="M853.54,520.51c-4.33,5.76 -8.81,12.42 -7.74,19.54 0.58,3.85 2.73,7.24 4.31,10.79 2.14,4.81 3.26,10 4.36,15.15 1.62,7.55 3.25,15.11 4.24,22.76 1.13,8.66 -4.18,33.68 -4.67,42.39 -0.12,2.1 -0.37,4.38 -1.83,5.89 -0.57,0.59 -1.33,1.07 -1.59,1.85a3.17,3.17 0,0 0,0.35 2.2c2.44,5.51 7.43,9.6 13,12s19,4.49 25.07,4.69a5,5 0,0 0,2.36 -0.31,4.52 4.52,0 0,0 1.82,-2.08c4.35,-8.32 0.17,-36 0.23,-45.4 0.06,-7.84 1.91,-15.61 1.57,-23.44 -0.28,-6.28 -2,-12.42 -2.57,-18.67 -1,-10.27 0.88,-20.58 2.77,-30.72 1.44,-7.77 2.89,-15.55 4.74,-23.24 1.13,-4.69 2.44,-9.42 5,-13.49 2,-3.23 4.81,-5.93 7.14,-9a40.6,40.6 0,0 0,8 -29.74c-0.14,-1 -15,3.77 -16.31,4.34a51.05,51.05 0,0 0,-14.54 9.36c-3.44,3.27 -6.15,7.65 -9.16,11.32q-6.39,7.79 -12.62,15.7Q860.36,511.36 853.54,520.51Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:pathData="M805.36,369.73m-24.27,0a24.27,24.27 0,1 1,48.54 0a24.27,24.27 0,1 1,-48.54 0"
android:fillColor="#fbbebe"/>
<path
android:pathData="M827.22,368.71A31.43,31.43 0,0 0,847.37 382.77L845.54,389.42c-3.16,11.42 -6.71,23.5 -15.53,31.42 1,-3.87 -0.28,-8 -2.46,-11.36s-5.24,-6 -8.24,-8.61L805.34,388.77a4.21,4.21 0,0 1,-1 -1.18,3.55 3.55,0 0,1 0,-2.66c1.78,-5.54 6.86,-9 11,-12.74a38.1,38.1 0,0 0,5.53 -6.44C823.66,361.77 825.39,365.77 827.22,368.71Z"
android:fillColor="#fbbebe"/>
<path
android:pathData="M773.39,345.33 L772.84,340.77c3.83,1 7.47,-2.26 9.92,-5.63s4.72,-7.34 8.45,-8.75c4.53,-1.7 9.33,1 13.66,3.28A43.19,43.19 0,0 0,820.54 334.77a10.31,10.31 0,0 1,2.59 0.42c2.82,1 4.16,4.54 4.57,7.75s0.3,6.62 1.69,9.48c1,2.17 2.86,3.78 4,5.92 3,5.74 0.1,13.59 3.23,19.22l-7.78,-7.13c-0.71,-0.65 -1.71,-1.33 -2.5,-0.78 -0.62,0.44 -0.67,1.39 -0.92,2.15 -0.75,2.22 -3.53,2.88 -5.54,2s-3.48,-2.79 -5,-4.53c-3.44,-4.06 -7.54,-7.63 -12.34,-9.36A15.84,15.84 0,0 0,789.54 360.77c-3.63,2.05 -6.29,6.83 -10.74,7 -6.1,0.23 -8.64,-11.13 -11.46,-15.62a5.5,5.5 0,0 0,1.6 -6.88C769.35,345.1 773.3,344.63 773.39,345.33Z"
android:fillColor="#464353"/>
<path
android:pathData="M473.2,203.44a47.21,47.21 0,0 0,-5.39 5.66,11.33 11.33,0 0,0 -2.48,7.27 3.72,3.72 0,0 0,0.7 2.13,1.8 1.8,0 0,0 2,0.61 2.69,2.69 0,0 0,1 -0.88,48.27 48.27,0 0,1 3.36,-3.64c0.43,-0.43 1,-0.88 1.58,-0.72a1.69,1.69 0,0 1,0.68 0.45,4.6 4.6,0 0,1 1.41,2.2c0.35,1.53 -0.54,3.06 -1.55,4.26s-2.2,2.35 -2.61,3.86a1.71,1.71 0,0 0,0 1.24,1.86 1.86,0 0,0 0.78,0.66 11.16,11.16 0,0 0,9.44 0.62c2,-0.81 3.78,-2.2 5.84,-2.92a13.5,13.5 0,0 0,2.58 -1,5.36 5.36,0 0,0 2.29,-3.43 14.14,14.14 0,0 0,0.15 -4.21A48.41,48.41 0,0 0,489.54 199.77a2,2 0,0 0,-0.58 -0.84,1.85 1.85,0 0,0 -1,-0.27c-2.56,-0.27 -6.76,-1.58 -9.23,-0.63a6.52,6.52 0,0 0,-2.18 1.94C476.09,200.48 473.2,202.77 473.2,203.44Z"
android:fillColor="#a1616a"/>
<path
android:pathData="M472.39,201.18c0,-2.44 -3,-8.33 1.77,-8.72 0,-2.61 -3.69,-4.23 -3,-7 0.22,-0.92 1,-1.67 1.09,-2.61 0.3,-2.67 -4.52,-4.12 -3.72,-6.68 0.3,-1 1.36,-1.58 1.59,-2.57 0.54,-2.31 -3.59,-3.34 -3.67,-5.71 0,-0.8 0.45,-1.55 0.41,-2.35 0,-1 -0.87,-1.76 -1.35,-2.63 -1.25,-2.23 -0.64,-5.68 -2.92,-6.83 1.51,0.13 2,-2.11 1.38,-3.48s-1.89,-2.56 -1.9,-4.08a6.16,6.16 0,0 0,0 -1.66c-0.42,-1.46 -2.81,-1.58 -3.21,-3a12.78,12.78 0,0 1,-0.05 -1.64c-0.16,-1.13 -1.32,-1.85 -2.41,-2.17a9.83,9.83 0,0 1,-3.22 -1.15c-0.7,-0.53 -1.51,-1.41 -2.26,-1 -0.28,0.17 -0.42,0.49 -0.63,0.73 -0.9,1.05 -2.62,0.59 -3.75,-0.18 -3.34,-2.27 -5,-6.34 -5.71,-10.31s-0.69,-8.07 -1.58,-12a25.64,25.64 0,0 0,-1.08 -3.6c-0.38,-1 -1.6,-2.57 -1.68,-3.58 -0.18,-2.3 4.58,-0.73 6.39,-0.5a28.46,28.46 0,0 1,5.19 1,55.49 55.49,0 0,1 5.31,2.33c7.22,3.19 15.94,3.58 21.74,8.94 1.91,1.76 3.52,4.07 6,4.87a27.15,27.15 0,0 1,3.36 0.87c2.75,1.29 3.18,4.94 4.68,7.58a14.86,14.86 0,0 1,1.23 2.2,8.48 8.48,0 0,1 0.4,2.8l0.21,6.93c0.34,11.61 0.68,23.25 -0.56,34.79 -0.4,3.81 -1,7.73 0.13,11.39 0.3,1 0.72,1.94 1,2.95a18,18 0,0 1,0.38 3.6l0.16,4.49a1.4,1.4 0,0 1,-0.22 1,1.44 1.44,0 0,1 -1.21,0.29c-6.25,-0.56 -12.57,-4.08 -18.47,-1.95"
android:fillColor="#464353"/>
<path
android:pathData="M683.65,535.49a73.96,10.69 0,1 0,147.92 0a73.96,10.69 0,1 0,-147.92 0z"
android:fillColor="#504f60"/>
<path
android:pathData="M821.24,536.01c-1.3,-5.57 -2.11,-10.46 -2.11,-10.46s0.3,-6.06 -2.42,-10.61v-1.52h0v-11.2a38.18,38.18 0,0 1,2.83 -5.87c2,-3.52 0,-16.42 0,-16.42s-7.47,-18.19 -5.66,-29.73S798.54,398.96 798.54,398.96a50.59,50.59 0,0 1,1.61 -11.34,8.65 8.65,0 0,0 0.22,-2.38c0,-0.1 0,-0.19 0,-0.29s0,0.06 0,0.09c-0.26,-7.61 -6.28,-21.87 -6.28,-21.87l0.81,-27.18s3.84,-16 -2.42,-37.55c-2.19,-7.51 -3.59,-13.52 -4.48,-18.16 -0.1,-0.52 -0.2,-1 -0.28,-1.51 12.89,-2 22.74,-3.6 22.74,-3.6s-7.48,-31.29 -12.53,-36.77 -9.09,-22.69 -9.09,-22.69 -2.63,-22.09 1.62,-28.55 4.85,-17.6 4.85,-17.6 9.69,-7 10.91,-10.17 3.23,-10.17 3.23,-13.88 -1.21,-7 -0.81,-9 -2.83,-9.39 -1.21,-12.91a9.47,9.47 0,0 0,0.64 -3.39,0.44 0.44,0 0,0 0,-0.1s0,0 0,0a47.51,47.51 0,0 0,-0.85 -9.18,26.05 26.05,0 0,0 -9.6,-5.13l-0.21,-0.84 -0.55,-2.2a10.67,10.67 0,0 0,-0.95 -0.56l0,-0.8 -0.09,-3.18 1.52,-7.14c3,-12.42 -13.59,-14.27 -13.59,-14.27a8.75,8.75 0,0 0,-4.7 -4.12c-3.33,-1.17 -0.55,18.68 1,20 1.17,1 4.79,7.18 6.54,10.24h0l0.28,0.5a7,7 0,0 0,-0.76 0.8l0.63,4.31 0.1,0.66a17.89,17.89 0,0 0,-2.65 4.51s3,3.32 2.43,7 0.93,8.35 1,8.6c-0.18,-0.21 -2.31,-2.51 -4.44,-1.95s-8.08,2.35 -8.08,2.35 -4.44,0.78 -4,1.76 -3,5.28 -3,5.28l-11.94,-11.32c-0.12,-0.34 -0.25,-0.68 -0.35,-1a27.53,27.53 0,0 1,-1 -5,27.31 27.31,0 0,0 3.82,-1.21 8.24,8.24 0,0 0,3.3 -2.12c1.21,-1.43 1.44,-3.37 1.93,-5.15 0.94,-3.48 3,-6.57 4.43,-9.88A32.12,32.12 0,0 0,770.54 83.29a11.6,11.6 0,0 0,-1.83 -5.2c-1.95,-2.68 -5.49,-3.77 -8.06,-5.91s-4.23,-5.41 -7.23,-7c-2.71,-1.45 -6,-1.28 -9.06,-0.78a48.83,48.83 0,0 0,-16.93 6.16c-1.74,1 -3.66,2.23 -5.66,1.86 -1.72,-0.31 -3,-1.68 -4.08,-3a1,1 0,0 1,0.05 -0.16,1 1,0 0,1 -0.13,-0.16 21.09,21.09 0,0 0,-1.86 8.94c0,0.48 0,1 0.06,1.43l0,0.5c0,0.14 0,0.28 0,0.41h0a2.28,2.28 0,0 1,-0.09 0.63,4.55 4.55,0 0,1 -1.12,1.61 10.79,10.79 0,0 0,-1 1.33c0,-0.16 0.1,-0.32 0.16,-0.49a7.11,7.11 0,0 0,-1.24 3.77,3.85 3.85,0 0,0 0.9,2.7 13,13 0,0 0,1.95 1.56,22.75 22.75,0 0,0 -0.36,4 23.11,23.11 0,0 0,11.26 19.71c0.14,0.33 0.27,0.67 0.4,1 1.53,4 2.68,8.7 2.17,13 0,0.31 -0.09,0.63 -0.14,0.94s-0.3,0.33 -0.43,0.5h0s-19.73,0.2 -24.37,-4 -11.72,10.27 -11.72,10.27 -7.07,1.37 -8.49,0 -9.69,-0.19 -9.69,-0.19a17.83,17.83 0,0 0,-12.33 -4.5,36.19 36.19,0 0,0 -9,-5h0l-0.22,-0.08h0a10.08,10.08 0,0 0,-4.45 -0.56s-9.7,-8 -12.53,-12.32 -16.3,-20.27 -16.36,-20.34l0,-0.77 -0.15,-2.32a8.31,8.31 0,0 1,-1.21 0.1c-0.07,-0.23 -0.17,-0.5 -0.27,-0.81a44.73,44.73 0,0 0,-2.86 -6.57s0,-2.93 0.85,-3.67 -0.35,-11.49 -0.35,-11.49 -8.74,-20.43 -16.57,-5.18c0,0 -14.8,9.87 -2.38,21.37 0,0 5,2.4 5.66,4.3 0.46,1.23 2.14,4.68 3.27,7l0.51,1 -0.14,0.12 0.18,1.92 0.08,0.74c-2.34,1.33 -3.93,2.65 -3.54,3.64a21.87,21.87 0,0 1,1.41 5.28s17.18,21.52 19.4,30.71c0,0 46.07,27.38 61.22,29.33L681.54,182.27a108.94,108.94 0,0 0,-0.6 11.15c0.2,2.93 -1.82,16.23 -1.82,16.23s-2.63,19.56 -4.85,22.3 -1.82,14.47 -1.82,14.47a98.86,98.86 0,0 1,-3 16.62c-2.22,7.43 -0.61,16.63 -0.61,16.63s-7.67,17.6 10.71,5.67c0,0 9,-0.56 19.42,-0.92 0,0.34 0,0.69 0,1 0,1.34 0,2.79 -0.07,4.31 -0.14,10.08 -0.2,24 0.26,34.48 0.81,18.58 6.47,55.35 6.47,55.35L705.63,398.07a25.19,25.19 0,0 0,-0.54 5.28,34.36 34.36,0 0,0 5,18.49l1.42,12.32s3.32,8.12 3.38,13a6.82,6.82 0,0 1,-0.14 1.17,7.87 7.87,0 0,0 -0.16,1.89c-0.19,5.6 3.18,19 3.18,19s0.2,13.49 2.22,14.28c1.73,0.67 -2.31,7.77 -3.51,9.81a2.79,2.79 0,0 1,-0.07 -0.38l-0.25,0.4a9.58,9.58 0,0 0,-0.63 3.42,4.9 4.9,0 0,0 2.24,4.74c3.84,2.35 5.9,4.3 2.64,5.08a33.94,33.94 0,0 0,-3.56 0.75c0,-0.15 -0.12,-0.31 -0.17,-0.45a2.14,2.14 0,0 0,-1.33 2.36A10,10 0,0 0,716.54 513.77c3.23,7.24 5.47,10 5.47,10l1.55,-0.17a7.56,7.56 0,0 1,-0.9 1.67,6.44 6.44,0 0,1 -2.28,2 7.06,7.06 0,0 1,-2.77 0.95,7.8 7.8,0 0,0 -5.72,2.78c-2,2.61 -3.28,6.16 0.7,9.28l14.45,5s24.86,3.23 23.54,-2.35 -2.12,-10.46 -2.12,-10.46a22.05,22.05 0,0 0,-2 -9.89,12.85 12.85,0 0,0 -0.88,-1.46l0.88,-0.09s1.82,-12.33 4.24,-14.67c0.56,-0.54 0.69,-1 0.56,-1.28 0.25,-0.67 -0.39,-1.06 -1.2,-1.29l-0.18,0.49a11.79,11.79 0,0 0,-2.41 -0.27s-0.81,-6.45 1.82,-8.8a2.49,2.49 0,0 0,0.51 -1.92,10.32 10.32,0 0,0 -0.28,-2.63 1.29,1.29 0,0 1,-0.09 0.16c-1.32,-5.86 -5.8,-15.17 -5.8,-15.17s-0.2,-5.86 1.42,-8.21 -0.21,-31.88 -0.21,-31.88 0.61,-14.27 -1.21,-20.92 2.22,-14.48 2.22,-14.48 0,-0.15 0,-0.42l0,-0.1 -0.23,-2.25a0.58,0.58 0,0 0,0 0.14c-0.41,-3.78 -1.18,-10.63 -1.75,-13.79 -0.81,-4.5 0.21,-26 0.21,-26l3.63,-9.2 6.47,15.85 6.87,21.12s3.4,4.46 3.48,9c0,0.22 0,0.44 0,0.66a11.54,11.54 0,0 0,-0.08 1.41,12.56 12.56,0 0,0 2.09,7.53s1.82,10 4.65,12.51 2.83,7.43 2.83,7.43 3.43,14.48 5,17c1.36,2.14 1.43,8 1.42,9.83h0c0,0.33 0,0.52 0,0.52s0.48,5.18 0.46,9.52c0,0.54 0,1.06 0,1.55a0.43,0.43 0,0 0,0 -0.11,15.06 15.06,0 0,1 -0.42,3.52l-0.06,0.2c0,-0.25 0,-0.49 0.07,-0.73a36.75,36.75 0,0 0,-1 9c-0.09,5.2 0.7,11.36 3.85,15 5.46,6.26 8.89,5.48 8.89,5.48s-2.62,7.82 -5.86,9.39a1.52,1.52 0,0 0,-0.34 0.22c0,-0.16 -0.06,-0.31 -0.08,-0.46a3.81,3.81 0,0 0,-1 2.92c-0.23,3.44 1.94,9 4,11.59a6.53,6.53 0,0 0,2.73 1.6,4.33 4.33,0 0,1 -0.51,0.31 10.86,10.86 0,0 1,-1.11 0.53,5.83 5.83,0 0,1 -1.65,0.43 7.7,7.7 0,0 0,-5.72 2.78c-2,2.6 -3.28,6.15 0.7,9.27l14.45,5S822.54,541.58 821.24,536.01Z">
<aapt:attr name="android:fillColor">
<gradient
android:startY="546.18"
android:startX="706.22"
android:endY="57.519997"
android:endX="706.22"
android:type="linear">
<item android:offset="0" android:color="#3F808080"/>
<item android:offset="0.54" android:color="#1E808080"/>
<item android:offset="1" android:color="#19808080"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M726.33,545.25l-14,-5c-3.86,-3.12 -2.63,-6.67 -0.68,-9.28a7.48,7.48 0,0 1,5.54 -2.78,6.64 6.64,0 0,0 2.67,-0.95 6.4,6.4 0,0 0,2.22 -2,10.33 10.33,0 0,0 1.59,-5.41s15.36,-4.5 19.56,0a11.37,11.37 0,0 1,1.86 2.73,22.85 22.85,0 0,1 2,9.89s0.78,4.88 2.05,10.46S726.33,545.25 726.33,545.25Z"
android:fillColor="#2d293d"/>
<path
android:pathData="M794.77,538.35l-14,-5c-3.86,-3.12 -2.63,-6.67 -0.68,-9.27a7.39,7.39 0,0 1,5.53 -2.78,5.19 5.19,0 0,0 1.6,-0.43 10.61,10.61 0,0 0,1.08 -0.53c3.91,-2.15 3.81,-7.43 3.81,-7.43s15.35,-4.5 19.56,0a11.08,11.08 0,0 1,1.47 2c2.63,4.55 2.34,10.62 2.34,10.62s0.78,4.89 2,10.46S794.77,538.35 794.77,538.35Z"
android:fillColor="#2d293d"/>
<path
android:fillColor="#FF000000"
android:pathData="M743.24,519.82a11.37,11.37 0,0 1,1.86 2.73h0l-23,2.67a10.33,10.33 0,0 0,1.59 -5.41S739.04,515.32 743.24,519.82Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M813.16,514.93v4.31c-3.58,5.89 -20.89,4.6 -25.92,1.65a10.61,10.61 0,0 0,1.08 -0.53c3.91,-2.15 3.81,-7.43 3.81,-7.43s15.35,-4.5 19.56,0A11.08,11.08 0,0 1,813.16 514.93Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M815.89,496.35a39.2,39.2 0,0 0,-2.73 5.87L813.16,517.67c-3.92,6.45 -24.25,4.3 -27,0.78S780.54,505.77 783.63,504.18s5.67,-9.39 5.67,-9.39 -3.33,0.78 -8.61,-5.48 -3.71,-20.14 -2.73,-23.46 0,-14.47 0,-14.47 0.2,-7.83 -1.36,-10.37 -4.89,-17 -4.89,-17 0,-4.89 -2.74,-7.43 -4.5,-12.52 -4.5,-12.52a12.83,12.83 0,0 1,-1.95 -8.41c0.58,-4.89 -3.33,-10.17 -3.33,-10.17L752.54,364.35l-6.26,-15.84 -3.52,9.19s-1,21.51 -0.19,26 2,16.43 2,16.43 -3.91,7.82 -2.15,14.47S743.54,435.54 743.54,435.54s1.76,29.52 0.19,31.87 -1.37,8.22 -1.37,8.22 8,17.2 5.48,19.55 -1.76,8.8 -1.76,8.8 5.47,0 3.13,2.35 -4.11,14.67 -4.11,14.67L721.45,523.77s-2.16,-2.73 -5.29,-10 0.58,-6.45 3.73,-7.24 1.16,-2.73 -2.56,-5.08 -1.56,-7.63 -1.56,-7.63 5.67,-9.58 3.71,-10.36 -2.15,-14.28 -2.15,-14.28 -3.91,-16 -2.93,-20.34 -3.13,-14.66 -3.13,-14.66l-1.37,-12.32a33.9,33.9 0,0 1,-4.3 -23.28v-19s-5.48,-36.76 -6.26,-55.34c-0.5,-11.9 -0.36,-28.14 -0.2,-38.27 0.1,-5.68 0.2,-9.45 0.2,-9.45l84.48,-8.8s-0.08,3.9 1.53,12.55c0.87,4.64 2.22,10.65 4.34,18.16 6.06,21.51 2.35,37.54 2.35,37.54l-0.79,27.19s7.43,18.18 5.87,24.44A52.13,52.13 0,0 0,795.54 398.96s16.62,39.7 14.86,51.24 5.47,29.73 5.47,29.73S817.85,492.83 815.89,496.35Z"
android:fillColor="#464353"/>
<path
android:fillColor="#FF000000"
android:pathData="M767.59,394.47l25.72,-3.43S778.74,405.91 767.59,394.47Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M789.59,365.91s0.88,9.1 -4.69,12.52C784.9,378.43 794.87,376.87 789.59,365.91Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M788.01,336.97s-21.5,17.7 -29.32,16.23S788.01,336.97 788.01,336.97Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M735.71,402.77s-16.33,3.71 -16.82,10.27S735.71,402.77 735.71,402.77Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M739.3,484.33s-23.07,4.3 -16.52,7.23 17.31,5.28 17.31,5.28S747.54,497.23 739.3,484.33Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M718.12,496.22a4.55,4.55 0,0 1,-2.11 -3.34l-0.24,0.41s-2.15,5.28 1.57,7.62c0.42,0.27 0.83,0.54 1.2,0.8 0.69,-0.13 1.43,-0.23 2.14,-0.41C723.83,500.52 721.84,498.57 718.12,496.22Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M747.84,494.65c0.64,-0.58 0.62,-2.08 0.23,-4 -1,1.51 -1.29,3.87 -1.31,5.66A4.88,4.88 0,0 1,747.84 494.65Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M744.29,397.36a26.67,26.67 0,0 0,-1.56 7.19,29 29,0 0,1 1.79,-4.94Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M797.13,387.1a9.18,9.18 0,0 0,0.21 -2.14c-0.29,1.46 -0.49,2.81 -0.64,4C796.83,388.35 796.97,387.77 797.13,387.1Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M743.74,466.89c0.32,-0.48 0.5,-2.1 0.58,-4.35a14.77,14.77 0,0 0,-1.13 5.49A5.25,5.25 0,0 1,743.74 466.89Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M748.54,503.77a77.62,77.62 0,0 0,-2.69 12l-23.65,2.73s-2.16,-2.73 -5.29,-10a18.1,18.1 0,0 1,-0.67 -1.72c-1.42,0.65 -2,2.12 -0.12,6.41 3.13,7.24 5.3,10 5.3,10l23.65,-2.74s1.76,-12.32 4.1,-14.67C750.37,504.65 749.63,504.06 748.54,503.77Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M717.34,468.65s0.19,13.49 2.15,14.27h0c1,-2.23 1.65,-4.35 0.77,-4.7 -2,-0.78 -2.15,-14.28 -2.15,-14.28s-3.91,-16 -2.93,-20.34 -3.13,-14.66 -3.13,-14.66l-1.37,-12.32a33.9,33.9 0,0 1,-4.3 -23.28v-19s-5.48,-36.76 -6.26,-55.34c-0.5,-11.9 -0.36,-28.14 -0.2,-38.27 0,-1.83 0.06,-3.45 0.09,-4.82l-0.67,0.07s-0.11,3.76 -0.2,9.45c-0.16,10.13 -0.31,26.37 0.2,38.26 0.78,18.58 6.25,55.35 6.25,55.35v19a33.92,33.92 0,0 0,4.31 23.27l1.36,12.32s4.11,10.36 3.13,14.67S717.34,468.65 717.34,468.65Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M786.96,513.23a22.87,22.87 0,0 1,-3.75 -9.29c-2.41,2.18 0.36,10.64 3,14 2.73,3.52 23.07,5.67 27,-0.79v-3.72C807.88,518.66 789.54,516.56 786.96,513.23Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M816.68,491.13a39.51,39.51 0,0 0,-2.74 5.87L813.94,499.77c0.45,-1 1.08,-2.34 2,-3.92a12,12 0,0 0,0.86 -4.85S816.71,491.09 816.68,491.13Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M788.16,494.22a38.66,38.66 0,0 0,1.93 -4.65s-3.33,0.78 -8.61,-5.48c-3.84,-4.55 -4.06,-13.15 -3.51,-18.77 -1,3.33 -2.55,17.21 2.73,23.47C784.15,492.88 786.76,493.96 788.16,494.22Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:fillColor="#FF000000"
android:pathData="M777.96,450.85a104.22,104.22 0,0 1,0.39 11.59,15.82 15.82,0 0,1 0.4,-1.81c1,-3.33 0,-14.47 0,-14.47s0.2,-7.83 -1.37,-10.37S772.54,418.77 772.54,418.77s0,-4.89 -2.74,-7.43 -4.5,-12.52 -4.5,-12.52a12.87,12.87 0,0 1,-2 -8.41c0.59,-4.89 -3.32,-10.17 -3.32,-10.17l-6.65,-21.12 -6.26,-15.84L743.54,352.48s0,1.16 -0.12,3l2.86,-7.47L752.54,363.82l6.65,21.12s3.91,5.28 3.32,10.17a12.87,12.87 0,0 0,2 8.41s1.76,10 4.5,12.52 2.73,7.43 2.73,7.43 3.33,14.47 4.89,17S777.96,450.85 777.96,450.85Z"
android:strokeAlpha="0.05"
android:fillAlpha="0.05"/>
<path
android:pathData="M794.38,91.05l-1.47,7.14 0.09,3.18 0.06,2.34 -8.16,0.84 -0.91,-1.69h0c-1.69,-3.06 -5.2,-9.28 -6.33,-10.24 -1.51,-1.26 -4.2,-21.12 -1,-19.94a8.53,8.53 0,0 1,4.54 4.11S797.27,78.63 794.38,91.05Z"
android:fillColor="#ffcdd3"/>
<path
android:fillColor="#FF000000"
android:pathData="M793.06,103.71l-8.16,0.84 -0.91,-1.69h0a7.19,7.19 0,0 1,9 -1.48Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M795.12,107.58l-10.76,2.49 -0.23,-1.6 -0.61,-4.31s4.26,-5.68 10.42,-1.42l0.54,2.19Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M620.82,91.83l-11.49,6.16 -1,-2.16c-1.09,-2.29 -2.72,-5.74 -3.17,-7 -0.68,-1.9 -5.47,-4.3 -5.47,-4.3 -12,-11.49 2.3,-21.37 2.3,-21.37 7.58,-15.25 16,5.18 16,5.18s1.18,10.77 0.35,11.49 -0.83,3.67 -0.83,3.67a45.14,45.14 0,0 1,2.77 6.57C620.63,91.16 620.82,91.83 620.82,91.83Z"
android:fillColor="#ffcdd3"/>
<path
android:fillColor="#FF000000"
android:pathData="M620.82,91.83l-11.49,6.16 -1,-2.16c1.62,-1.36 7.37,-6 9.26,-5.81a13.84,13.84 0,0 0,2.72 0.07C620.63,91.16 620.82,91.83 620.82,91.83Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M621.99,95.3l-12.91,6.36 -0.26,-2.77 -0.18,-1.92s7.48,-6.41 9.69,-6.16a11.75,11.75 0,0 0,3.37 0l0.15,2.32Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M763.09,138.48s-56.28,6.35 -45.76,2.93c7.32,-2.39 10.23,-7 10.84,-12.2 0.5,-4.33 -0.62,-9 -2.09,-13a56.68,56.68 0,0 0,-5 -10.17s43,-23.66 34.41,-2.15a34.68,34.68 0,0 0,-2.44 10.19,28.79 28.79,0 0,0 1.11,10.32A30.73,30.73 0,0 0,763.09 138.48Z"
android:fillColor="#ffcdd3"/>
<path
android:fillColor="#FF000000"
android:pathData="M755.46,103.86a34.68,34.68 0,0 0,-2.44 10.19c-4.05,3.41 -8.49,3.18 -14.2,3.18 -4.38,0 -9.24,1.06 -12.74,-1.05a56.68,56.68 0,0 0,-5 -10.17S764.07,82.35 755.46,103.86Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M738.06,95.46m-23.27,0a23.27,23.27 0,1 1,46.54 0a23.27,23.27 0,1 1,-46.54 0"
android:fillColor="#ffcdd3"/>
<path
android:fillColor="#FF000000"
android:pathData="M763.09,138.48s-56.28,6.35 -45.76,2.93c7.32,-2.39 10.23,-7 10.84,-12.2 2.8,-3 8.43,-5.23 12,-6.39a16.84,16.84 0,0 1,10.2 -0.17,14.5 14.5,0 0,1 3.71,1.72A30.73,30.73 0,0 0,763.09 138.48Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M795.12,107.58l-10.76,2.49 -0.23,-1.6a9.52,9.52 0,0 1,10.35 -3.54Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M621.99,95.3l-12.91,6.36 -0.26,-2.77a94.16,94.16 0,0 1,13 -5.77Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M785.35,280.29C763.54,283.77 732.54,288.21 727.62,286.71c-4.09,-1.24 -17.13,-1.11 -28.48,-0.72 0.1,-5.68 0.2,-9.45 0.2,-9.45l84.48,-8.8S783.74,271.64 785.35,280.29Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M807.09,275.17s-71.77,12.32 -79.47,10 -47.25,0.19 -47.25,0.19c-17.8,11.93 -10.37,-5.67 -10.37,-5.67s-1.56,-9.19 0.59,-16.62A101.54,101.54 0,0 0,673.54 246.43s-0.39,-11.74 1.76,-14.48 4.7,-22.29 4.7,-22.29 1.95,-13.3 1.76,-16.23 0.58,-11.15 0.58,-11.15l2.55,-13.69c-14.67,-1.95 -59.26,-29.33 -59.26,-29.33 -2.15,-9.19 -18.77,-30.7 -18.77,-30.7a22.63,22.63 0,0 0,-1.37 -5.28c-1.17,-3.13 16.43,-9.39 16.43,-9.39s13.1,16 15.84,20.34 12.12,12.32 12.12,12.32a9.43,9.43 0,0 1,4.3 0.56l0.23,0.07h0a34.86,34.86 0,0 1,8.75 5,17 17,0 0,1 11.93,4.5s8,-1.18 9.39,0.19 8.21,0 8.21,0 6.84,-14.47 11.34,-10.27 23.59,4 23.59,4c2.54,-3.38 8.73,-5.8 12.6,-7a16.91,16.91 0,0 1,10.2 -0.17,12.94 12.94,0 0,1 4,2L766.03,136.77s3.32,-4.31 2.93,-5.28 3.91,-1.76 3.91,-1.76 5.67,-1.76 7.82,-2.35 4.12,1.74 4.3,1.95c-0.07,-0.25 -1.54,-5 -1,-8.6s-2.35,-7 -2.35,-7c6.84,-16.82 22.29,-2.74 22.29,-2.74s1.76,9.19 0.2,12.71 1.56,10.95 1.17,12.91 0.79,5.28 0.79,9 -2,10.75 -3.13,13.88 -10.56,10.17 -10.56,10.17 -0.59,11.15 -4.7,17.6S786.17,215.77 786.17,215.77s3.91,17.21 8.8,22.69S807.09,275.17 807.09,275.17Z"
android:fillColor="#3f3d56"/>
<path
android:fillColor="#FF000000"
android:pathData="M702.47,146.49s-2.15,-6.45 -4.11,-7a45.24,45.24 0,0 1,-5.67 -2.54l1.26,-2.41s7.34,2 8.52,4.17S702.47,146.49 702.47,146.49Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M663.16,132.22c-0.39,2 -17.8,3.71 -17.8,3.71l8.8,-8.82h0l0.22,0.08h0A34.86,34.86 0,0 1,663.16 132.22Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M612.8,105.38m-1.56,0a1.56,1.56 0,1 1,3.12 0a1.56,1.56 0,1 1,-3.12 0"
android:fillColor="#575988"/>
<path
android:pathData="M614.8,108.51m-1.56,0a1.56,1.56 0,1 1,3.12 0a1.56,1.56 0,1 1,-3.12 0"
android:fillColor="#575988"/>
<path
android:pathData="M616.76,111.4m-1.56,0a1.56,1.56 0,1 1,3.12 0a1.56,1.56 0,1 1,-3.12 0"
android:fillColor="#575988"/>
<path
android:pathData="M618.81,114.52m-1.56,0a1.56,1.56 0,1 1,3.12 0a1.56,1.56 0,1 1,-3.12 0"
android:fillColor="#575988"/>
<path
android:pathData="M803.15,114.35m-1.27,0a1.27,1.27 0,1 1,2.54 0a1.27,1.27 0,1 1,-2.54 0"
android:fillColor="#575988"/>
<path
android:pathData="M803.35,117.24m-1.27,0a1.27,1.27 0,1 1,2.54 0a1.27,1.27 0,1 1,-2.54 0"
android:fillColor="#575988"/>
<path
android:pathData="M803.52,120.12m-1.27,0a1.27,1.27 0,1 1,2.54 0a1.27,1.27 0,1 1,-2.54 0"
android:fillColor="#575988"/>
<path
android:fillColor="#FF000000"
android:pathData="M702.54,199.49c-0.19,-0.23 43.9,55.44 78.12,23.27C780.69,222.77 726.62,230.1 702.54,199.49Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M677.24,228.43s26.38,0.72 29.14,8.31v7.9a5.06,5.06 0,0 1,-4.91 0c-2.66,-1.44 -18.61,-9.54 -24.23,-5.64Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M677.73,228.43s25.23,0.69 27.87,7.93v7.52a4.84,4.84 0,0 1,-4.7 0c-2.54,-1.36 -17.79,-9.09 -23.17,-5.37Z"
android:fillColor="#3f3d56"/>
<path
android:fillColor="#FF000000"
android:pathData="M691.64,171.15a84.88,84.88 0,0 0,10.23 17.55,68.86 68.86,0 0,0 16,15.47S692.08,174.77 691.64,171.15Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M683.01,140.5s4.4,19 15.74,25.45Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M676.26,142.42c-0.11,-0.35 -3.91,15 14.62,23.53C690.88,165.95 683.01,163.28 676.26,142.42Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M791.45,129.68c-0.29,0 9.14,6 11.71,8.8C803.16,138.48 797.02,129.28 791.45,129.68Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M731.77,116.55a3.67,3.67 0,0 0,4 3.63c7.09,0.44 14.48,0.75 21,-2a8,8 0,0 0,3.2 -2.12c1.16,-1.43 1.39,-3.37 1.86,-5.15 0.92,-3.48 2.88,-6.57 4.29,-9.88a33.1,33.1 0,0 0,2.31 -17.75,12 12,0 0,0 -1.78,-5.19c-1.88,-2.69 -5.31,-3.78 -7.8,-5.92s-4.09,-5.41 -7,-7c-2.62,-1.46 -5.83,-1.28 -8.78,-0.78a46.09,46.09 0,0 0,-16.38 6.15c-1.69,1 -3.54,2.23 -5.48,1.86 -1.7,-0.32 -2.94,-1.75 -4,-3.09A21.66,21.66 0,0 0,715.54 79.46a4.36,4.36 0,0 1,-0.05 1.53,4.6 4.6,0 0,1 -1.09,1.61c-1.75,2 -2.84,5.25 -1.11,7.31 0.75,0.89 1.91,1.38 2.64,2.29 1.31,1.63 0.87,4 0.84,6.08a3.13,3.13 0,0 0,0.52 2.06,3 3,0 0,0 2.87,0.69 7.81,7.81 0,0 1,3.06 -0.29,5.13 5.13,0 0,1 2.66,2C729.11,106.95 730.39,111.53 731.77,116.55Z"
android:fillColor="#2d293d"/>
<path
android:fillColor="#FF000000"
android:pathData="M760.8,114.29a8,8 0,0 1,-3.2 2.12c-6.56,2.73 -13.94,2.42 -21,2a4.92,4.92 0,0 1,-2.19 -0.49c-1.08,-0.63 -1.49,-1.95 -1.82,-3.15 -1.38,-5 -2.65,-9.59 -5.93,-13.76a5.14,5.14 0,0 0,-2.66 -2.05,8.2 8.2,0 0,0 -3.06,0.29 3,3 0,0 1,-2.87 -0.68,3.13 3.13,0 0,1 -0.52,-2.06c0,-2.1 0.47,-4.45 -0.84,-6.08 -0.73,-0.91 -1.89,-1.4 -2.64,-2.3a4.56,4.56 0,0 1,-0.45 -4.66c-1.25,2 -1.78,4.51 -0.33,6.23 0.75,0.89 1.91,1.38 2.64,2.29 1.31,1.64 0.87,4 0.84,6.08a3.11,3.11 0,0 0,0.51 2.06,3 3,0 0,0 2.88,0.69 7.81,7.81 0,0 1,3.06 -0.29,5.13 5.13,0 0,1 2.66,2c3.27,4.17 4.55,8.75 5.93,13.77A5,5 0,0 0,733.54 119.47a4.85,4.85 0,0 0,2.2 0.48c7.09,0.44 14.48,0.76 21,-2a7.92,7.92 0,0 0,3.2 -2.12,6.11 6.11,0 0,0 1,-1.88C760.95,114.08 760.88,114.19 760.8,114.29Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M715.54,80.38a3.42,3.42 0,0 0,0.71 -1.18,4.36 4.36,0 0,0 0,-1.53 21.69,21.69 0,0 1,1.09 -8.42l-0.13,-0.15A21.5,21.5 0,0 0,715.54 79.24,7.23 7.23,0 0,1 715.54,80.38Z"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M727.62,130.65s29.07,3.86 31.68,-0.51"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:fillColor="#FF000000"
android:pathData="M784.13,118.62s16.16,0 19.71,6.08"
android:strokeAlpha="0.1"
android:fillAlpha="0.1"/>
<path
android:pathData="M874.54,658.77a25.63,25.63 0,0 1,-17.45 6.52c-1.64,0 -3.91,0.31 -3.92,1.95a2.75,2.75 0,0 0,0.48 1.34,16.05 16.05,0 0,0 9,7.07c3.5,1.06 7.24,0.88 10.89,0.69l10.65,-0.55c2,-0.11 4,-0.21 6,-0.46s4.18,-0.66 6.27,-1a82,82 0,0 1,15.51 -0.72c1.38,0.05 3,0 3.82,-1s0.4,-2.91 0.09,-4.41c-0.64,-3.09 0,-6.33 -0.59,-9.43 -1,-5.44 -5.71,-9.61 -10.87,-11.58 -4.8,-1.82 -13.3,-3.91 -17.84,-0.87C881.79,649.51 878.86,654.84 874.54,658.77Z"
android:fillColor="#3f3d56"/>
<path
android:pathData="M885.12,476.51c0.94,4.47 5.27,7.89 5.39,12.45 0.11,3.66 -2.5,6.73 -4.38,9.86a65.78,65.78 0,0 0,-4.47 10.12A154.59,154.59 0,0 1,868.54 535.04c-2.5,4 -5.3,8.27 -4.73,12.92a19.36,19.36 0,0 0,2.27 6.18l7.5,14.9a43.15,43.15 0,0 1,3.83 9.41c0.65,2.83 0.71,5.76 1.09,8.64 1.18,9.14 5.47,18.34 2.93,27.2 -0.22,0.76 -1,1.68 -1.61,1.15 2.48,4.63 4.47,9.29 4.28,14.54 -0.1,2.75 -0.94,5.62 0.07,8.18 0.43,1.07 1.18,2.07 1.17,3.22 0,0.76 -0.35,1.47 -0.43,2.21 -0.21,2.11 1.73,3.87 3.74,4.54s4.2,0.62 6.23,1.23c3.9,1.17 6.69,4.53 10,6.86a21.29,21.29 0,0 0,11.52 3.75,2.9 2.9,0 0,0 1.7,-0.34 2.75,2.75 0,0 0,0.94 -2.06,11.44 11.44,0 0,0 -4.12,-9.94 4.5,4.5 0,0 1,-1.53 -1.6,3.86 3.86,0 0,1 -0.14,-1.79 134.78,134.78 0,0 0,-0.44 -24.6,37.36 37.36,0 0,1 -0.39,-7.83c0.21,-2.18 0.87,-4.34 0.63,-6.51s-1.35,-4.15 -2,-6.24c-1.16,-3.72 -0.84,-7.72 -1,-11.61 -0.2,-6.76 -1.75,-13.4 -3.29,-20 -0.61,-2.59 -1.28,-5.3 -3.11,-7.22 -1.56,-1.63 -4.08,-3.19 -3.49,-5.36a6.35,6.35 0,0 1,1.43 -2.13,8.55 8.55,0 0,0 1.78,-6.52 2.93,2.93 0,0 0,3.37 -1.58c12.18,-5.75 22,-17.25 26.38,-30a9.9,9.9 0,0 1,1.18 -2.68c1.13,-1.58 3.09,-2.26 4.83,-3.13 5.46,-2.75 9.23,-7.9 12.69,-12.94 2,-2.92 4,-5.94 4.9,-9.38a30.74,30.74 0,0 0,0.67 -6.77l0.31,-11.75a6.35,6.35 0,0 0,-0.22 -2.3,5.75 5.75,0 0,0 -1.27,-1.86 22.59,22.59 0,0 0,-12.46 -6.72c-3.2,-0.57 -6.47,-0.46 -9.71,-0.73 -6.28,-0.52 -12.48,-2.47 -18.76,-2 -9.87,0.73 -18.66,7.57 -23.31,16.31C890.34,473.77 888.62,476.45 885.12,476.51Z"
android:fillColor="#464353"/>
<path
android:pathData="M830.32,400.11a13.13,13.13 0,0 1,-0.72 5.35c-0.77,1.64 -2.7,2.92 -4.39,2.25 0.51,-1.15 -0.84,-2.46 -2.1,-2.32A3.93,3.93 0,0 0,820.34 407.77a8.85,8.85 0,0 0,-0.8 5.43c0.4,2.3 1.73,4.51 1.38,6.82 -0.28,1.92 -1.69,3.83 -0.94,5.61a9.09,9.09 0,0 0,1.81 2.17,6.12 6.12,0 0,1 -0.65,8.4l18.92,0.38c-0.69,3.16 0.73,6.39 2.35,9.2a58,58 0,0 0,43.24 28.23,3.76 3.76,0 0,0 -0.91,5.75c1.54,1.53 4.15,1.34 6.08,0.35s3.44,-2.63 5.2,-3.9a16,16 0,0 1,10.69 -2.88c2.37,0.23 4.67,1 7.05,1.12 7,0.37 13,-4.67 19.74,-6.73 4.91,-1.51 10.48,-1.51 14.6,-4.58 1.78,-1.32 3.24,-3.49 2.72,-5.63a9.41,9.41 0,0 0,-2 -3.31c-2.37,-3.07 -3.77,-6.76 -5.47,-10.25a61.31,61.31 0,0 0,-13.67 -18.32,122.31 122.31,0 0,0 -13.56,-10.28 23.12,23.12 0,0 0,-3.66 -2.21c-1.66,-0.73 -3.5,-1.08 -5,-2 -2.22,-1.4 -3.5,-3.87 -5.21,-5.86 -3.75,-4.38 -9.51,-6.39 -14.13,-9.83 -3.1,-2.31 -5.84,-5.35 -9.54,-6.46 -1.8,-0.55 -3.71,-0.59 -5.51,-1.13 -4.09,-1.24 -7.07,-4.87 -11.08,-6.34 -3.17,-1.16 -6.67,-0.86 -10,-1.27A23.41,23.41 0,0 1,841.54 376.27a12.4,12.4 0,0 0,-3.33 -1.94c-5.07,-1.54 -5.48,7.9 -6,11.17C831.54,390.36 830.32,395.19 830.32,400.11Z"
android:fillColor="#40e0d0"/>
<path
android:pathData="M835.26,431.77c0.85,9.22 -6.11,18.15 -4.08,27.18 0.43,1.92 1.26,3.75 1.56,5.7 0.85,5.35 -2.35,10.42 -5.4,14.9l-26.2,38.45a24.18,24.18 0,0 1,-3.74 4.62c-5,4.45 -12.52,4 -19.1,5.32a33,33 0,0 0,-12.8 5.66,0.83 0.83,0 0,0 -0.16,1.15 11,11 0,0 0,9.51 4.47c0.69,0.9 0,2.24 -0.95,2.89 -1.4,1 -3.34,1.23 -3.62,3.62a4,4 0,0 0,0.48 2.4,7.47 7.47,0 0,0 4.58,3.18c9.07,2.78 18.87,-2.1 25.66,-8.73s11.66,-15 18.32,-21.74c3.69,-3.74 7.88,-6.93 11.68,-10.55 7.58,-7.23 13.48,-16 19.16,-24.79 1.71,-2.65 3.44,-5.37 4.15,-8.44s0.38,-6.18 1.19,-9.15c1.06,-3.89 3.91,-7 6.28,-10.26 4.65,-6.4 7.76,-14.23 7.14,-22.12s-5.5,-15.67 -12.94,-18.35a11.63,11.63 0,0 0,-7.25 -0.44c-3.05,0.94 -5.3,3.46 -7.38,5.88l-5,5.74A13.39,13.39 0,0 0,833.54 432.77a4.61,4.61 0,0 0,1 4.9"
android:fillColor="#fbbebe"/>
<path
android:pathData="M848.54,393.95c-3.44,0.2 -7.23,0.54 -9.66,3a13.75,13.75 0,0 0,-2.44 3.82c-2.36,4.81 -4.66,9.84 -4.83,15.2 -0.14,4.28 1.1,8.47 1.75,12.7 0.54,3.52 -0.83,7.11 -1.09,10.67 4.27,-1.31 9.91,-3.09 13.78,-5.3 2.64,-1.51 5.19,-3.23 8.07,-4.19 4.11,-1.37 11,1 14.91,2.9 0.21,-2.74 -1.85,-7.52 -1.63,-10.27a11.47,11.47 0,0 1,0.61 -3.4,20.62 20.62,0 0,1 2.07,-3.29 13.46,13.46 0,0 0,-1.21 -15.77c-3.47,-3.9 -8.9,-5.36 -14.08,-6a60.9,60.9 0,0 0,-9.83 -0.34"
android:fillColor="#40e0d0"/>
</vector>
...@@ -5,9 +5,14 @@ ...@@ -5,9 +5,14 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
> >
<data> <data>
<variable
name="viewModelCart"
type="com.example.yourcashiertest.viewmodels.CartViewModel" />
<variable <variable
name="totalPrice" name="totalPrice"
type="String" /> type="String" />
<variable <variable
name="totalItems" name="totalItems"
type="String" /> type="String" />
...@@ -100,16 +105,18 @@ ...@@ -100,16 +105,18 @@
app:layout_constraintTop_toBottomOf="@+id/rvCartList" app:layout_constraintTop_toBottomOf="@+id/rvCartList"
app:layout_constraintVertical_bias="1.0" app:layout_constraintVertical_bias="1.0"
tools:layout_editor_absoluteX="39dp" /> tools:layout_editor_absoluteX="39dp" />
<include
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rvCartList" android:id="@+id/rvCartList"
layout="@layout/cart_item"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_marginTop="@dimen/space_default" android:layout_marginVertical="15dp"
app:layout_constraintStart_toStartOf="parent" android:padding="@dimen/space_small"
app:layout_constraintBottom_toTopOf="@id/btnCheckout"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/view" app:layout_constraintTop_toBottomOf="@+id/view"
/> tools:ignore="MissingConstraints" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
......
...@@ -6,15 +6,25 @@ ...@@ -6,15 +6,25 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingHorizontal="10dp" android:paddingHorizontal="10dp"
tools:context=".activities.ForgetPassword"> tools:context=".activities.ForgetPassword">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/tvResetPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25dp"
android:layout_marginStart="10dp"
android:layout_marginTop="50dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:textStyle="bold"
android:text="RESET PASSWORD"/>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilEmail" android:id="@+id/tilEmail"
app:boxBackgroundColor="@color/white" app:boxBackgroundColor="@color/white"
android:textColorHint="@color/grey" android:textColorHint="@color/grey"
app:boxStrokeColor="@color/black" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toBottomOf="@id/tvResetPassword"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginStart="@dimen/space_default" android:layout_marginStart="@dimen/space_default"
android:layout_marginEnd="@dimen/space_default" android:layout_marginEnd="@dimen/space_default"
...@@ -29,17 +39,65 @@ ...@@ -29,17 +39,65 @@
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:textSize="@dimen/text_default" /> android:textSize="@dimen/text_default" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.button.MaterialButton <com.google.android.material.textfield.TextInputLayout
android:id="@+id/btnResetPw" android:id="@+id/tilCrPw"
app:passwordToggleEnabled="true"
app:boxBackgroundColor="@color/white"
android:textColorHint="@color/grey"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/tilEmail"
android:layout_marginTop="20dp"
android:layout_marginStart="@dimen/space_default"
android:layout_marginEnd="@dimen/space_default"
android:layout_marginBottom="@dimen/space_default">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etCrPw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Current Password"
android:imeOptions="actionNext"
android:inputType="text"
android:textSize="@dimen/text_default" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilNewPw"
app:passwordToggleEnabled="true"
app:boxBackgroundColor="@color/white"
android:textColorHint="@color/grey"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/tilCrPw"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginStart="@dimen/space_default" android:layout_marginStart="@dimen/space_default"
android:layout_marginEnd="@dimen/space_default" android:layout_marginEnd="@dimen/space_default"
android:layout_marginBottom="@dimen/space_default">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/etNewPw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="New Password"
android:inputType="text"
android:imeOptions="actionNext"
android:textSize="@dimen/text_default" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/btnResetPw"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/colorPrimary" android:backgroundTint="@color/colorPrimary"
android:padding="@dimen/space_default" android:padding="@dimen/space_default"
android:text="RESET PASSWORD" android:text="RESET PASSWORD"
app:cornerRadius="@dimen/space_default" app:cornerRadius="@dimen/space_default"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tilEmail" /> app:layout_constraintTop_toBottomOf="@+id/tilNewPw"
app:layout_constraintVertical_bias="0.008" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
android:textStyle="bold" android:textStyle="bold"
android:text="Login"/> android:text="LOGIN"/>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilUsername" android:id="@+id/tilUsername"
......
...@@ -4,9 +4,15 @@ ...@@ -4,9 +4,15 @@
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<import type="android.view.View" />
<variable <variable
name="viewModel" name="viewModel"
type="com.example.yourcashiertest.viewmodels.ProductViewModel" /> type="com.example.yourcashiertest.viewmodels.ProductViewModel" />
<variable
name="visibility"
type="boolean" />
</data> </data>
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
......
...@@ -48,18 +48,23 @@ ...@@ -48,18 +48,23 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<RadioButton
android:id="@+id/rbCash"
android:layout_width="30dp"
android:layout_height="30dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/iv_cash"/>
<ImageView <ImageView
android:id="@+id/iv_cash" android:id="@+id/iv_cash"
android:layout_width="200dp" android:layout_width="90dp"
android:layout_height="wrap_content" android:layout_height="90dp"
android:src="@drawable/wallet" android:src="@drawable/ic_undraw_wallet"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@id/rbCash"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.8" />
<TextView <TextView
android:id="@+id/cash" android:id="@+id/cash"
...@@ -97,14 +102,13 @@ ...@@ -97,14 +102,13 @@
<ImageView <ImageView
android:id="@+id/iv_card" android:id="@+id/iv_card"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="wrap_content" android:layout_height="90dp"
android:src="@drawable/credit_card" android:src="@drawable/ic_undraw_credit_card"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintVertical_bias="0.8" />
<TextView <TextView
android:id="@+id/card" android:id="@+id/card"
......
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<data> <data>
<variable
name="photo"
type="String" />
<variable <variable
name="viewModel" name="viewModel"
type="com.example.yourcashiertest.viewmodels.ProductViewModel" /> type="com.example.yourcashiertest.viewmodels.ProductViewModel" />
...@@ -18,7 +15,7 @@ ...@@ -18,7 +15,7 @@
android:background="@color/white" android:background="@color/white"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <com.google.android.material.textview.MaterialTextView
android:id="@+id/tvHeadProduct" android:id="@+id/tvHeadProduct"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -42,11 +39,11 @@ ...@@ -42,11 +39,11 @@
<ImageView <ImageView
android:id="@+id/ivProduct" android:id="@+id/ivProduct"
android:layout_width="146dp" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:src="@drawable/unnamed" android:src="@drawable/unnamed"
app:file="@{photo}" /> app:file="@{viewModel.product.photo}"/>
</com.google.android.material.card.MaterialCardView> </com.google.android.material.card.MaterialCardView>
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="25dp" android:textSize="25dp"
android:layout_marginTop="80dp" android:layout_marginTop="50dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
android:textStyle="bold" android:textStyle="bold"
android:text="Register Account"/> android:text="REGISTER ACCOUNT"/>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilUsername" android:id="@+id/tilUsername"
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@+id/tvRegister" app:layout_constraintTop_toBottomOf="@+id/tvRegister"
android:layout_marginTop="60dp" android:layout_marginTop="40dp"
android:layout_marginStart="@dimen/space_default" android:layout_marginStart="@dimen/space_default"
android:layout_marginEnd="@dimen/space_default" android:layout_marginEnd="@dimen/space_default"
android:layout_marginBottom="@dimen/space_default"> android:layout_marginBottom="@dimen/space_default">
...@@ -98,11 +98,45 @@ ...@@ -98,11 +98,45 @@
android:imeOptions="actionNext" android:imeOptions="actionNext"
android:textSize="@dimen/text_default" /> android:textSize="@dimen/text_default" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textview.MaterialTextView
android:id="@+id/tvDescSk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="15dp"
android:text="By registering you have agreed to the"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tilPassword" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/tvSK"
android:onClick="tvSK"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="75dp"
android:layout_marginTop="10dp"
android:text="Terms and Conditions"
android:textColor="@color/blue"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvDescSk" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/tvYourCashier"
android:onClick="tvSignInHere"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="2dp"
android:layout_marginTop="10dp"
android:text="Your Cashier"
app:layout_constraintStart_toEndOf="@id/tvSK"
app:layout_constraintTop_toBottomOf="@id/tvDescSk"/>
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/btnRegister" android:id="@+id/btnRegister"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dp" android:layout_marginTop="15dp"
android:layout_marginStart="@dimen/space_default" android:layout_marginStart="@dimen/space_default"
android:layout_marginEnd="@dimen/space_default" android:layout_marginEnd="@dimen/space_default"
android:backgroundTint="@color/colorPrimary" android:backgroundTint="@color/colorPrimary"
...@@ -110,13 +144,13 @@ ...@@ -110,13 +144,13 @@
android:text="Register My Account" android:text="Register My Account"
app:cornerRadius="@dimen/space_default" app:cornerRadius="@dimen/space_default"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tilPassword" /> app:layout_constraintTop_toBottomOf="@+id/tvSK" />
<com.google.android.material.textview.MaterialTextView <com.google.android.material.textview.MaterialTextView
android:id="@+id/tvDontHaveAnAccount" android:id="@+id/tvDontHaveAnAccount"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="60dp" android:layout_marginStart="75dp"
android:layout_marginTop="15dp" android:layout_marginTop="15dp"
android:text="@string/dont_have_an_account" android:text="@string/dont_have_an_account"
app:layout_constraintEnd_toStartOf="@id/tvSignInHere" app:layout_constraintEnd_toStartOf="@id/tvSignInHere"
......
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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=".activities.SkActivity">
<WebView
android:id="@+id/wbCompany"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
tools:context=".materials.designs.webview.CompanyActivity" />
<ProgressBar
android:id="@+id/pbLoading"
android:layout_width="128dp"
android:layout_height="128dp"
android:layout_centerInParent="true" />
</RelativeLayout>
\ No newline at end of file
...@@ -17,12 +17,4 @@ ...@@ -17,12 +17,4 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<ProgressBar
android:id="@+id/pbLoading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivLogo"
app:layout_constraintBottom_toBottomOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<data> <data>
<variable <variable
name="cartProduct" name="cartProduct"
type="com.example.yourcashiertest.entities.Product" /> type="com.example.yourcashiertest.entities.Cart" />
<variable <variable
name="qty" name="qty"
type="String" /> type="String" />
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<variable <variable
name="visibility" name="visibility"
type="Boolean" /> type="boolean" />
</data> </data>
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/space_small" android:padding="@dimen/space_small"
android:visibility="visible" android:visibility="@{visibility ? View.VISIBLE : View.GONE}"
android:src="@drawable/ic_update" android:src="@drawable/ic_update"
app:layout_constraintBottom_toBottomOf="@+id/iv_product" app:layout_constraintBottom_toBottomOf="@+id/iv_product"
app:layout_constraintStart_toStartOf="@+id/iv_product" app:layout_constraintStart_toStartOf="@+id/iv_product"
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:padding="@dimen/space_small" android:padding="@dimen/space_small"
android:visibility="visible" android:visibility="@{visibility ? View.VISIBLE : View.GONE}"
android:src="@drawable/ic_delete" android:src="@drawable/ic_delete"
app:layout_constraintBottom_toBottomOf="@+id/iv_product" app:layout_constraintBottom_toBottomOf="@+id/iv_product"
app:layout_constraintEnd_toEndOf="@+id/iv_product" app:layout_constraintEnd_toEndOf="@+id/iv_product"
......
...@@ -6,4 +6,7 @@ ...@@ -6,4 +6,7 @@
<item <item
android:id="@+id/item_two" android:id="@+id/item_two"
android:title="Update / Delete Product"/> android:title="Update / Delete Product"/>
<item
android:id="@+id/item_three"
android:title="Log Out"/>
</menu> </menu>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment