Gifv player

This commit is contained in:
Grishka
2022-02-08 23:37:48 +03:00
parent 990f364bf9
commit 90bd7baa94
10 changed files with 362 additions and 81 deletions

View File

@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="28dp"
android:height="28dp"
android:viewportWidth="28"
android:viewportHeight="28">
<path
android:pathData="M21.875,4.084C23.9691,4.084 25.6667,5.7816 25.6667,7.8756V20.1287C25.6667,22.2227 23.9691,23.9203 21.875,23.9203H6.125C4.0309,23.9203 2.3333,22.2227 2.3333,20.1287V7.8756C2.3333,5.7816 4.0309,4.084 6.125,4.084H21.875ZM9.3504,10.3506C7.4531,10.3506 6.1379,11.9953 6.1379,13.9934C6.1379,15.9922 7.4534,17.6403 9.3504,17.6403C10.3861,17.6403 11.3373,17.1421 11.814,16.2241L11.9029,16.0349L11.9303,15.9537L11.9514,15.8666L11.9602,15.7698L11.9605,13.9956L11.9526,13.8878C11.9063,13.5753 11.6617,13.3274 11.3507,13.2761L11.2313,13.2664H10.0628L9.955,13.2743C9.6425,13.3206 9.3946,13.5652 9.3433,13.8761L9.3336,13.9956L9.3415,14.1033C9.3878,14.4159 9.6324,14.6638 9.9433,14.715L10.0628,14.7247L10.5012,14.7244V15.5808L10.494,15.5978C10.2738,15.9722 9.8504,16.182 9.3504,16.182C8.3402,16.182 7.5962,15.2499 7.5962,13.9934C7.5962,12.738 8.3392,11.8089 9.3504,11.8089C9.842,11.8089 10.1218,11.8629 10.4716,12.0308C10.8346,12.2052 11.2702,12.0522 11.4446,11.6892C11.6189,11.3262 11.4659,10.8906 11.1029,10.7162C10.5391,10.4455 10.0468,10.3506 9.3504,10.3506ZM14.7338,10.4929C14.3677,10.4929 14.0646,10.7627 14.0125,11.1144L14.0046,11.2221V16.7779L14.0125,16.8857C14.0646,17.2373 14.3677,17.5071 14.7338,17.5071C15.0999,17.5071 15.403,17.2373 15.455,16.8857L15.4629,16.7779V11.2221L15.455,11.1144C15.403,10.7627 15.0999,10.4929 14.7338,10.4929ZM20.5592,10.501L18.2289,10.4929C17.8628,10.4917 17.5588,10.7604 17.5055,11.1119L17.4972,11.2196V16.7592L17.5051,16.8669C17.5514,17.1794 17.796,17.4274 18.1069,17.4786L18.2264,17.4883L18.3341,17.4804C18.6467,17.4341 18.8946,17.1895 18.9458,16.8786L18.9555,16.7592L18.9549,15.4583L20.265,15.4588L20.3728,15.4509C20.6853,15.4046 20.9332,15.16 20.9844,14.8491L20.9942,14.7297L20.9863,14.6219C20.94,14.3094 20.6954,14.0615 20.3845,14.0102L20.265,14.0005L18.9549,13.9999V11.9524L20.5542,11.9593L20.6619,11.9518C21.0137,11.9009 21.2846,11.5988 21.2859,11.2327C21.2871,10.8666 21.0184,10.5626 20.6669,10.5093L20.5592,10.501L18.2289,10.4929L20.5592,10.501Z"
android:fillColor="#000000"
android:fillAlpha="0.8"/>
<path
android:pathData="M6.1379,13.9933C6.1379,11.9953 7.4531,10.3506 9.3504,10.3506C10.0468,10.3506 10.5391,10.4455 11.1029,10.7162C11.4659,10.8905 11.6189,11.3261 11.4446,11.6892C11.2702,12.0522 10.8346,12.2051 10.4716,12.0308C10.1218,11.8628 9.842,11.8089 9.3504,11.8089C8.3392,11.8089 7.5962,12.738 7.5962,13.9933C7.5962,15.2498 8.3402,16.182 9.3504,16.182C9.8504,16.182 10.2738,15.9721 10.494,15.5977L10.5012,15.5808V14.7244L10.0628,14.7247L9.9433,14.715C9.6324,14.6638 9.3878,14.4158 9.3415,14.1033L9.3336,13.9956L9.3433,13.8761C9.3946,13.5652 9.6425,13.3206 9.955,13.2743L10.0628,13.2664H11.2313L11.3507,13.2761C11.6616,13.3274 11.9063,13.5753 11.9526,13.8878L11.9605,13.9956L11.9602,15.7697L11.9514,15.8666L11.9303,15.9536L11.9029,16.0349L11.814,16.2241C11.3373,17.142 10.3861,17.6403 9.3504,17.6403C7.4533,17.6403 6.1379,15.9922 6.1379,13.9933ZM14.0125,11.1143C14.0646,10.7627 14.3677,10.4929 14.7338,10.4929C15.0999,10.4929 15.403,10.7627 15.455,11.1143L15.4629,11.2221V16.7779L15.455,16.8857C15.403,17.2373 15.0999,17.5071 14.7338,17.5071C14.3677,17.5071 14.0646,17.2373 14.0125,16.8857L14.0046,16.7779V11.2221L14.0125,11.1143ZM18.2289,10.4929L20.5592,10.501L20.6669,10.5092C21.0183,10.5625 21.2871,10.8666 21.2858,11.2326C21.2846,11.5987 21.0137,11.9009 20.6619,11.9518L20.5542,11.9593L18.9549,11.9524V13.9999L20.265,14.0005L20.3844,14.0102C20.6954,14.0614 20.94,14.3093 20.9863,14.6219L20.9942,14.7296L20.9844,14.8491C20.9332,15.16 20.6853,15.4046 20.3728,15.4509L20.265,15.4588L18.9549,15.4583L18.9555,16.7591L18.9458,16.8786C18.8946,17.1895 18.6467,17.4341 18.3341,17.4804L18.2264,17.4883L18.1069,17.4786C17.796,17.4273 17.5514,17.1794 17.5051,16.8669L17.4972,16.7591V11.2196L17.5055,11.1118C17.5588,10.7604 17.8628,10.4917 18.2289,10.4929Z"
android:fillColor="#FCFCFD" />
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:pathData="M3,3.2739C3,1.567 4.8261,0.4817 6.3254,1.2975L18.687,8.0236C20.2531,8.8758 20.2531,11.1242 18.687,11.9764L6.3254,18.7025C4.8261,19.5183 3,18.433 3,16.7262V3.2739Z"
android:fillColor="#F9FAFB"/>
</vector>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<stroke android:color="@color/gray_50" android:width="4dp"/>
<solid android:color="#80000000"/>
<size android:width="52dp" android:height="52dp"/>
</shape>
</item>
<item android:drawable="@drawable/ic_play" android:gravity="center"/>
</layer-list>