mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
xml formatted
This commit is contained in:
parent
962cb891a8
commit
18dbc4cf28
@ -4,13 +4,13 @@
|
|||||||
android:height="108dp"
|
android:height="108dp"
|
||||||
android:viewportWidth="108"
|
android:viewportWidth="108"
|
||||||
android:viewportHeight="108">
|
android:viewportHeight="108">
|
||||||
<group android:scaleX="0.084375"
|
<group
|
||||||
|
android:scaleX="0.084375"
|
||||||
android:scaleY="0.084375">
|
android:scaleY="0.084375">
|
||||||
<path
|
<path
|
||||||
android:pathData="M0,0h1280v1280h-1280z"
|
android:pathData="M0,0h1280v1280h-1280z"
|
||||||
android:fillColor="#161316" />
|
android:fillColor="#161316" />
|
||||||
<path
|
<path android:pathData="M880,639.6C880,637.1 878.6,634.7 876.4,633.4L495,410.4C488.4,406.5 480,411.3 480,419V515.2C480,518.8 481.9,522.1 485.1,523.9L675.1,631.2C681.9,635 681.9,644.8 675.1,648.6L485.1,755.9C481.9,757.7 480,761 480,764.6V860.8C480,868.5 488.4,873.3 495.1,869.4L876.4,645.9C878.6,644.6 880,642.2 880,639.6Z">
|
||||||
android:pathData="M880,639.6C880,637.1 878.6,634.7 876.4,633.4L495,410.4C488.4,406.5 480,411.3 480,419V515.2C480,518.8 481.9,522.1 485.1,523.9L675.1,631.2C681.9,635 681.9,644.8 675.1,648.6L485.1,755.9C481.9,757.7 480,761 480,764.6V860.8C480,868.5 488.4,873.3 495.1,869.4L876.4,645.9C878.6,644.6 880,642.2 880,639.6Z">
|
|
||||||
<aapt:attr name="android:fillColor">
|
<aapt:attr name="android:fillColor">
|
||||||
<gradient
|
<gradient
|
||||||
android:startX="680"
|
android:startX="680"
|
||||||
@ -18,8 +18,12 @@
|
|||||||
android:endX="680"
|
android:endX="680"
|
||||||
android:endY="870.8"
|
android:endY="870.8"
|
||||||
android:type="linear">
|
android:type="linear">
|
||||||
<item android:offset="0" android:color="#FFFF5A8B"/>
|
<item
|
||||||
<item android:offset="1" android:color="#FFFFD1A7"/>
|
android:offset="0"
|
||||||
|
android:color="#FFFF5A8B" />
|
||||||
|
<item
|
||||||
|
android:offset="1"
|
||||||
|
android:color="#FFFFD1A7" />
|
||||||
</gradient>
|
</gradient>
|
||||||
</aapt:attr>
|
</aapt:attr>
|
||||||
</path>
|
</path>
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
<vector android:height="24dp"
|
||||||
android:viewportHeight="24" android:viewportWidth="24"
|
android:tint="#FFFFFF"
|
||||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
android:viewportHeight="24"
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M7.41,8.59L12,13.17l4.59,-4.58L18,10l-6,6 -6,-6 1.41,-1.41z"/>
|
android:viewportWidth="24"
|
||||||
|
android:width="24dp"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M7.41,8.59L12,13.17l4.59,-4.58L18,10l-6,6 -6,-6 1.41,-1.41z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
android:viewportHeight="160"
|
android:viewportHeight="160"
|
||||||
android:viewportWidth="160"
|
android:viewportWidth="160"
|
||||||
android:tint="?attr/colorControlNormal">
|
android:tint="?attr/colorControlNormal">
|
||||||
<path android:fillColor="#FF000000" android:pathData="M30.24,64.96C27.52,67.61 23.16,67.55 20.51,64.82 17.86,62.1 17.92,57.74 20.64,55.09L75.43,1.97 80.23,6.9 75.42,1.95c2.74,-2.65 7.1,-2.58 9.76,0.15 0.08,0.08 0.15,0.16 0.23,0.24L139.36,55.1c2.72,2.65 2.78,7.01 0.13,9.73 -2.65,2.72 -7,2.78 -9.73,0.14L80.21,16.5Z"/>
|
<path
|
||||||
<path android:fillColor="#FF000000" android:pathData="M129.76,95.05C132.48,92.4 136.84,92.46 139.49,95.19 142.14,97.91 142.08,102.27 139.36,104.92L84.57,158.04 79.77,153.11 84.58,158.06c-2.74,2.65 -7.1,2.58 -9.76,-0.15 -0.08,-0.08 -0.15,-0.16 -0.23,-0.24L20.64,104.91c-2.72,-2.65 -2.78,-7.01 -0.13,-9.73 2.65,-2.72 7,-2.78 9.73,-0.14L79.79,143.51Z"/>
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M30.24,64.96C27.52,67.61 23.16,67.55 20.51,64.82 17.86,62.1 17.92,57.74 20.64,55.09L75.43,1.97 80.23,6.9 75.42,1.95c2.74,-2.65 7.1,-2.58 9.76,0.15 0.08,0.08 0.15,0.16 0.23,0.24L139.36,55.1c2.72,2.65 2.78,7.01 0.13,9.73 -2.65,2.72 -7,2.78 -9.73,0.14L80.21,16.5Z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M129.76,95.05C132.48,92.4 136.84,92.46 139.49,95.19 142.14,97.91 142.08,102.27 139.36,104.92L84.57,158.04 79.77,153.11 84.58,158.06c-2.74,2.65 -7.1,2.58 -9.76,-0.15 -0.08,-0.08 -0.15,-0.16 -0.23,-0.24L20.64,104.91c-2.72,-2.65 -2.78,-7.01 -0.13,-9.73 2.65,-2.72 7,-2.78 9.73,-0.14L79.79,143.51Z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
<vector android:height="24dp"
|
||||||
android:viewportHeight="24" android:viewportWidth="24"
|
android:tint="#FFFFFF"
|
||||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
android:viewportHeight="24"
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M19,12h-2v3h-3v2h5v-5zM7,9h3L10,7L5,7v5h2L7,9zM21,3L3,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h18c1.1,0 2,-0.9 2,-2L23,5c0,-1.1 -0.9,-2 -2,-2zM21,19.01L3,19.01L3,4.99h18v14.02z"/>
|
android:viewportWidth="24"
|
||||||
|
android:width="24dp"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M19,12h-2v3h-3v2h5v-5zM7,9h3L10,7L5,7v5h2L7,9zM21,3L3,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h18c1.1,0 2,-0.9 2,-2L23,5c0,-1.1 -0.9,-2 -2,-2zM21,19.01L3,19.01L3,4.99h18v14.02z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -1,74 +1,170 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<vector
|
<vector android:height="108dp"
|
||||||
android:height="108dp"
|
|
||||||
android:width="108dp"
|
android:width="108dp"
|
||||||
android:viewportHeight="108"
|
android:viewportHeight="108"
|
||||||
android:viewportWidth="108"
|
android:viewportWidth="108"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#3DDC84"
|
<path
|
||||||
|
android:fillColor="#3DDC84"
|
||||||
android:pathData="M0,0h108v108h-108z" />
|
android:pathData="M0,0h108v108h-108z" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
|
android:pathData="M9,0L9,108"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M19,0L19,108"
|
||||||
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
|
android:pathData="M29,0L29,108"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M39,0L39,108"
|
||||||
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
|
android:pathData="M49,0L49,108"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M59,0L59,108"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
|
android:pathData="M69,0L69,108"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M79,0L79,108"
|
||||||
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
|
android:pathData="M89,0L89,108"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M99,0L99,108"
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
|
android:pathData="M0,9L108,9"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
|
android:strokeWidth="0.8" />
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
<path
|
||||||
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:pathData="M0,19L108,19"
|
||||||
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
|
android:strokeColor="#33FFFFFF"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeWidth="0.8" />
|
||||||
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
|
<path
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:fillColor="#00000000"
|
||||||
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
|
android:pathData="M0,29L108,29"
|
||||||
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,39L108,39"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,49L108,49"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,59L108,59"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,69L108,69"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,79L108,79"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,89L108,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M0,99L108,99"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,29L89,29"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,39L89,39"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,49L89,49"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,59L89,59"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,69L89,69"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M19,79L89,79"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M29,19L29,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M39,19L39,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M49,19L49,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M59,19L59,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M69,19L69,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:pathData="M79,19L79,89"
|
||||||
|
android:strokeColor="#33FFFFFF"
|
||||||
|
android:strokeWidth="0.8" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
<vector android:height="24dp"
|
||||||
android:viewportHeight="24" android:viewportWidth="24"
|
android:tint="#FFFFFF"
|
||||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
android:viewportHeight="24"
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M4,10h12v2L4,12zM4,6h12v2L4,8zM4,14h8v2L4,16zM14,14v6l5,-3z"/>
|
android:viewportWidth="24"
|
||||||
|
android:width="24dp"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M4,10h12v2L4,12zM4,6h12v2L4,8zM4,14h8v2L4,16zM14,14v6l5,-3z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
<vector android:height="24dp"
|
<vector android:height="24dp"
|
||||||
android:viewportHeight="24" android:viewportWidth="24"
|
android:viewportHeight="24"
|
||||||
|
android:viewportWidth="24"
|
||||||
android:tint="?attr/colorControlNormal"
|
android:tint="?attr/colorControlNormal"
|
||||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
android:width="24dp"
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z" />
|
||||||
|
|
||||||
|
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
<vector android:height="24dp" android:viewportHeight="1000"
|
<vector android:height="24dp"
|
||||||
android:viewportWidth="1000" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"
|
android:viewportHeight="1000"
|
||||||
|
android:viewportWidth="1000"
|
||||||
|
android:width="24dp"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:tint="?attr/colorControlNormal">
|
android:tint="?attr/colorControlNormal">
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M469.81,12.11c-5.14,0.79 -12.65,6.33 -17,11.86c-6.33,8.3 -23.33,56.15 -37.96,109.13c-5.14,17 77.1,28.47 134.84,18.98c42.31,-7.12 41.12,-4.75 25.7,-56.54c-19.38,-66.03 -25.7,-77.5 -43.1,-82.24C518.05,9.34 486.81,8.95 469.81,12.11z"/>
|
<path
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M356.72,328.83c-1.19,1.58 -13.05,40.73 -26.89,87.39l-24.91,84.62l16.61,14.63c40.33,35.99 154.6,52.99 253.85,37.56c60.89,-9.09 110.71,-30.45 116.64,-49.82c1.98,-5.93 -42.7,-170.42 -47.85,-177.14c-0.79,-0.79 -3.56,0.4 -6.32,2.77c-3.16,2.37 -18.58,7.91 -34.79,12.65c-62.87,18.19 -178.33,13.84 -228.15,-7.91C365.42,329.62 357.51,327.25 356.72,328.83z"/>
|
android:fillColor="@android:color/white"
|
||||||
<path android:fillColor="@android:color/white" android:pathData="M185.51,628.94c-14.24,2.77 -19.77,12.65 -34.8,60.5C85.87,897.82 72.43,942.89 70.45,958.71c-3.95,34 -39.93,31.23 432.58,31.23c459.46,-0 428.23,1.98 428.23,-24.91c0,-6.72 -4.75,-27.29 -10.28,-45.87c-32.42,-107.95 -85.01,-274.81 -88.57,-280.74c-4.35,-8.31 -22.93,-12.26 -61.29,-12.26l-27.68,-0l1.19,24.12l1.58,24.12l-19.77,18.98c-35.19,33.61 -105.18,54.17 -200.47,58.12c-114.67,4.75 -219.06,-20.56 -257.41,-62.87c-13.44,-15.02 -13.84,-17 -12.65,-39.14l1.19,-23.33l-31.63,0.4C208.05,626.96 189.86,628.15 185.51,628.94z"/>
|
android:pathData="M469.81,12.11c-5.14,0.79 -12.65,6.33 -17,11.86c-6.33,8.3 -23.33,56.15 -37.96,109.13c-5.14,17 77.1,28.47 134.84,18.98c42.31,-7.12 41.12,-4.75 25.7,-56.54c-19.38,-66.03 -25.7,-77.5 -43.1,-82.24C518.05,9.34 486.81,8.95 469.81,12.11z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M356.72,328.83c-1.19,1.58 -13.05,40.73 -26.89,87.39l-24.91,84.62l16.61,14.63c40.33,35.99 154.6,52.99 253.85,37.56c60.89,-9.09 110.71,-30.45 116.64,-49.82c1.98,-5.93 -42.7,-170.42 -47.85,-177.14c-0.79,-0.79 -3.56,0.4 -6.32,2.77c-3.16,2.37 -18.58,7.91 -34.79,12.65c-62.87,18.19 -178.33,13.84 -228.15,-7.91C365.42,329.62 357.51,327.25 356.72,328.83z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M185.51,628.94c-14.24,2.77 -19.77,12.65 -34.8,60.5C85.87,897.82 72.43,942.89 70.45,958.71c-3.95,34 -39.93,31.23 432.58,31.23c459.46,-0 428.23,1.98 428.23,-24.91c0,-6.72 -4.75,-27.29 -10.28,-45.87c-32.42,-107.95 -85.01,-274.81 -88.57,-280.74c-4.35,-8.31 -22.93,-12.26 -61.29,-12.26l-27.68,-0l1.19,24.12l1.58,24.12l-19.77,18.98c-35.19,33.61 -105.18,54.17 -200.47,58.12c-114.67,4.75 -219.06,-20.56 -257.41,-62.87c-13.44,-15.02 -13.84,-17 -12.65,-39.14l1.19,-23.33l-31.63,0.4C208.05,626.96 189.86,628.15 185.51,628.94z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
app:layoutDescription="@xml/activity_main_scene"
|
app:layoutDescription="@xml/activity_main_scene"
|
||||||
tools:context=".MainActivity"
|
tools:context=".MainActivity"
|
||||||
android:id="@+id/mainMotionLayout"
|
android:id="@+id/mainMotionLayout">
|
||||||
>
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -48,6 +48,5 @@
|
|||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent" />
|
||||||
/>
|
|
||||||
</androidx.constraintlayout.motion.widget.MotionLayout>
|
</androidx.constraintlayout.motion.widget.MotionLayout>
|
@ -1,7 +1,6 @@
|
|||||||
<?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"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
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">
|
||||||
|
|
||||||
|
@ -1,19 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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"
|
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=".Player"
|
tools:context=".Player"
|
||||||
android:background="@color/black"
|
android:background="@color/black">
|
||||||
>
|
|
||||||
|
|
||||||
<com.github.libretube.util.CustomExoPlayerView
|
<com.github.libretube.util.CustomExoPlayerView
|
||||||
android:id="@+id/fullscreen_player"
|
android:id="@+id/fullscreen_player"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/black"
|
android:background="@color/black" />
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
@ -1,12 +1,10 @@
|
|||||||
<?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"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground">
|
||||||
>
|
|
||||||
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<de.hdodenhof.circleimageview.CircleImageView
|
||||||
android:id="@+id/search_channel_image"
|
android:id="@+id/search_channel_image"
|
||||||
|
@ -5,14 +5,15 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground">
|
||||||
>
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<de.hdodenhof.circleimageview.CircleImageView
|
||||||
android:id="@+id/subscription_channel_image"
|
android:id="@+id/subscription_channel_image"
|
||||||
android:layout_width="50dp"
|
android:layout_width="50dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginBottom="4dp" />
|
android:layout_marginBottom="4dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:text="kirrrrrrrrrrrrrrrrrrrrrrrrrrfgdfg"
|
android:text="kirrrrrrrrrrrrrrrrrrrrrrrrrrfgdfg"
|
||||||
android:id="@+id/subscription_channel_name"
|
android:id="@+id/subscription_channel_name"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?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"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
@ -11,8 +10,7 @@
|
|||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingBottom="16dp"
|
android:paddingBottom="16dp">
|
||||||
>
|
|
||||||
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<de.hdodenhof.circleimageview.CircleImageView
|
||||||
android:id="@+id/commentor_image"
|
android:id="@+id/commentor_image"
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -15,8 +12,7 @@
|
|||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="10dp"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<Spinner
|
<Spinner
|
||||||
android:id="@+id/playlists_spinner"
|
android:id="@+id/playlists_spinner"
|
||||||
@ -24,11 +20,13 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:layout_margin="8dp" />
|
android:layout_margin="8dp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/addToPlaylist"
|
android:id="@+id/addToPlaylist"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -3,9 +3,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -15,8 +13,7 @@
|
|||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="10dp"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
@ -32,8 +29,7 @@
|
|||||||
app:boxCornerRadiusBottomStart="15dp"
|
app:boxCornerRadiusBottomStart="15dp"
|
||||||
app:boxCornerRadiusBottomEnd="15dp"
|
app:boxCornerRadiusBottomEnd="15dp"
|
||||||
app:boxCornerRadiusTopEnd="15dp"
|
app:boxCornerRadiusTopEnd="15dp"
|
||||||
app:boxCornerRadiusTopStart="15dp"
|
app:boxCornerRadiusTopStart="15dp">
|
||||||
>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/playlist_name"
|
android:id="@+id/playlist_name"
|
||||||
@ -50,6 +46,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/cancel_button"
|
android:id="@+id/cancel_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -58,6 +55,7 @@
|
|||||||
android:textColor="?attr/colorSurface"
|
android:textColor="?attr/colorSurface"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:layout_margin="8dp" />
|
android:layout_margin="8dp" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/create_new_playlist"
|
android:id="@+id/create_new_playlist"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -13,37 +12,40 @@
|
|||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="10dp"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<Spinner
|
<Spinner
|
||||||
android:id="@+id/video_spinner"
|
android:id="@+id/video_spinner"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp" />
|
||||||
/>
|
|
||||||
<Spinner
|
<Spinner
|
||||||
android:id="@+id/audio_spinner"
|
android:id="@+id/audio_spinner"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp" />
|
android:layout_margin="8dp" />
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/radioGp"
|
android:id="@+id/radioGp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp">
|
android:layout_margin="8dp">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/mkv"
|
android:id="@+id/mkv"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text=".mkv"
|
android:text=".mkv"
|
||||||
android:checked="true" />
|
android:checked="true" />
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
android:id="@+id/mp4"
|
android:id="@+id/mp4"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text=".mp4" />
|
android:text=".mp4" />
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/download"
|
android:id="@+id/download"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -16,8 +13,7 @@
|
|||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="10dp"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
@ -32,8 +28,7 @@
|
|||||||
app:boxCornerRadiusBottomStart="15dp"
|
app:boxCornerRadiusBottomStart="15dp"
|
||||||
app:boxCornerRadiusBottomEnd="15dp"
|
app:boxCornerRadiusBottomEnd="15dp"
|
||||||
app:boxCornerRadiusTopEnd="15dp"
|
app:boxCornerRadiusTopEnd="15dp"
|
||||||
app:boxCornerRadiusTopStart="15dp"
|
app:boxCornerRadiusTopStart="15dp">
|
||||||
>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/username"
|
android:id="@+id/username"
|
||||||
@ -76,6 +71,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/register"
|
android:id="@+id/register"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -84,6 +80,7 @@
|
|||||||
android:textColor="?attr/colorSurface"
|
android:textColor="?attr/colorSurface"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:layout_margin="8dp" />
|
android:layout_margin="8dp" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/login"
|
android:id="@+id/login"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -11,8 +11,7 @@
|
|||||||
android:text="@string/app_name"
|
android:text="@string/app_name"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:layout_margin="10dp"
|
android:layout_margin="10dp"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user"
|
android:id="@+id/user"
|
||||||
@ -20,8 +19,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/already_logged_in"
|
android:text="@string/already_logged_in"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp" />
|
||||||
/>
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/logout"
|
android:id="@+id/logout"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?><!-- Copyright 2020 The Android Open Source Project
|
||||||
<!-- Copyright 2020 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -21,11 +20,14 @@
|
|||||||
determined. See: https://github.com/google/ExoPlayer/issues/8726.
|
determined. See: https://github.com/google/ExoPlayer/issues/8726.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<View android:id="@id/exo_controls_background"
|
<View
|
||||||
|
android:id="@id/exo_controls_background"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:background="@color/exo_black_opacity_60" />
|
android:background="@color/exo_black_opacity_60" />
|
||||||
<FrameLayout android:id="@+id/top_bar"
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/top_bar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/exo_styled_bottom_bar_height"
|
android:layout_height="@dimen/exo_styled_bottom_bar_height"
|
||||||
android:layout_marginBottom="@dimen/exo_styled_bottom_bar_margin_top"
|
android:layout_marginBottom="@dimen/exo_styled_bottom_bar_margin_top"
|
||||||
@ -60,6 +62,7 @@
|
|||||||
android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
|
android:paddingRight="@dimen/exo_styled_bottom_bar_time_padding"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/aspect_ratio_button"
|
android:id="@+id/aspect_ratio_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -77,6 +80,7 @@
|
|||||||
android:padding="@dimen/exo_icon_padding"
|
android:padding="@dimen/exo_icon_padding"
|
||||||
android:text="HLS"
|
android:text="HLS"
|
||||||
android:textColor="#FFFFFF" />
|
android:textColor="#FFFFFF" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/quality_select"
|
android:id="@+id/quality_select"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -87,7 +91,9 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
<FrameLayout android:id="@id/exo_bottom_bar"
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@id/exo_bottom_bar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/exo_styled_bottom_bar_height"
|
android:layout_height="@dimen/exo_styled_bottom_bar_height"
|
||||||
android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
|
android:layout_marginTop="@dimen/exo_styled_bottom_bar_margin_top"
|
||||||
@ -95,7 +101,8 @@
|
|||||||
android:background="@color/exo_bottom_bar_background"
|
android:background="@color/exo_bottom_bar_background"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<LinearLayout android:id="@id/exo_time"
|
<LinearLayout
|
||||||
|
android:id="@id/exo_time"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="@dimen/exo_styled_bottom_bar_time_padding"
|
android:paddingStart="@dimen/exo_styled_bottom_bar_time_padding"
|
||||||
@ -105,61 +112,74 @@
|
|||||||
android:layout_gravity="center_vertical|start"
|
android:layout_gravity="center_vertical|start"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<TextView android:id="@id/exo_position"
|
<TextView
|
||||||
|
android:id="@id/exo_position"
|
||||||
style="@style/ExoStyledControls.TimeText.Position" />
|
style="@style/ExoStyledControls.TimeText.Position" />
|
||||||
|
|
||||||
<TextView
|
<TextView style="@style/ExoStyledControls.TimeText.Separator" />
|
||||||
style="@style/ExoStyledControls.TimeText.Separator"/>
|
|
||||||
|
|
||||||
<TextView android:id="@id/exo_duration"
|
<TextView
|
||||||
|
android:id="@id/exo_duration"
|
||||||
style="@style/ExoStyledControls.TimeText.Duration" />
|
style="@style/ExoStyledControls.TimeText.Duration" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout android:id="@id/exo_basic_controls"
|
<LinearLayout
|
||||||
|
android:id="@id/exo_basic_controls"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_vr"
|
<ImageButton
|
||||||
|
android:id="@id/exo_vr"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.VR" />
|
style="@style/ExoStyledControls.Button.Bottom.VR" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_shuffle"
|
<ImageButton
|
||||||
|
android:id="@id/exo_shuffle"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.Shuffle" />
|
style="@style/ExoStyledControls.Button.Bottom.Shuffle" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_repeat_toggle"
|
<ImageButton
|
||||||
|
android:id="@id/exo_repeat_toggle"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.RepeatToggle" />
|
style="@style/ExoStyledControls.Button.Bottom.RepeatToggle" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_subtitle"
|
<ImageButton
|
||||||
|
android:id="@id/exo_subtitle"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.CC" />
|
style="@style/ExoStyledControls.Button.Bottom.CC" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_settings"
|
<ImageButton
|
||||||
|
android:id="@id/exo_settings"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.Settings" />
|
style="@style/ExoStyledControls.Button.Bottom.Settings" />
|
||||||
|
|
||||||
<ImageButton android:id="@+id/fullscreen"
|
<ImageButton
|
||||||
|
android:id="@+id/fullscreen"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_fullscreen"
|
<ImageButton
|
||||||
|
android:id="@id/exo_fullscreen"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_overflow_show"
|
<ImageButton
|
||||||
|
android:id="@id/exo_overflow_show"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.OverflowShow" />
|
style="@style/ExoStyledControls.Button.Bottom.OverflowShow" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<HorizontalScrollView android:id="@id/exo_extra_controls_scroll_view"
|
<HorizontalScrollView
|
||||||
|
android:id="@id/exo_extra_controls_scroll_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical|end"
|
android:layout_gravity="center_vertical|end"
|
||||||
android:visibility="invisible">
|
android:visibility="invisible">
|
||||||
|
|
||||||
<LinearLayout android:id="@id/exo_extra_controls"
|
<LinearLayout
|
||||||
|
android:id="@id/exo_extra_controls"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_overflow_hide"
|
<ImageButton
|
||||||
|
android:id="@id/exo_overflow_hide"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.OverflowHide" />
|
style="@style/ExoStyledControls.Button.Bottom.OverflowHide" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -168,15 +188,16 @@
|
|||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
<View android:id="@id/exo_progress_placeholder"
|
<View
|
||||||
|
android:id="@id/exo_progress_placeholder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="15dp"
|
android:layout_height="15dp"
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="bottom"
|
||||||
android:layout_marginBottom="1dp"
|
android:layout_marginBottom="1dp"
|
||||||
android:background="@color/exo_bottom_bar_background"
|
android:background="@color/exo_bottom_bar_background" />
|
||||||
/>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@id/exo_minimal_controls"
|
<LinearLayout
|
||||||
|
android:id="@id/exo_minimal_controls"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
@ -185,7 +206,8 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layoutDirection="ltr">
|
android:layoutDirection="ltr">
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_minimal_fullscreen"
|
<ImageButton
|
||||||
|
android:id="@id/exo_minimal_fullscreen"
|
||||||
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
style="@style/ExoStyledControls.Button.Bottom.FullScreen" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -200,17 +222,20 @@
|
|||||||
android:padding="@dimen/exo_styled_controls_padding"
|
android:padding="@dimen/exo_styled_controls_padding"
|
||||||
android:clipToPadding="false">
|
android:clipToPadding="false">
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_prev"
|
<ImageButton
|
||||||
|
android:id="@id/exo_prev"
|
||||||
style="@style/ExoStyledControls.Button.Center.Previous" />
|
style="@style/ExoStyledControls.Button.Center.Previous" />
|
||||||
|
|
||||||
<include layout="@layout/exo_styled_player_control_rewind_button" />
|
<include layout="@layout/exo_styled_player_control_rewind_button" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_play_pause"
|
<ImageButton
|
||||||
|
android:id="@id/exo_play_pause"
|
||||||
style="@style/ExoStyledControls.Button.Center.PlayPause" />
|
style="@style/ExoStyledControls.Button.Center.PlayPause" />
|
||||||
|
|
||||||
<include layout="@layout/exo_styled_player_control_ffwd_button" />
|
<include layout="@layout/exo_styled_player_control_ffwd_button" />
|
||||||
|
|
||||||
<ImageButton android:id="@id/exo_next"
|
<ImageButton
|
||||||
|
android:id="@id/exo_next"
|
||||||
style="@style/ExoStyledControls.Button.Center.Next" />
|
style="@style/ExoStyledControls.Button.Center.Next" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -58,8 +58,7 @@
|
|||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end" />
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@ -84,8 +83,7 @@
|
|||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:textSize="11sp"
|
android:textSize="11sp"
|
||||||
android:drawableLeft="@drawable/ic_bell_small"
|
android:drawableLeft="@drawable/ic_bell_small"
|
||||||
android:drawableTint="?android:attr/textColorPrimary"
|
android:drawableTint="?android:attr/textColorPrimary" />
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -13,12 +13,13 @@
|
|||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||||||
/>
|
|
||||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||||
android:id="@+id/home_refresh"
|
android:id="@+id/home_refresh"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/recview"
|
android:id="@+id/recview"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".fragments.PlaylistFragment"
|
tools:context=".fragments.PlaylistFragment"
|
||||||
android:id="@+id/playlist_scrollview">
|
android:id="@+id/playlist_scrollview">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -18,17 +19,20 @@
|
|||||||
android:textSize="24sp"
|
android:textSize="24sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:padding="8dp" />
|
android:padding="8dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/playlist_uploader"
|
android:id="@+id/playlist_uploader"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/playlist_totVideos"
|
android:id="@+id/playlist_totVideos"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="8dp" />
|
android:padding="8dp" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -330,7 +330,6 @@
|
|||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/searchbar_holder"
|
app:layout_constraintTop_toBottomOf="@+id/searchbar_holder" />
|
||||||
/>
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -64,16 +64,14 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/subscriptions"
|
android:text="@string/subscriptions" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/toggle"
|
android:id="@+id/toggle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:src="@drawable/ic_arrow_down"
|
android:src="@drawable/ic_arrow_down" />
|
||||||
/>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
@ -7,8 +7,7 @@
|
|||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:id="@+id/video_search"
|
android:id="@+id/video_search">
|
||||||
>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
<androidx.constraintlayout.widget.Guideline
|
||||||
android:id="@+id/guideline"
|
android:id="@+id/guideline"
|
||||||
@ -16,6 +15,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintGuide_percent=".45" />
|
app:layout_constraintGuide_percent=".45" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/card_search_thumbnail"
|
android:id="@+id/card_search_thumbnail"
|
||||||
app:cardCornerRadius="8dp"
|
app:cardCornerRadius="8dp"
|
||||||
@ -35,6 +35,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/playlist_duration"
|
android:id="@+id/playlist_duration"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -65,6 +66,7 @@
|
|||||||
app:layout_constraintEnd_toStartOf="@+id/delete_playlist"
|
app:layout_constraintEnd_toStartOf="@+id/delete_playlist"
|
||||||
app:layout_constraintStart_toEndOf="@+id/card_search_thumbnail"
|
app:layout_constraintStart_toEndOf="@+id/card_search_thumbnail"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/playlist_title" />
|
app:layout_constraintTop_toBottomOf="@+id/playlist_title" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/delete_playlist"
|
android:id="@+id/delete_playlist"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -75,6 +77,5 @@
|
|||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone" />
|
||||||
/>
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -5,8 +5,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground">
|
||||||
>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
<androidx.constraintlayout.widget.Guideline
|
||||||
android:id="@+id/guideline"
|
android:id="@+id/guideline"
|
||||||
@ -14,6 +13,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintGuide_percent=".45" />
|
app:layout_constraintGuide_percent=".45" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/card_playlist"
|
android:id="@+id/card_playlist"
|
||||||
app:cardCornerRadius="8dp"
|
app:cardCornerRadius="8dp"
|
||||||
@ -27,17 +27,18 @@
|
|||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0.0"
|
app:layout_constraintVertical_bias="0.0"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/guideline">
|
app:layout_constraintEnd_toStartOf="@+id/guideline">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/search_thumbnail"
|
android:id="@+id/search_thumbnail"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="100dp"
|
android:layout_width="100dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="right"
|
android:layout_gravity="right"
|
||||||
android:background="#CC000000"
|
android:background="#CC000000">
|
||||||
>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/search_playlist_number"
|
android:id="@+id/search_playlist_number"
|
||||||
|
@ -7,8 +7,7 @@
|
|||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:id="@+id/playlist"
|
android:id="@+id/playlist">
|
||||||
>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
<androidx.constraintlayout.widget.Guideline
|
||||||
android:id="@+id/guideline"
|
android:id="@+id/guideline"
|
||||||
@ -16,6 +15,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintGuide_percent=".45" />
|
app:layout_constraintGuide_percent=".45" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/card_playlist_thumbnail"
|
android:id="@+id/card_playlist_thumbnail"
|
||||||
app:cardCornerRadius="8dp"
|
app:cardCornerRadius="8dp"
|
||||||
@ -55,6 +55,7 @@
|
|||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/card_playlist_thumbnail"
|
app:layout_constraintStart_toEndOf="@+id/card_playlist_thumbnail"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/playlist_title" />
|
app:layout_constraintTop_toBottomOf="@+id/playlist_title" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/delete_playlist"
|
android:id="@+id/delete_playlist"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -64,6 +65,5 @@
|
|||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:padding="8dp"
|
android:padding="8dp" />
|
||||||
/>
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -15,8 +15,8 @@
|
|||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
android:layout_margin="5dp"
|
android:layout_margin="5dp" />
|
||||||
/>
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/history_text"
|
android:id="@+id/history_text"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?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"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
|
|
||||||
@ -25,8 +24,8 @@
|
|||||||
android:id="@+id/thumbnail"
|
android:id="@+id/thumbnail"
|
||||||
android:src="@mipmap/ic_launcher"
|
android:src="@mipmap/ic_launcher"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent" />
|
||||||
/>
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/thumbnail_duration"
|
android:id="@+id/thumbnail_duration"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -63,8 +62,7 @@
|
|||||||
app:layout_constraintEnd_toEndOf="@+id/textView_title"
|
app:layout_constraintEnd_toEndOf="@+id/textView_title"
|
||||||
app:layout_constraintStart_toStartOf="@+id/textView_title"
|
app:layout_constraintStart_toStartOf="@+id/textView_title"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/textView_title"
|
app:layout_constraintTop_toBottomOf="@+id/textView_title"
|
||||||
android:paddingBottom="16dp"
|
android:paddingBottom="16dp" />
|
||||||
/>
|
|
||||||
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<de.hdodenhof.circleimageview.CircleImageView
|
||||||
android:id="@+id/channel_image"
|
android:id="@+id/channel_image"
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:id="@+id/video_search"
|
android:id="@+id/video_search">
|
||||||
>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
<androidx.constraintlayout.widget.Guideline
|
||||||
android:id="@+id/guideline"
|
android:id="@+id/guideline"
|
||||||
@ -15,6 +14,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintGuide_percent=".45" />
|
app:layout_constraintGuide_percent=".45" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/card_search_thumbnail"
|
android:id="@+id/card_search_thumbnail"
|
||||||
app:cardCornerRadius="8dp"
|
app:cardCornerRadius="8dp"
|
||||||
@ -34,6 +34,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/channel_duration"
|
android:id="@+id/channel_duration"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -6,8 +6,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:id="@+id/video_search"
|
android:id="@+id/video_search">
|
||||||
>
|
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Guideline
|
<androidx.constraintlayout.widget.Guideline
|
||||||
android:id="@+id/guideline"
|
android:id="@+id/guideline"
|
||||||
@ -15,6 +14,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
app:layout_constraintGuide_percent=".45" />
|
app:layout_constraintGuide_percent=".45" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/card_search_thumbnail"
|
android:id="@+id/card_search_thumbnail"
|
||||||
app:cardCornerRadius="8dp"
|
app:cardCornerRadius="8dp"
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<item android:title="Search"
|
<item
|
||||||
|
android:title="Search"
|
||||||
android:icon="@drawable/ic_search"
|
android:icon="@drawable/ic_search"
|
||||||
android:id="@+id/action_search"
|
android:id="@+id/action_search"
|
||||||
app:showAsAction="always"
|
app:showAsAction="always" />
|
||||||
/>
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -1,8 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<item android:id="@+id/home2" android:title="@string/startpage" android:icon="@drawable/ic_home"/>
|
<item
|
||||||
<item android:id="@+id/subscriptions" android:title="@string/subscriptions" android:icon="@drawable/ic_subscriptions"/>
|
android:id="@+id/home2"
|
||||||
<item android:id="@+id/library" android:title="@string/library" android:icon="@drawable/ic_library"/>
|
android:title="@string/startpage"
|
||||||
|
android:icon="@drawable/ic_home" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/subscriptions"
|
||||||
|
android:title="@string/subscriptions"
|
||||||
|
android:icon="@drawable/ic_subscriptions" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/library"
|
||||||
|
android:title="@string/library"
|
||||||
|
android:icon="@drawable/ic_library" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -19,8 +19,7 @@
|
|||||||
android:id="@+id/library"
|
android:id="@+id/library"
|
||||||
android:name="com.github.libretube.Library"
|
android:name="com.github.libretube.Library"
|
||||||
android:label="fragment_library"
|
android:label="fragment_library"
|
||||||
tools:layout="@layout/fragment_library" >
|
tools:layout="@layout/fragment_library"></fragment>
|
||||||
</fragment>
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/searchFragment"
|
android:id="@+id/searchFragment"
|
||||||
android:name="com.github.libretube.fragments.SearchFragment"
|
android:name="com.github.libretube.fragments.SearchFragment"
|
||||||
|
@ -10,15 +10,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Red" parent="Theme.Material3.Dark.NoActionBar">
|
<style name="Theme.Red" parent="Theme.Material3.Dark.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/red_dark_accentLight</item> // container
|
<item name="colorPrimary">@color/red_dark_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/red_dark_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/red_dark_accentLight</item> //
|
<item name="colorOnPrimary">@color/red_dark_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/red_dark_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/red_dark_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/red_dark_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/red_dark_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/red_dark_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/red_dark_accentLight</item>
|
||||||
<!-- <item name="colorOnSecondaryContainer">@color/red_dark_background</item> --> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/red_dark_background</item> // background
|
<item name="colorSecondary">@color/red_dark_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/red_dark_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/red_dark_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<!-- <item name="colorOnSecondaryContainer">@color/red_dark_background</item> --> // navbar
|
||||||
|
icon fill
|
||||||
|
<item name="android:colorBackground">@color/red_dark_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/red_dark_background</item>
|
<item name="colorOnBackground">@color/red_dark_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
||||||
@ -29,15 +38,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Blue" parent="Theme.Material3.Dark.NoActionBar">
|
<style name="Theme.Blue" parent="Theme.Material3.Dark.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/blue_dark_accentLight</item> // container
|
<item name="colorPrimary">@color/blue_dark_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/blue_dark_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/blue_dark_accentLight</item> //
|
<item name="colorOnPrimary">@color/blue_dark_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/blue_dark_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/blue_dark_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/blue_dark_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/blue_dark_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/blue_dark_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/blue_dark_accentLight</item>
|
||||||
<!-- <item name="colorOnSecondaryContainer">@color/blue_dark_background</item> --> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/blue_dark_background</item> // background
|
<item name="colorSecondary">@color/blue_dark_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/blue_dark_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/blue_dark_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<!-- <item name="colorOnSecondaryContainer">@color/blue_dark_background</item> --> // navbar
|
||||||
|
icon fill
|
||||||
|
<item name="android:colorBackground">@color/blue_dark_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/blue_dark_background</item>
|
<item name="colorOnBackground">@color/blue_dark_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
||||||
@ -48,15 +66,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Yellow" parent="Theme.Material3.Dark.NoActionBar">
|
<style name="Theme.Yellow" parent="Theme.Material3.Dark.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/yellow_dark_accentLight</item> // container
|
<item name="colorPrimary">@color/yellow_dark_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/yellow_dark_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/yellow_dark_accentLight</item> //
|
<item name="colorOnPrimary">@color/yellow_dark_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/yellow_dark_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/yellow_dark_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/yellow_dark_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/yellow_dark_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/yellow_dark_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/yellow_dark_accentLight</item>
|
||||||
<!-- <item name="colorOnSecondaryContainer">@color/yellow_dark_background</item> --> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/yellow_dark_background</item> // background
|
<item name="colorSecondary">@color/yellow_dark_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/yellow_dark_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/yellow_dark_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<!-- <item name="colorOnSecondaryContainer">@color/yellow_dark_background</item> --> //
|
||||||
|
navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/yellow_dark_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/yellow_dark_background</item>
|
<item name="colorOnBackground">@color/yellow_dark_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
||||||
@ -67,15 +94,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Green" parent="Theme.Material3.Dark.NoActionBar">
|
<style name="Theme.Green" parent="Theme.Material3.Dark.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/green_dark_accentLight</item> // container
|
<item name="colorPrimary">@color/green_dark_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/green_dark_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/green_dark_accentLight</item> //
|
<item name="colorOnPrimary">@color/green_dark_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/green_dark_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/green_dark_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/green_dark_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/green_dark_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/green_dark_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/green_dark_accentLight</item>
|
||||||
<!-- <item name="colorOnSecondaryContainer">@color/green_dark_background</item> --> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/green_dark_background</item> // background
|
<item name="colorSecondary">@color/green_dark_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/green_dark_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/green_dark_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<!-- <item name="colorOnSecondaryContainer">@color/green_dark_background</item> --> //
|
||||||
|
navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/green_dark_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/green_dark_background</item>
|
<item name="colorOnBackground">@color/green_dark_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
||||||
@ -86,15 +122,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Purple" parent="Theme.Material3.Dark.NoActionBar">
|
<style name="Theme.Purple" parent="Theme.Material3.Dark.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/purple_dark_accentLight</item> // container
|
<item name="colorPrimary">@color/purple_dark_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/purple_dark_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/purple_dark_accentLight</item> //
|
<item name="colorOnPrimary">@color/purple_dark_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/purple_dark_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/purple_dark_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/purple_dark_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/purple_dark_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/purple_dark_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/purple_dark_accentLight</item>
|
||||||
<!-- <item name="colorOnSecondaryContainer">@color/purple_dark_background</item> --> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/purple_dark_background</item> // background
|
<item name="colorSecondary">@color/purple_dark_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/purple_dark_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/purple_dark_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<!-- <item name="colorOnSecondaryContainer">@color/purple_dark_background</item> --> //
|
||||||
|
navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/purple_dark_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/purple_dark_background</item>
|
<item name="colorOnBackground">@color/purple_dark_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
<item name="android:statusBarColor" tools:targetApi="m">@android:color/transparent</item>
|
||||||
|
@ -11,15 +11,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/red_light_accentLight</item> // container
|
<item name="colorPrimary">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/red_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/red_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/red_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/red_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/red_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/red_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/red_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/red_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/red_light_background</item> // background
|
<item name="colorSecondary">@color/red_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/red_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/red_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/red_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/red_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/red_light_background</item>
|
<item name="colorOnBackground">@color/red_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -30,15 +39,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Blue" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Blue" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/blue_light_accentLight</item> // container
|
<item name="colorPrimary">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/blue_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/blue_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/blue_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/blue_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/blue_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/blue_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/blue_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/blue_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/blue_light_background</item> // background
|
<item name="colorSecondary">@color/blue_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/blue_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/blue_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/blue_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/blue_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/blue_light_background</item>
|
<item name="colorOnBackground">@color/blue_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -49,15 +67,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Yellow" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Yellow" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/yellow_light_accentLight</item> // container
|
<item name="colorPrimary">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/yellow_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/yellow_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/yellow_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/yellow_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/yellow_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/yellow_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/yellow_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/yellow_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/yellow_light_background</item> // background
|
<item name="colorSecondary">@color/yellow_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/yellow_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/yellow_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/yellow_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/yellow_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/yellow_light_background</item>
|
<item name="colorOnBackground">@color/yellow_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -68,15 +95,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Green" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Green" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/green_light_accentLight</item> // container
|
<item name="colorPrimary">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/green_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/green_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/green_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/green_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/green_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/green_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/green_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/green_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/green_light_background</item> // background
|
<item name="colorSecondary">@color/green_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/green_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/green_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/green_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/green_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/green_light_background</item>
|
<item name="colorOnBackground">@color/green_light_background</item>
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
<item name="android:windowLightStatusBar">true</item>
|
<item name="android:windowLightStatusBar">true</item>
|
||||||
@ -86,15 +122,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Purple" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Purple" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/purple_light_accentLight</item> // container
|
<item name="colorPrimary">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/purple_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/purple_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/purple_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/purple_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/purple_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/purple_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/purple_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/purple_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/purple_light_background</item> // background
|
<item name="colorSecondary">@color/purple_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/purple_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/purple_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/purple_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/purple_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/purple_light_background</item>
|
<item name="colorOnBackground">@color/purple_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="roundedImageViewRounded">
|
<style name="roundedImageViewRounded">
|
||||||
<item name="cornerFamily">rounded</item>
|
<item name="cornerFamily">rounded</item>
|
||||||
<item name="cornerSize">10%</item>
|
<item name="cornerSize">10%</item>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
<resources>
|
||||||
|
|
||||||
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.MY" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
@ -8,15 +8,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Red" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/red_light_accentLight</item> // container
|
<item name="colorPrimary">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/red_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/red_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/red_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/red_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/red_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/red_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/red_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/red_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/red_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/red_light_background</item> // background
|
<item name="colorSecondary">@color/red_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/red_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/red_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/red_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/red_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/red_light_background</item>
|
<item name="colorOnBackground">@color/red_light_background</item>
|
||||||
|
|
||||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||||
@ -24,15 +33,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Blue" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Blue" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/blue_light_accentLight</item> // container
|
<item name="colorPrimary">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/blue_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/blue_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/blue_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/blue_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/blue_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/blue_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/blue_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/blue_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/blue_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/blue_light_background</item> // background
|
<item name="colorSecondary">@color/blue_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/blue_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/blue_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/blue_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/blue_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/blue_light_background</item>
|
<item name="colorOnBackground">@color/blue_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -41,15 +59,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Yellow" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Yellow" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/yellow_light_accentLight</item> // container
|
<item name="colorPrimary">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/yellow_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/yellow_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/yellow_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/yellow_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/yellow_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/yellow_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/yellow_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/yellow_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/yellow_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/yellow_light_background</item> // background
|
<item name="colorSecondary">@color/yellow_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/yellow_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/yellow_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/yellow_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/yellow_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/yellow_light_background</item>
|
<item name="colorOnBackground">@color/yellow_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -58,15 +85,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Green" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Green" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/green_light_accentLight</item> // container
|
<item name="colorPrimary">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/green_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/green_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/green_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/green_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/green_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/green_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/green_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/green_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/green_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/green_light_background</item> // background
|
<item name="colorSecondary">@color/green_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/green_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/green_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/green_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/green_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/green_light_background</item>
|
<item name="colorOnBackground">@color/green_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
@ -75,15 +111,24 @@
|
|||||||
|
|
||||||
<style name="Theme.Purple" parent="Theme.Material3.Light.NoActionBar">
|
<style name="Theme.Purple" parent="Theme.Material3.Light.NoActionBar">
|
||||||
|
|
||||||
<item name="colorPrimary">@color/purple_light_accentLight</item> // container
|
<item name="colorPrimary">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnPrimary">@color/purple_light_accentDark</item> // title
|
// container
|
||||||
<item name="colorPrimaryContainer">@color/purple_light_accentLight</item> //
|
<item name="colorOnPrimary">@color/purple_light_accentDark</item>
|
||||||
<item name="colorOnPrimaryContainer">@color/purple_light_accentLight</item> //
|
// title
|
||||||
<item name="colorSecondary">@color/purple_light_accentLight</item> // Settings Categories
|
<item name="colorPrimaryContainer">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnSecondary">@color/purple_light_accentDark</item> //
|
//
|
||||||
<item name="colorSecondaryContainer">@color/purple_light_accentDark</item> // navbar surround
|
<item name="colorOnPrimaryContainer">@color/purple_light_accentLight</item>
|
||||||
<item name="colorOnSecondaryContainer">@color/purple_light_background</item> // navbar icon fill
|
//
|
||||||
<item name="android:colorBackground">@color/purple_light_background</item> // background
|
<item name="colorSecondary">@color/purple_light_accentLight</item>
|
||||||
|
// Settings Categories
|
||||||
|
<item name="colorOnSecondary">@color/purple_light_accentDark</item>
|
||||||
|
//
|
||||||
|
<item name="colorSecondaryContainer">@color/purple_light_accentDark</item>
|
||||||
|
// navbar surround
|
||||||
|
<item name="colorOnSecondaryContainer">@color/purple_light_background</item>
|
||||||
|
// navbar icon fill
|
||||||
|
<item name="android:colorBackground">@color/purple_light_background</item>
|
||||||
|
// background
|
||||||
<item name="colorOnBackground">@color/purple_light_background</item>
|
<item name="colorOnBackground">@color/purple_light_background</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<MotionScene
|
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<Transition
|
<Transition
|
||||||
motion:constraintSetEnd="@+id/end"
|
motion:constraintSetEnd="@+id/end"
|
||||||
motion:constraintSetStart="@id/start"
|
motion:constraintSetStart="@id/start"
|
||||||
motion:duration="10"
|
motion:duration="10"
|
||||||
motion:layoutDuringTransition="honorRequest"
|
motion:layoutDuringTransition="honorRequest">
|
||||||
>
|
|
||||||
<KeyFrameSet>
|
<KeyFrameSet>
|
||||||
<KeyAttribute
|
<KeyAttribute
|
||||||
motion:motionTarget="@+id/bottomNav"
|
motion:motionTarget="@+id/bottomNav"
|
||||||
@ -29,9 +27,7 @@
|
|||||||
</KeyFrameSet>
|
</KeyFrameSet>
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
||||||
<ConstraintSet android:id="@+id/start">
|
<ConstraintSet android:id="@+id/start"></ConstraintSet>
|
||||||
</ConstraintSet>
|
|
||||||
|
|
||||||
<ConstraintSet android:id="@+id/end">
|
<ConstraintSet android:id="@+id/end"></ConstraintSet>
|
||||||
</ConstraintSet>
|
|
||||||
</MotionScene>
|
</MotionScene>
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<MotionScene
|
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<Transition
|
<Transition
|
||||||
@ -8,8 +7,7 @@
|
|||||||
motion:constraintSetEnd="@+id/end"
|
motion:constraintSetEnd="@+id/end"
|
||||||
motion:constraintSetStart="@id/start"
|
motion:constraintSetStart="@id/start"
|
||||||
motion:duration="10"
|
motion:duration="10"
|
||||||
motion:motionInterpolator="easeInOut"
|
motion:motionInterpolator="easeInOut">
|
||||||
>
|
|
||||||
<KeyFrameSet>
|
<KeyFrameSet>
|
||||||
<KeyAttribute
|
<KeyAttribute
|
||||||
motion:motionTarget="@+id/close_imageView"
|
motion:motionTarget="@+id/close_imageView"
|
||||||
@ -29,8 +27,7 @@
|
|||||||
motion:dragDirection="dragDown"
|
motion:dragDirection="dragDown"
|
||||||
motion:touchAnchorSide="bottom"
|
motion:touchAnchorSide="bottom"
|
||||||
motion:maxAcceleration="40"
|
motion:maxAcceleration="40"
|
||||||
motion:dragScale="6"
|
motion:dragScale="6" />
|
||||||
/>
|
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
||||||
<ConstraintSet android:id="@+id/start">
|
<ConstraintSet android:id="@+id/start">
|
||||||
@ -108,8 +105,7 @@
|
|||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:alpha="1"
|
android:alpha="1"
|
||||||
motion:layout_constraintTop_toTopOf="@id/main_container"
|
motion:layout_constraintTop_toTopOf="@id/main_container"
|
||||||
android:visibility="visible"
|
android:visibility="visible" />
|
||||||
/>
|
|
||||||
<Constraint
|
<Constraint
|
||||||
android:id="@+id/play_imageView"
|
android:id="@+id/play_imageView"
|
||||||
motion:layout_constraintEnd_toStartOf="@+id/close_imageView"
|
motion:layout_constraintEnd_toStartOf="@+id/close_imageView"
|
||||||
@ -119,8 +115,7 @@
|
|||||||
android:layout_marginEnd="24dp"
|
android:layout_marginEnd="24dp"
|
||||||
android:alpha="1"
|
android:alpha="1"
|
||||||
motion:layout_constraintTop_toTopOf="@+id/close_imageView"
|
motion:layout_constraintTop_toTopOf="@+id/close_imageView"
|
||||||
android:visibility="visible"
|
android:visibility="visible" />
|
||||||
/>
|
|
||||||
<Constraint
|
<Constraint
|
||||||
android:id="@+id/title_textView"
|
android:id="@+id/title_textView"
|
||||||
motion:layout_constraintEnd_toStartOf="@+id/play_imageView"
|
motion:layout_constraintEnd_toStartOf="@+id/play_imageView"
|
||||||
@ -132,7 +127,6 @@
|
|||||||
android:alpha="1"
|
android:alpha="1"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
motion:layout_constraintTop_toTopOf="@+id/play_imageView"
|
motion:layout_constraintTop_toTopOf="@+id/play_imageView"
|
||||||
android:visibility="visible"
|
android:visibility="visible" />
|
||||||
/>
|
|
||||||
</ConstraintSet>
|
</ConstraintSet>
|
||||||
</MotionScene>
|
</MotionScene>
|
@ -11,8 +11,7 @@
|
|||||||
app:entryValues="@array/regionsValue"
|
app:entryValues="@array/regionsValue"
|
||||||
app:defaultValue="US"
|
app:defaultValue="US"
|
||||||
app:useSimpleSummaryProvider="true"
|
app:useSimpleSummaryProvider="true"
|
||||||
android:icon="@drawable/ic_region"
|
android:icon="@drawable/ic_region" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:key="language"
|
app:key="language"
|
||||||
@ -21,8 +20,7 @@
|
|||||||
app:entryValues="@array/languagesValue"
|
app:entryValues="@array/languagesValue"
|
||||||
app:defaultValue="sys"
|
app:defaultValue="sys"
|
||||||
app:useSimpleSummaryProvider="true"
|
app:useSimpleSummaryProvider="true"
|
||||||
android:icon="@drawable/ic_translate"
|
android:icon="@drawable/ic_translate" />
|
||||||
/>
|
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
@ -35,8 +33,7 @@
|
|||||||
app:entries="@array/instances"
|
app:entries="@array/instances"
|
||||||
app:entryValues="@array/instancesValue"
|
app:entryValues="@array/instancesValue"
|
||||||
app:defaultValue="https://pipedapi.kavin.rocks/"
|
app:defaultValue="https://pipedapi.kavin.rocks/"
|
||||||
android:icon="@drawable/ic_server"
|
android:icon="@drawable/ic_server" />
|
||||||
/>
|
|
||||||
|
|
||||||
<androidx.preference.EditTextPreference
|
<androidx.preference.EditTextPreference
|
||||||
app:key="customInstance"
|
app:key="customInstance"
|
||||||
@ -47,15 +44,13 @@
|
|||||||
app:key="login_register"
|
app:key="login_register"
|
||||||
app:title="@string/login_register"
|
app:title="@string/login_register"
|
||||||
android:icon="@drawable/ic_login"
|
android:icon="@drawable/ic_login"
|
||||||
android:summary="@string/notgmail"
|
android:summary="@string/notgmail" />
|
||||||
/>
|
|
||||||
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
app:key="import_from_yt"
|
app:key="import_from_yt"
|
||||||
app:title="@string/import_from_yt"
|
app:title="@string/import_from_yt"
|
||||||
android:summary="@string/import_from_yt_summary"
|
android:summary="@string/import_from_yt_summary"
|
||||||
android:icon="@drawable/ic_upload"
|
android:icon="@drawable/ic_upload" />
|
||||||
/>
|
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
@ -68,8 +63,7 @@
|
|||||||
app:entries="@array/themes"
|
app:entries="@array/themes"
|
||||||
app:entryValues="@array/themesValue"
|
app:entryValues="@array/themesValue"
|
||||||
app:defaultValue="A"
|
app:defaultValue="A"
|
||||||
android:icon="@drawable/ic_theme"
|
android:icon="@drawable/ic_theme" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:title="@string/color_accent"
|
app:title="@string/color_accent"
|
||||||
@ -77,8 +71,7 @@
|
|||||||
app:entries="@array/accents"
|
app:entries="@array/accents"
|
||||||
app:entryValues="@array/accentsValue"
|
app:entryValues="@array/accentsValue"
|
||||||
app:defaultValue="red"
|
app:defaultValue="red"
|
||||||
android:icon="@drawable/ic_color"
|
android:icon="@drawable/ic_color" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:title="@string/app_icon"
|
app:title="@string/app_icon"
|
||||||
@ -86,15 +79,13 @@
|
|||||||
app:entries="@array/icons"
|
app:entries="@array/icons"
|
||||||
app:entryValues="@array/iconsValue"
|
app:entryValues="@array/iconsValue"
|
||||||
app:defaultValue="MainActivity"
|
app:defaultValue="MainActivity"
|
||||||
android:icon="@drawable/ic_frame"
|
android:icon="@drawable/ic_frame" />
|
||||||
/>
|
|
||||||
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
app:title="@string/sponsorblock"
|
app:title="@string/sponsorblock"
|
||||||
app:key="sponsorblock"
|
app:key="sponsorblock"
|
||||||
app:summary="@string/sponsorblock_summary"
|
app:summary="@string/sponsorblock_summary"
|
||||||
android:icon="@drawable/ic_block"
|
android:icon="@drawable/ic_block" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:title="@string/defaultTab"
|
app:title="@string/defaultTab"
|
||||||
@ -102,8 +93,7 @@
|
|||||||
app:entries="@array/tabs"
|
app:entries="@array/tabs"
|
||||||
app:entryValues="@array/tabsValue"
|
app:entryValues="@array/tabsValue"
|
||||||
app:defaultValue="home"
|
app:defaultValue="home"
|
||||||
android:icon="@drawable/ic_home_outlined"
|
android:icon="@drawable/ic_home_outlined" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:title="@string/defres"
|
app:title="@string/defres"
|
||||||
@ -112,8 +102,7 @@
|
|||||||
app:entryValues="@array/defresValue"
|
app:entryValues="@array/defresValue"
|
||||||
app:defaultValue=""
|
app:defaultValue=""
|
||||||
android:icon="@drawable/ic_hd"
|
android:icon="@drawable/ic_hd"
|
||||||
app:useSimpleSummaryProvider="true"
|
app:useSimpleSummaryProvider="true" />
|
||||||
/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
app:title="@string/grid"
|
app:title="@string/grid"
|
||||||
@ -122,8 +111,7 @@
|
|||||||
app:entryValues="@array/grid"
|
app:entryValues="@array/grid"
|
||||||
app:defaultValue="@integer/grid_items"
|
app:defaultValue="@integer/grid_items"
|
||||||
android:icon="@drawable/ic_grid"
|
android:icon="@drawable/ic_grid"
|
||||||
app:useSimpleSummaryProvider="true"
|
app:useSimpleSummaryProvider="true" />
|
||||||
/>
|
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user