Add new splash fragment image

This commit is contained in:
Kirill Kamakin
2021-11-23 22:15:48 +03:00
parent 6e92d6a233
commit cf9bd407a4
2 changed files with 59 additions and 15 deletions

View File

@@ -0,0 +1,56 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="360dp"
android:height="640dp"
android:viewportWidth="360"
android:viewportHeight="640">
<group>
<clip-path android:pathData="M0,0h360v640h-360z" />
<path android:pathData="M0,0h360v640h-360z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="360"
android:endY="640"
android:startX="4.00001"
android:startY="4"
android:type="linear">
<item
android:color="#FF9D76DC"
android:offset="0" />
<item
android:color="#FFDA59B6"
android:offset="0.5" />
<item
android:color="#FFF83563"
android:offset="0.96875" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#00000000"
android:pathData="M230.814,287.612L229.718,288.096L229.409,289.252L203.878,384.534C202.572,389.406 197.608,392.275 192.818,390.991L81.62,361.196C76.83,359.912 73.965,354.946 75.271,350.074L100.802,254.792L101.111,253.636L100.405,252.669C92.484,241.838 89.441,230.471 92.229,220.066C95.646,207.316 107.407,197.662 124.489,192.714C141.52,187.78 163.411,187.688 186.075,193.761C208.739,199.834 227.651,210.859 239.933,223.647C252.253,236.474 257.612,250.714 254.195,263.465C251.407,273.869 243.088,282.193 230.814,287.612ZM258.612,295.757L257.516,296.241L257.207,297.397L231.676,392.679C230.37,397.551 225.406,400.42 220.616,399.136L209.801,396.239C211.856,393.965 213.418,391.179 214.266,388.014L238.803,296.441C251.29,290.046 261.034,280.191 264.584,266.945C269.364,249.106 261.404,231.125 247.686,216.842C247.089,216.221 246.48,215.605 245.858,214.993C256.228,220.978 264.84,228.054 271.15,235.602C281.026,247.414 285.075,260.11 281.993,271.61C279.206,282.015 270.886,290.338 258.612,295.757Z"
android:strokeWidth="5"
android:strokeColor="#ffffff" />
<path
android:fillColor="#00000000"
android:pathData="M132,241.838C146.286,227.515 153.428,231.096 157,249"
android:strokeWidth="5"
android:strokeColor="#ffffff"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M190,257.838C204.286,243.515 211.428,247.096 215,265"
android:strokeWidth="5"
android:strokeColor="#ffffff"
android:strokeLineCap="round" />
<path
android:fillColor="#00000000"
android:pathData="M153.856,286.263C160.462,294.232 165.093,296.181 175.731,292.595"
android:strokeWidth="5"
android:strokeColor="#ffffff"
android:strokeLineCap="round" />
<path
android:fillColor="#ffffff"
android:pathData="M102.547,429.875L113.703,457.719L124.859,429.875H130.695V464H126.195V450.711L126.617,436.367L115.414,464H111.969L100.789,436.438L101.234,450.711V464H96.734V429.875H102.547ZM148.484,464.469C145.047,464.469 142.25,463.344 140.094,461.094C137.938,458.828 136.859,455.805 136.859,452.023V451.227C136.859,448.711 137.336,446.469 138.289,444.5C139.258,442.516 140.602,440.969 142.32,439.859C144.055,438.734 145.93,438.172 147.945,438.172C151.242,438.172 153.805,439.258 155.633,441.43C157.461,443.602 158.375,446.711 158.375,450.758V452.562H141.195C141.258,455.062 141.984,457.086 143.375,458.633C144.781,460.164 146.562,460.93 148.719,460.93C150.25,460.93 151.547,460.617 152.609,459.992C153.672,459.367 154.602,458.539 155.398,457.508L158.047,459.57C155.922,462.836 152.734,464.469 148.484,464.469ZM147.945,441.734C146.195,441.734 144.727,442.375 143.539,443.656C142.352,444.922 141.617,446.703 141.336,449H154.039V448.672C153.914,446.469 153.32,444.766 152.258,443.562C151.195,442.344 149.758,441.734 147.945,441.734ZM179.07,464C178.82,463.5 178.617,462.609 178.461,461.328C176.445,463.422 174.039,464.469 171.242,464.469C168.742,464.469 166.688,463.766 165.078,462.359C163.484,460.938 162.688,459.141 162.688,456.969C162.688,454.328 163.688,452.281 165.688,450.828C167.703,449.359 170.531,448.625 174.172,448.625H178.391V446.633C178.391,445.117 177.938,443.914 177.031,443.023C176.125,442.117 174.789,441.664 173.023,441.664C171.477,441.664 170.18,442.055 169.133,442.836C168.086,443.617 167.562,444.562 167.562,445.672H163.203C163.203,444.406 163.648,443.188 164.539,442.016C165.445,440.828 166.664,439.891 168.195,439.203C169.742,438.516 171.438,438.172 173.281,438.172C176.203,438.172 178.492,438.906 180.148,440.375C181.805,441.828 182.664,443.836 182.727,446.398V458.07C182.727,460.398 183.023,462.25 183.617,463.625V464H179.07ZM171.875,460.695C173.234,460.695 174.523,460.344 175.742,459.641C176.961,458.938 177.844,458.023 178.391,456.898V451.695H174.992C169.68,451.695 167.023,453.25 167.023,456.359C167.023,457.719 167.477,458.781 168.383,459.547C169.289,460.312 170.453,460.695 171.875,460.695ZM194.234,464H189.898V428H194.234V464ZM205.906,464H201.57V438.641H205.906V464ZM201.219,431.914C201.219,431.211 201.43,430.617 201.852,430.133C202.289,429.648 202.93,429.406 203.773,429.406C204.617,429.406 205.258,429.648 205.695,430.133C206.133,430.617 206.352,431.211 206.352,431.914C206.352,432.617 206.133,433.203 205.695,433.672C205.258,434.141 204.617,434.375 203.773,434.375C202.93,434.375 202.289,434.141 201.852,433.672C201.43,433.203 201.219,432.617 201.219,431.914ZM223.391,464.469C219.953,464.469 217.156,463.344 215,461.094C212.844,458.828 211.766,455.805 211.766,452.023V451.227C211.766,448.711 212.242,446.469 213.195,444.5C214.164,442.516 215.508,440.969 217.227,439.859C218.961,438.734 220.836,438.172 222.852,438.172C226.148,438.172 228.711,439.258 230.539,441.43C232.367,443.602 233.281,446.711 233.281,450.758V452.562H216.102C216.164,455.062 216.891,457.086 218.281,458.633C219.688,460.164 221.469,460.93 223.625,460.93C225.156,460.93 226.453,460.617 227.516,459.992C228.578,459.367 229.508,458.539 230.305,457.508L232.953,459.57C230.828,462.836 227.641,464.469 223.391,464.469ZM222.852,441.734C221.102,441.734 219.633,442.375 218.445,443.656C217.258,444.922 216.523,446.703 216.242,449H228.945V448.672C228.82,446.469 228.227,444.766 227.164,443.562C226.102,442.344 224.664,441.734 222.852,441.734ZM242.422,438.641L242.562,441.828C244.5,439.391 247.031,438.172 250.156,438.172C255.516,438.172 258.219,441.195 258.266,447.242V464H253.93V447.219C253.914,445.391 253.492,444.039 252.664,443.164C251.852,442.289 250.578,441.852 248.844,441.852C247.438,441.852 246.203,442.227 245.141,442.977C244.078,443.727 243.25,444.711 242.656,445.93V464H238.32V438.641H242.422ZM270.688,432.5V438.641H275.422V441.992H270.688V457.719C270.688,458.734 270.898,459.5 271.32,460.016C271.742,460.516 272.461,460.766 273.477,460.766C273.977,460.766 274.664,460.672 275.539,460.484V464C274.398,464.312 273.289,464.469 272.211,464.469C270.273,464.469 268.812,463.883 267.828,462.711C266.844,461.539 266.352,459.875 266.352,457.719V441.992H261.734V438.641H266.352V432.5H270.688Z" />
</group>
</vector>

View File

@@ -1,19 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout 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" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".ui.splash.SplashFragment"> android:background="@drawable/ic_splash_screen_background"
tools:context=".ui.splash.SplashFragment" />
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.7" />
</androidx.constraintlayout.widget.ConstraintLayout>