upstream changes

upstream changes
This commit is contained in:
2023-08-09 03:49:14 +03:00
committed by GitHub
parent d3bbdc75f5
commit 8a6378f509
302 changed files with 13608 additions and 6377 deletions
@@ -1,26 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:tint="@color/colorPrimary"
android:viewportWidth="160"
android:viewportHeight="160">
<group android:scaleX="0.0684812"
android:scaleY="0.0684812"
android:translateX="60"
android:translateY="54">
<path
android:pathData="M371.796,170.753L288.208,298.822C280.722,310.291 288.951,325.49 302.648,325.49H371.796V170.753Z"
android:strokeAlpha="0.7"
android:fillColor="#ffffff"
android:fillAlpha="0.7"/>
<path
android:pathData="M308.429,65.884C327.174,37.164 371.796,50.438 371.796,84.733V430.872H133.9C106.507,430.872 90.048,400.474 105.02,377.536L308.429,65.884ZM288.208,298.822L371.796,170.753V325.49H302.648C288.951,325.49 280.722,310.291 288.208,298.822Z"
android:strokeAlpha="0.5"
android:fillColor="#ffffff"
android:fillType="evenOdd"
android:fillAlpha="0.5"/>
<path
android:pathData="M302.648,325.49C292.984,325.49 286.042,317.924 285.421,309.439V328.275H285.604V671.629C285.604,705.925 330.226,719.198 348.97,690.478L552.38,378.827C567.352,355.888 550.893,325.49 523.5,325.49H302.648Z"
android:fillColor="#ffffff"/>
</group>
</vector>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="134dp"
android:height="191dp"
android:viewportWidth="134"
android:viewportHeight="191">
<path
android:fillColor="#ffffff"
android:fillAlpha="0.7"
android:pathData="M79 34.96L54.76 72.1c-2.17 3.32 0.22 7.73 4.19 7.73H79V34.96Z"/>
<path
android:fillColor="#ffffff"
android:fillAlpha="0.5"
android:fillType="evenOdd"
android:pathData="M60.62 4.55C66.06-3.78 79 0.07 79 10.02v100.37H10.02c-7.95 0-12.72-8.82-8.38-15.47L60.62 4.55ZM54.76 72.1L79 34.96v44.87H58.95c-3.97 0-6.36-4.4-4.19-7.73Z"/>
<path
android:fillColor="#ffffff"
android:pathData="M58.95 79.83c-2.8 0-4.82-2.2-5-4.66v5.47h0.06v99.56c0 9.94 12.93 13.79 18.37 5.46l58.98-90.37c4.34-6.65-0.43-15.46-8.37-15.46H58.95Z"/>
</vector>
@@ -1,5 +1,9 @@
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M12,14c1.66,0 3,-1.34 3,-3L15,5c0,-1.66 -1.34,-3 -3,-3S9,3.34 9,5v6c0,1.66 1.34,3 3,3zM11,5c0,-0.55 0.45,-1 1,-1s1,0.45 1,1v6c0,0.55 -0.45,1 -1,1s-1,-0.45 -1,-1L11,5zM17.91,11c-0.49,0 -0.9,0.36 -0.98,0.85C16.52,14.2 14.47,16 12,16s-4.52,-1.8 -4.93,-4.15c-0.08,-0.49 -0.49,-0.85 -0.98,-0.85 -0.61,0 -1.09,0.54 -1,1.14 0.49,3 2.89,5.35 5.91,5.78L11,20c0,0.55 0.45,1 1,1s1,-0.45 1,-1v-2.08c3.02,-0.43 5.42,-2.78 5.91,-5.78 0.1,-0.6 -0.39,-1.14 -1,-1.14z"/>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,14c1.66,0 3,-1.34 3,-3L15,5c0,-1.66 -1.34,-3 -3,-3S9,3.34 9,5v6c0,1.66 1.34,3 3,3zM11,5c0,-0.55 0.45,-1 1,-1s1,0.45 1,1v6c0,0.55 -0.45,1 -1,1s-1,-0.45 -1,-1L11,5zM17.91,11c-0.49,0 -0.9,0.36 -0.98,0.85C16.52,14.2 14.47,16 12,16s-4.52,-1.8 -4.93,-4.15c-0.08,-0.49 -0.49,-0.85 -0.98,-0.85 -0.61,0 -1.09,0.54 -1,1.14 0.49,3 2.89,5.35 5.91,5.78L11,20c0,0.55 0.45,1 1,1s1,-0.45 1,-1v-2.08c3.02,-0.43 5.42,-2.78 5.91,-5.78 0.1,-0.6 -0.39,-1.14 -1,-1.14z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v1c0,0.55 0.45,1 1,1h14c0.55,0 1,-0.45 1,-1v-1c0,-2.66 -5.33,-4 -8,-4z" />
</vector>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:tint="@color/a1_500"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"/>
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12.68,5.88c0.7,-0.24 1.22,-0.9 1.3,-1.64 0.05,-0.47 -0.05,-0.91 -0.28,-1.27L12.42,0.75c-0.19,-0.33 -0.67,-0.33 -0.87,0l-1.28,2.22c-0.17,0.3 -0.27,0.65 -0.27,1.03 0,1.32 1.3,2.35 2.68,1.88zM16.53,15.92l-1,-1 -1.08,1.07c-1.3,1.3 -3.58,1.31 -4.89,0l-1.07,-1.07 -1.09,1.07C6.75,16.64 5.88,17 4.96,17c-0.73,0 -1.4,-0.23 -1.96,-0.61L3,20c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2v-3.61c-0.75,0.51 -1.71,0.75 -2.74,0.52 -0.66,-0.14 -1.25,-0.51 -1.73,-0.99zM18,9h-5L13,8c0,-0.55 -0.45,-1 -1,-1s-1,0.45 -1,1v1L6,9c-1.66,0 -3,1.34 -3,3v1.46c0,0.85 0.5,1.67 1.31,1.94 0.73,0.24 1.52,0.06 2.03,-0.46l2.14,-2.13 2.13,2.13c0.76,0.76 2.01,0.76 2.77,0l2.14,-2.13 2.13,2.13c0.43,0.43 1.03,0.63 1.65,0.55 0.99,-0.13 1.69,-1.06 1.69,-2.06v-1.42C21,10.34 19.66,9 18,9z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M16.59,9H15V4c0,-0.55 -0.45,-1 -1,-1h-4C9.45,3 9,3.45 9,4v5H7.41c-0.89,0 -1.34,1.08 -0.71,1.71l4.59,4.59c0.39,0.39 1.02,0.39 1.41,0l4.59,-4.59C17.92,10.08 17.48,9 16.59,9zM5,19c0,0.55 0.45,1 1,1h12c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1H6C5.45,18 5,18.45 5,19z" />
</vector>
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M18.71,13.29l3.59,-3.59c0.39,-0.39 0.39,-1.02 0,-1.41l0,0c-0.39,-0.39 -1.02,-0.39 -1.41,0L19,10.17V4c0,-0.55 -0.45,-1 -1,-1h0c-0.55,0 -1,0.45 -1,1v6.17l-1.89,-1.88c-0.39,-0.39 -1.02,-0.39 -1.41,0l0,0c-0.39,0.39 -0.39,1.02 0,1.41l3.59,3.59C17.69,13.68 18.32,13.68 18.71,13.29z" />
<path
android:fillColor="@android:color/white"
android:pathData="M17,18H7V6h7V1H7C5.9,1 5,1.9 5,3v18c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2v-5h-2V18z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z" />
</vector>
@@ -0,0 +1,39 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M5,11h4c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2H5C3.9,3 3,3.9 3,5v4C3,10.1 3.9,11 5,11zM5,5h4v4H5V5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M5,21h4c1.1,0 2,-0.9 2,-2v-4c0,-1.1 -0.9,-2 -2,-2H5c-1.1,0 -2,0.9 -2,2v4C3,20.1 3.9,21 5,21zM5,15h4v4H5V15z" />
<path
android:fillColor="@android:color/white"
android:pathData="M13,5v4c0,1.1 0.9,2 2,2h4c1.1,0 2,-0.9 2,-2V5c0,-1.1 -0.9,-2 -2,-2h-4C13.9,3 13,3.9 13,5zM19,9h-4V5h4V9z" />
<path
android:fillColor="@android:color/white"
android:pathData="M21,20.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1c0,0.28 0.22,0.5 0.5,0.5h1C20.78,21 21,20.78 21,20.5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M13,13.5v1c0,0.28 0.22,0.5 0.5,0.5h1c0.28,0 0.5,-0.22 0.5,-0.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1C13.22,13 13,13.22 13,13.5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M16.5,15h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1c0,0.28 0.22,0.5 0.5,0.5h1c0.28,0 0.5,-0.22 0.5,-0.5v-1C17,15.22 16.78,15 16.5,15z" />
<path
android:fillColor="@android:color/white"
android:pathData="M13,17.5v1c0,0.28 0.22,0.5 0.5,0.5h1c0.28,0 0.5,-0.22 0.5,-0.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1C13.22,17 13,17.22 13,17.5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M15.5,21h1c0.28,0 0.5,-0.22 0.5,-0.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1C15,20.78 15.22,21 15.5,21z" />
<path
android:fillColor="@android:color/white"
android:pathData="M17.5,19h1c0.28,0 0.5,-0.22 0.5,-0.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1C17,18.78 17.22,19 17.5,19z" />
<path
android:fillColor="@android:color/white"
android:pathData="M18.5,13h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1c0,0.28 0.22,0.5 0.5,0.5h1c0.28,0 0.5,-0.22 0.5,-0.5v-1C19,13.22 18.78,13 18.5,13z" />
<path
android:fillColor="@android:color/white"
android:pathData="M19.5,17h1c0.28,0 0.5,-0.22 0.5,-0.5v-1c0,-0.28 -0.22,-0.5 -0.5,-0.5h-1c-0.28,0 -0.5,0.22 -0.5,0.5v1C19,16.78 19.22,17 19.5,17z" />
</vector>
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,5V3.21c0,-0.45 -0.54,-0.67 -0.85,-0.35L8.35,5.65c-0.2,0.2 -0.2,0.51 0,0.71l2.79,2.79C11.46,9.46 12,9.24 12,8.79V7c3.31,0 6,2.69 6,6c0,2.72 -1.83,5.02 -4.31,5.75C13.27,18.87 13,19.27 13,19.7v0c0,0.65 0.62,1.16 1.25,0.97C17.57,19.7 20,16.64 20,13C20,8.58 16.42,5 12,5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M6,13c0,-1.34 0.44,-2.58 1.19,-3.59c0.3,-0.4 0.26,-0.95 -0.09,-1.31l0,0C6.68,7.68 5.96,7.72 5.6,8.2C4.6,9.54 4,11.2 4,13c0,3.64 2.43,6.7 5.75,7.67C10.38,20.86 11,20.35 11,19.7v0c0,-0.43 -0.27,-0.83 -0.69,-0.95C7.83,18.02 6,15.72 6,13z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M20,2L4,2c-1.1,0 -2,0.9 -2,2v18l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM9,11L7,11L7,9h2v2zM13,11h-2L11,9h2v2zM17,11h-2L15,9h2v2z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,4C7,4 2.73,7.11 1,11.5 2.73,15.89 7,19 12,19s9.27,-3.11 11,-7.5C21.27,7.11 17,4 12,4zM12,16.5c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5zM12,8.5c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12,6.5c2.76,0 5,2.24 5,5 0,0.51 -0.1,1 -0.24,1.46l3.06,3.06c1.39,-1.23 2.49,-2.77 3.18,-4.53C21.27,7.11 17,4 12,4c-1.27,0 -2.49,0.2 -3.64,0.57l2.17,2.17c0.47,-0.14 0.96,-0.24 1.47,-0.24zM2.71,3.16c-0.39,0.39 -0.39,1.02 0,1.41l1.97,1.97C3.06,7.83 1.77,9.53 1,11.5 2.73,15.89 7,19 12,19c1.52,0 2.97,-0.3 4.31,-0.82l2.72,2.72c0.39,0.39 1.02,0.39 1.41,0 0.39,-0.39 0.39,-1.02 0,-1.41L4.13,3.16c-0.39,-0.39 -1.03,-0.39 -1.42,0zM12,16.5c-2.76,0 -5,-2.24 -5,-5 0,-0.77 0.18,-1.5 0.49,-2.14l1.57,1.57c-0.03,0.18 -0.06,0.37 -0.06,0.57 0,1.66 1.34,3 3,3 0.2,0 0.38,-0.03 0.57,-0.07L14.14,16c-0.65,0.32 -1.37,0.5 -2.14,0.5zM14.97,11.17c-0.15,-1.4 -1.25,-2.49 -2.64,-2.64l2.64,2.64z" />
</vector>
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M12.65,10C11.7,7.31 8.9,5.5 5.77,6.12c-2.29,0.46 -4.15,2.29 -4.63,4.58C0.32,14.57 3.26,18 7,18c2.61,0 4.83,-1.67 5.65,-4H17v2c0,1.1 0.9,2 2,2s2,-0.9 2,-2v-2c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2h-8.35zM7,14c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2z" />
</vector>
Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -40
View File
@@ -1,42 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/root_fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/root_fragment_container"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@id/navigation_bar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/navigation_bar"
android:layout_width="0dp"
android:layout_height="80dp"
android:layout_gravity="bottom"
app:labelVisibilityMode="selected"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:menu="@menu/activity_main_bottom" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.google.android.material.navigation.NavigationView
android:id="@+id/drawer"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
app:headerLayout="@layout/drawer_header"
app:menu="@menu/activity_main_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>
android:layout_height="match_parent" />
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true">
<com.meloda.fast.view.DialogToolbar
android:id="@+id/toolbar"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:startIcon="@drawable/ic_round_arrow_back_24"
tools:avatar="?colorOnBackground"
tools:subtitle="128 members, 64 online"
tools:title="Chat title" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:tabGravity="start"
app:tabMode="scrollable" />
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/view_pager"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="never"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tabs" />
<ProgressBar
android:id="@+id/progres_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="0dp"
android:layout_height="0dp"
android:clipToPadding="false"
android:orientation="vertical"
android:overScrollMode="never"
android:paddingTop="4dp"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:itemCount="100"
tools:listitem="@layout/item_chat_member" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -8,19 +8,16 @@
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="0dp">
android:layout_height="wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
android:background="?colorBackground"
android:elevation="0dp"
app:layout_scrollFlags="scroll|enterAlways|snap"
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"
app:menu="@menu/fragment_conversations"
app:title="@string/title_messages"
app:titleTextColor="?colorOnBackground" />
app:title="@string/title_messages" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
@@ -33,6 +30,7 @@
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:orientation="vertical"
android:overScrollMode="ifContentScrolls"
android:scrollbars="vertical"
@@ -62,4 +60,4 @@
app:pressedTranslationZ="1dp"
app:shapeAppearanceOverlay="@style/RoundedView.56"
tools:ignore="ContentDescription" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -18,6 +18,7 @@
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_message_in" />
-168
View File
@@ -1,168 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/loginRoot"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/web_view_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">
<WebView
android:id="@+id/web_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ProgressBar
android:id="@+id/web_view_progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
</FrameLayout>
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/use_crash_reporter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:checked="true"
android:text="Use crash reporter tool"
tools:ignore="HardcodedText" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:gravity="center"
android:orientation="vertical"
android:padding="16dp">
<FrameLayout
android:id="@+id/logoContainer"
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_gravity="center_horizontal">
<com.meloda.fast.view.CircleImageView
android:id="@+id/logoImage"
android:layout_width="192dp"
android:layout_height="192dp"
android:layout_gravity="center"
android:src="@drawable/ic_launcher_foreground"
android:tint="?colorPrimary" />
</FrameLayout>
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="48dp"
android:indeterminateTint="?colorPrimary"
android:visibility="gone"
tools:visibility="visible" />
<LinearLayout
android:id="@+id/loginContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="48dp"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/loginImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="18dp"
android:src="@drawable/ic_baseline_account_circle_24"
app:tint="?colorPrimary" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/loginLayout"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
app:boxStrokeErrorColor="@android:color/transparent">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/loginInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/login_hint"
android:imeOptions="actionGo"
android:inputType="textEmailAddress" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/passwordContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_vertical_margin"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/passwordImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="18dp"
android:src="@drawable/ic_key"
app:tint="?colorPrimary" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/passwordLayout"
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
app:boxStrokeErrorColor="@android:color/transparent"
app:passwordToggleEnabled="true"
app:passwordToggleTint="?colorPrimary">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/passwordInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/roboto_regular"
android:hint="@string/password_login_hint"
android:imeOptions="actionGo"
android:inputType="textPassword"
android:typeface="normal" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/auth"
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_gravity="center_horizontal|bottom"
android:layout_marginTop="48dp"
android:fontFamily="@font/google_sans_medium"
android:letterSpacing="0"
android:paddingStart="24dp"
android:paddingEnd="16dp"
android:text="@string/log_in"
android:textSize="14sp"
app:cornerRadius="50dp"
app:elevation="16dp"
app:icon="@drawable/ic_arrow_end"
app:iconGravity="end"
app:tint="?colorPrimary" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.appcompat.widget.LinearLayoutCompat>
@@ -5,46 +5,33 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/refresh_layout"
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@id/list_anchor"
android:layout_height="match_parent"
android:clipToPadding="false"
android:overScrollMode="never"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/app_bar">
app:layout_constraintTop_toTopOf="parent"
tools:itemCount="100"
tools:listitem="@layout/item_message_out"
tools:paddingBottom="72dp"
tools:paddingTop="56dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:itemCount="100"
tools:listitem="@layout/item_message_out" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="0dp"
<com.meloda.fast.view.DialogToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_round_arrow_back_24"
app:navigationIconTint="?colorOnBackground"
app:subtitleCentered="true"
app:titleCentered="true"
tools:subtitle="Last seen at 05.26.21, 17:55"
tools:title="@tools:sample/full_names" />
</com.google.android.material.appbar.AppBarLayout>
app:layout_constraintTop_toTopOf="parent"
app:startIcon="@drawable/ic_round_arrow_back_24"
app:useTranslucentBackgroundColor="true"
tools:avatar="#ff0000"
tools:subtitle="Last seen at 05.26.21, 17:55"
tools:title="@tools:sample/full_names" />
<com.google.android.material.chip.Chip
android:id="@+id/timestamp"
@@ -62,7 +49,7 @@
app:chipStrokeWidth="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/app_bar"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:textEndPadding="12dp"
app:textStartPadding="12dp"
tools:text="today"
@@ -159,6 +146,7 @@
android:layout_height="50dp"
android:background="@drawable/ic_message_panel_gradient"
android:backgroundTint="?colorBackground"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
@@ -166,12 +154,14 @@
<View
android:id="@+id/bottom_alpha"
android:layout_width="0dp"
android:layout_height="70dp"
android:layout_height="0dp"
android:alpha="0.85"
android:background="?colorBackground"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/bottom_message_panel" />
<View
android:id="@+id/list_anchor"
@@ -182,6 +172,7 @@
app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_message_panel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
@@ -292,12 +283,12 @@
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/unread_counter"
style="@style/Widget.Material3.FloatingActionButton.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:src="@drawable/ic_round_keyboard_arrow_down_24"
android:visibility="gone"
app:fabSize="mini"
app:layout_constraintBottom_toTopOf="@id/attachment_panel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_goneMarginBottom="88dp"
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.appbar.CollapsingToolbarLayout
style="?collapsingToolbarLayoutLargeStyle"
android:layout_width="match_parent"
android:layout_height="?collapsingToolbarLayoutLargeSize"
app:expandedTitleMarginStart="24dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
android:elevation="0dp"
app:layout_collapseMode="pin"
app:navigationIcon="@drawable/ic_round_arrow_back_24"
app:navigationIconTint="?colorOnBackground"
app:title="@string/title_settings" />
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:orientation="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
tools:itemCount="20" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_round_arrow_back_24"
app:navigationIconTint="?colorOnBackground"
app:title="@string/title_settings" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/settings_fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</androidx.appcompat.widget.LinearLayoutCompat>
+92 -82
View File
@@ -1,95 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true">
android:layout_height="match_parent">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="0dp"
android:layout_height="?actionBarSize"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navigationIcon="@drawable/ic_round_arrow_back_24"
app:navigationIconTint="?colorOnBackground" />
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar"
tools:visibility="visible" />
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?actionBarSize"
app:navigationIcon="@drawable/ic_round_arrow_back_24"
app:navigationIconTint="?colorOnBackground"
app:title="Updates" />
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/loading_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:indeterminate="true"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.constraintlayout.helper.widget.Flow
android:id="@+id/flow"
android:layout_width="0dp"
android:layout_height="0dp"
android:orientation="vertical"
app:constraint_referenced_ids="title,description,changelog"
app:flow_verticalGap="20dp"
app:flow_verticalStyle="packed"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?colorOnBackground"
tools:text="New update!" />
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="64dp"
android:alpha="0.8"
android:textColor="?colorOnBackground"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="v. 1.1.1" />
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/loading_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:indeterminate="true"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/changelog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
android:text="@string/fragment_updates_changelog"
android:textAppearance="@style/TextAppearance.Material3.TitleSmall"
android:textStyle="bold" />
<androidx.constraintlayout.helper.widget.Flow
android:id="@+id/flow"
android:layout_width="0dp"
android:layout_height="0dp"
android:orientation="vertical"
app:constraint_referenced_ids="title,description,changelog"
app:flow_verticalGap="20dp"
app:flow_verticalStyle="packed"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/action_button"
style="@style/Widget.Material3.Button.TonalButton"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="64dp"
android:layout_marginBottom="40dp"
android:text="@string/fragment_updates_check_updates"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?colorOnBackground"
tools:text="New update!" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="64dp"
android:alpha="0.8"
android:textColor="?colorOnBackground"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="v. 1.1.1" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/changelog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
android:text="@string/fragment_updates_changelog"
android:textAppearance="@style/TextAppearance.Material3.TitleSmall"
android:textStyle="bold" />
<com.google.android.material.button.MaterialButton
android:id="@+id/action_button"
style="@style/Widget.Material3.Button.TonalButton"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="64dp"
android:layout_marginBottom="40dp"
android:text="@string/fragment_updates_check_updates"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:navigationIcon="@drawable/ic_round_close_24"
app:navigationIconTint="?colorOnBackground"
app:title="@string/warning" />
<androidx.constraintlayout.helper.widget.Flow
android:id="@+id/flow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:constraint_referenced_ids="title,name_title,name,reason_title,reason"
app:flow_verticalGap="4dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/account_temporarily_blocked"
android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/name_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingTop="6dp"
android:text="@string/user_name"
android:textAppearance="@style/TextAppearance.Material3.TitleSmall" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:textAppearance="@style/TextAppearance.Material3.BodyMedium"
tools:text="@tools:sample/full_names" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/reason_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingTop="6dp"
android:text="@string/blocking_reason_title"
android:textAppearance="@style/TextAppearance.Material3.TitleSmall" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/reason"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:textAppearance="@style/TextAppearance.Material3.BodyMedium"
tools:text="Suspicious activity" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="8dp">
<com.meloda.fast.view.CircleImageView
android:id="@+id/avatar"
android:layout_width="42dp"
android:layout_height="42dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="?colorOnBackground" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?colorOnBackground"
android:textSize="16sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/online"
app:layout_constraintEnd_toStartOf="@id/star"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toEndOf="@id/avatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="@tools:sample/full_names" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/online"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="0.85"
android:textSize="12sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/remove"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Last seen 3 days ago" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/star"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginStart="4dp"
android:src="@drawable/ic_round_star_24"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/title"
app:layout_constraintEnd_toStartOf="@id/remove"
app:layout_constraintStart_toEndOf="@id/title"
app:layout_constraintTop_toTopOf="@id/title"
app:tint="?colorOnBackground"
tools:visibility="visible" />
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/remove"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?selectableItemBackgroundBorderless"
android:src="@drawable/ic_round_close_24"
android:tint="?colorOnBackground"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:paddingHorizontal="16dp"
android:paddingVertical="14dp">
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/viewCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/summary"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/viewCheckBox"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.BodySmall"
android:textSize="14sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/viewCheckBox"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Summary" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:paddingHorizontal="16dp"
android:paddingVertical="14dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/summary"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.BodySmall"
android:textSize="14sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Summary" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingTop="12dp"
android:paddingBottom="4dp">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/inputLayout"
style="@style/Ui.Widget.TextInputLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/value">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Text" />
</com.google.android.material.textfield.TextInputLayout>
</FrameLayout>
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:paddingHorizontal="16dp"
android:paddingVertical="14dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/summary"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.BodySmall"
android:textSize="14sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Summary" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:paddingHorizontal="16dp"
android:paddingVertical="14dp">
<com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/viewSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/summary"
app:layout_constraintEnd_toStartOf="@id/viewSwitch"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.BodySmall"
android:textSize="14sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/viewSwitch"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Summary" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingTop="14dp"
android:paddingBottom="4dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleSmall"
android:textColor="?colorTertiary"
tools:text="Title" />
</FrameLayout>
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:paddingHorizontal="16dp"
android:paddingVertical="14dp">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.TitleLarge"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/summary"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Title" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/google_sans_regular"
android:textAppearance="@style/TextAppearance.Material3.BodySmall"
android:textSize="14sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Summary" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:paddingVertical="4dp"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<FrameLayout
android:id="@+id/start_icon_container"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginStart="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/start_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="?selectableItemBackgroundBorderless"
app:tint="?colorOnBackground"
tools:src="@drawable/ic_round_arrow_back_24" />
</FrameLayout>
<com.meloda.fast.view.CircleImageView
android:id="@+id/avatar"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/start_icon_container"
app:layout_constraintTop_toTopOf="parent"
tools:src="?colorOnBackground" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?colorOnBackground"
android:textSize="16sp"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@id/subtitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toEndOf="@id/avatar"
app:layout_constraintTop_toTopOf="@id/avatar"
app:layout_constraintVertical_chainStyle="packed"
tools:text="@tools:sample/full_names" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="0.7"
android:ellipsize="end"
android:maxLines="1"
android:textColor="?colorOnBackground"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="@id/avatar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="@id/title"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="32 members" />
</merge>
@@ -5,8 +5,13 @@
<item
android:id="@+id/search"
android:icon="@drawable/ic_search"
android:title="Search"
android:title="@string/action_search"
android:visible="false"
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="collapseActionView|ifRoom" />
</menu>
<item
android:id="@+id/settings"
android:title="@string/title_settings" />
</menu>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/settings"
android:title="@string/title_settings" />
<item
android:id="@+id/log_out"
android:title="@string/log_out" />
</menu>
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/a1_500" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/a1_500" />
<foreground android:drawable="@drawable/ic_launcher_foreground_splash" />
<monochrome android:drawable="@drawable/ic_launcher_foreground_splash" />
</adaptive-icon>
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+2 -45
View File
@@ -1,48 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">@color/a1_200</color>
<color name="colorOnPrimary">@color/a1_800</color>
<color name="colorPrimaryContainer">@color/a1_700</color>
<color name="colorOnPrimaryContainer">@color/a1_100</color>
<color name="colorPrimaryInverse">@color/a1_600</color>
<color name="colorPrimaryVariant">@color/a3_100</color>
<color name="colorSecondary">@color/a2_200</color>
<color name="colorOnSecondary">@color/a2_800</color>
<color name="colorSecondaryContainer">@color/a2_700</color>
<color name="colorOnSecondaryContainer">@color/a2_100</color>
<color name="colorTertiary">@color/a3_200</color>
<color name="colorOnTertiary">@color/a3_800</color>
<color name="colorTertiaryContainer">@color/a3_700</color>
<color name="colorOnTertiaryContainer">@color/a3_100</color>
<color name="colorError">#f2b8b5</color>
<color name="colorOnError">#601410</color>
<color name="colorErrorContainer">#8c1d18</color>
<color name="colorOnErrorContainer">#f2b8b5</color>
<color name="colorOutline">@color/n2_400</color>
<color name="colorBackground">@color/n1_900</color>
<color name="colorOnBackground">@color/n1_100</color>
<color name="colorOnBackground50">@color/n1_100_50</color>
<color name="colorBackgroundVariant">@color/n2_800</color>
<color name="colorOnBackgroundVariantContainer">@color/a1_200</color>
<color name="colorOnBackgroundVariantOnContainer">@color/a1_900</color>
<color name="colorSurface">@color/n1_900</color>
<color name="colorOnSurface">@color/n1_100</color>
<color name="colorSurfaceVariant">@color/n2_700</color>
<color name="colorOnSurfaceVariant">@color/n2_200</color>
<color name="colorSurfaceInverse">@color/n1_100</color>
<color name="colorOnSurfaceInverse">@color/n1_800</color>
<color name="colorUserAvatarAction">@color/n2_500</color>
<color name="colorOnUserAvatarAction">@color/n2_10</color>
<color name="colorWaveformProgress">@color/n2_100</color>
<color name="colorWaveformBackground">@color/n2_400</color>
<color name="colorMessagesHistoryPanel">@color/a1_1000</color>
</resources>
<color name="colorTranslucentNavigationBar">#40000000</color>
</resources>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="message_attachments_many">Вложения</string>
<string name="navigation_settings">Настроечбки</string>
<string name="title_settings">Настроечбки</string>
</resources>
+1 -1
View File
@@ -2,7 +2,7 @@
<resources>
<style name="Base.V27.AppTheme" parent="Base.V21.AppTheme">
<item name="android:navigationBarColor">@color/colorBackground</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowLightNavigationBar">@bool/useLightNavigationBar</item>
<item name="android:navigationBarDividerColor">@android:color/transparent</item>
</style>
+42 -42
View File
@@ -1,51 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="a1_0"> @android:color/system_accent1_0</color>
<color name="a1_100"> @android:color/system_accent1_100</color>
<color name="a1_200"> @android:color/system_accent1_200</color>
<color name="a1_400"> @android:color/system_accent1_400</color>
<color name="a1_500"> @android:color/system_accent1_500</color>
<color name="a1_600"> @android:color/system_accent1_600</color>
<color name="a1_700"> @android:color/system_accent1_700</color>
<color name="a1_800"> @android:color/system_accent1_800</color>
<color name="a1_900"> @android:color/system_accent1_900</color>
<color name="a1_1000">@android:color/system_accent1_1000</color>
<color name="dynamic_a1_0"> @android:color/system_accent1_0</color>
<color name="dynamic_a1_100"> @android:color/system_accent1_100</color>
<color name="dynamic_a1_200"> @android:color/system_accent1_200</color>
<color name="dynamic_a1_400"> @android:color/system_accent1_400</color>
<color name="dynamic_a1_500"> @android:color/system_accent1_500</color>
<color name="dynamic_a1_600"> @android:color/system_accent1_600</color>
<color name="dynamic_a1_700"> @android:color/system_accent1_700</color>
<color name="dynamic_a1_800"> @android:color/system_accent1_800</color>
<color name="dynamic_a1_900"> @android:color/system_accent1_900</color>
<color name="dynamic_a1_1000">@android:color/system_accent1_1000</color>
<color name="a2_0"> @android:color/system_accent2_0 </color>
<color name="a2_100">@android:color/system_accent2_100</color>
<color name="a2_200">@android:color/system_accent2_200</color>
<color name="a2_300">@android:color/system_accent2_300</color>
<color name="a2_600">@android:color/system_accent2_600</color>
<color name="a2_700">@android:color/system_accent2_700</color>
<color name="a2_800">@android:color/system_accent2_800</color>
<color name="a2_900">@android:color/system_accent2_900</color>
<color name="dynamic_a2_0"> @android:color/system_accent2_0 </color>
<color name="dynamic_a2_100">@android:color/system_accent2_100</color>
<color name="dynamic_a2_200">@android:color/system_accent2_200</color>
<color name="dynamic_a2_300">@android:color/system_accent2_300</color>
<color name="dynamic_a2_600">@android:color/system_accent2_600</color>
<color name="dynamic_a2_700">@android:color/system_accent2_700</color>
<color name="dynamic_a2_800">@android:color/system_accent2_800</color>
<color name="dynamic_a2_900">@android:color/system_accent2_900</color>
<color name="a3_0"> @android:color/system_accent3_0 </color>
<color name="a3_100">@android:color/system_accent3_100</color>
<color name="a3_200">@android:color/system_accent3_200</color>
<color name="a3_600">@android:color/system_accent3_600</color>
<color name="a3_700">@android:color/system_accent3_700</color>
<color name="a3_800">@android:color/system_accent3_800</color>
<color name="a3_900">@android:color/system_accent3_900</color>
<color name="dynamic_a3_0"> @android:color/system_accent3_0 </color>
<color name="dynamic_a3_100">@android:color/system_accent3_100</color>
<color name="dynamic_a3_200">@android:color/system_accent3_200</color>
<color name="dynamic_a3_600">@android:color/system_accent3_600</color>
<color name="dynamic_a3_700">@android:color/system_accent3_700</color>
<color name="dynamic_a3_800">@android:color/system_accent3_800</color>
<color name="dynamic_a3_900">@android:color/system_accent3_900</color>
<color name="n1_10"> @android:color/system_neutral1_0 </color>
<color name="n1_50"> @android:color/system_neutral1_50 </color>
<color name="n1_100">@android:color/system_neutral1_100</color>
<color name="n2_200">@android:color/system_neutral1_200</color>
<color name="n2_400">@android:color/system_neutral1_400</color>
<color name="n2_700">@android:color/system_neutral1_700</color>
<color name="n1_800">@android:color/system_neutral1_800</color>
<color name="n1_900">@android:color/system_neutral1_900</color>
<color name="dynamic_n1_10"> @android:color/system_neutral1_0 </color>
<color name="dynamic_n1_50"> @android:color/system_neutral1_50 </color>
<color name="dynamic_n1_100">@android:color/system_neutral1_100</color>
<color name="dynamic_n2_200">@android:color/system_neutral1_200</color>
<color name="dynamic_n2_400">@android:color/system_neutral1_400</color>
<color name="dynamic_n2_700">@android:color/system_neutral1_700</color>
<color name="dynamic_n1_800">@android:color/system_neutral1_800</color>
<color name="dynamic_n1_900">@android:color/system_neutral1_900</color>
<color name="n1_100_50">#80E2E1E5</color>
<color name="n1_900_50">#801B1B1D</color>
<color name="dynamic_n1_100_50">#80E2E1E5</color>
<color name="dynamic_n1_900_50">#801B1B1D</color>
<color name="n2_0"> @android:color/system_neutral2_0 </color>
<color name="n2_10"> @android:color/system_neutral2_10 </color>
<color name="n2_100">@android:color/system_neutral2_100</color>
<color name="n2_500">@android:color/system_neutral2_500</color>
<color name="n2_600">@android:color/system_neutral2_600</color>
<color name="n2_800">@android:color/system_neutral2_800</color>
<color name="dynamic_n2_0"> @android:color/system_neutral2_0 </color>
<color name="dynamic_n2_10"> @android:color/system_neutral2_10 </color>
<color name="dynamic_n2_100">@android:color/system_neutral2_100</color>
<color name="dynamic_n2_500">@android:color/system_neutral2_500</color>
<color name="dynamic_n2_600">@android:color/system_neutral2_600</color>
<color name="dynamic_n2_800">@android:color/system_neutral2_800</color>
</resources>
</resources>
+10 -1
View File
@@ -36,4 +36,13 @@
<attr name="colorOnBackgroundVariantContainer" format="color" />
<attr name="colorOnBackgroundVariantOnContainer" format="color" />
</resources>
<declare-styleable name="DialogToolbar">
<attr name="backgroundColor" format="color" />
<attr name="title" format="string" />
<attr name="subtitle" format="string" />
<attr name="avatar" format="reference" />
<attr name="startIcon" format="reference" />
<attr name="useTranslucentBackgroundColor" format="boolean" />
</declare-styleable>
</resources>
+9
View File
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="debug_1">#ff0000</color>
<color name="debug_2">#00ff00</color>
<color name="debug_3">#0000ff</color>
<color name="colorPrimary">@color/a1_600</color>
<color name="colorOnPrimary">@color/a1_0</color>
<color name="colorPrimaryContainer">@color/a1_100</color>
@@ -45,4 +49,9 @@
<color name="colorWaveformBackground">@color/a2_300</color>
<color name="colorMessagesHistoryPanel">@color/a1_0</color>
<color name="colorLoginFragmentBackground">@color/n1_50</color>
<color name="colorLoginFieldBackground">@color/n1_10</color>
<color name="colorTranslucentNavigationBar">#33000000</color>
</resources>
+40 -40
View File
@@ -1,50 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="a1_0">#FFFFFF</color>
<color name="a1_100">#D8E1FC</color>
<color name="a1_200">#B1C6FA</color>
<color name="a1_400">#598DF7</color>
<color name="a1_500">#3771DF</color>
<color name="a1_600">#2559BC</color>
<color name="a1_700">#194290</color>
<color name="a1_800">#0F2D67</color>
<color name="a1_900">#061A41</color>
<color name="a1_1000">#000000</color>
<color name="a1_0"> #FFFFFF</color>
<color name="a1_100"> #D8E1FC</color>
<color name="a1_200"> #B1C6FA</color>
<color name="a1_400"> #598DF7</color>
<color name="a1_500"> #3771DF</color>
<color name="a1_600"> #2559BC</color>
<color name="a1_700"> #194290</color>
<color name="a1_800"> #0F2D67</color>
<color name="a1_900"> #061A41</color>
<color name="a1_1000"> #000000</color>
<color name="a2_0">#FEFEFE</color>
<color name="a2_100">#DCE1F7</color>
<color name="a2_200">#C0C6DA</color>
<color name="a2_300">#A4ABBF</color>
<color name="a2_600">#585E6F</color>
<color name="a2_700">#414757</color>
<color name="a2_800">#2A3040</color>
<color name="a2_900">#151C2B</color>
<color name="a2_0"> #FEFEFE</color>
<color name="a2_100"> #DCE1F7</color>
<color name="a2_200"> #C0C6DA</color>
<color name="a2_300"> #A4ABBF</color>
<color name="a2_600"> #585E6F</color>
<color name="a2_700"> #414757</color>
<color name="a2_800"> #2A3040</color>
<color name="a2_900"> #151C2B</color>
<color name="a3_0">#FFFFFF</color>
<color name="a3_100">#F8D6FC</color>
<color name="a3_200">#DEBAE5</color>
<color name="a3_600">#715379</color>
<color name="a3_700">#583C61</color>
<color name="a3_800">#40254A</color>
<color name="a3_900">#2A0F33</color>
<color name="a3_0"> #FFFFFF</color>
<color name="a3_100"> #F8D6FC</color>
<color name="a3_200"> #DEBAE5</color>
<color name="a3_600"> #715379</color>
<color name="a3_700"> #583C61</color>
<color name="a3_800"> #40254A</color>
<color name="a3_900"> #2A0F33</color>
<color name="n1_10">#FBF9FC</color>
<color name="n1_50">#F1F1F1</color>
<color name="n1_100">#E2E1E5</color>
<color name="n1_10"> #FBF9FC</color>
<color name="n1_50"> #F1F1F1</color>
<color name="n1_100"> #E2E1E5</color>
<color name="n1_100_50">#80E2E1E5</color>
<color name="n2_200">#C7C6C9</color>
<color name="n2_400">#919094</color>
<color name="n2_700">#46464A</color>
<color name="n1_800">#303033</color>
<color name="n1_900">#1B1B1D</color>
<color name="n2_200"> #C7C6C9</color>
<color name="n2_400"> #919094</color>
<color name="n2_700"> #46464A</color>
<color name="n1_800"> #303033</color>
<color name="n1_900"> #1B1B1D</color>
<color name="n1_900_50">#801B1B1D</color>
<color name="n2_0">#FFFFFF</color>
<color name="n2_10">#FDFBFE</color>
<color name="n2_100">#E0E2EB</color>
<color name="n2_500">#74767D</color>
<color name="n2_600">#5C5E65</color>
<color name="n2_800">#2F3037</color>
<color name="n2_0"> #FFFFFF</color>
<color name="n2_10"> #FDFBFE</color>
<color name="n2_100"> #E0E2EB</color>
<color name="n2_500"> #74767D</color>
<color name="n2_600"> #5C5E65</color>
<color name="n2_800"> #2F3037</color>
</resources>
</resources>
+27 -5
View File
@@ -8,8 +8,12 @@
<string name="navigation_profile">Profile</string>
<string name="navigation_favorites">Favorites</string>
<string name="navigation_settings">Settings</string>
<string name="static_settings">Static Settings</string>
<string name="error">Error: %s</string>
<string name="error_occurred">Error occurred</string>
<string name="error_occurred_description">Error: %s</string>
<string name="title_error">Error</string>
<string name="password_login_hint">Password</string>
@@ -54,6 +58,7 @@
<string name="validation_required">Validation required</string>
<string name="unknown_error_occurred">Unknown error occurred</string>
<string name="authorization_failed">Authorization failed</string>
<string name="token_expired">Access token expired</string>
<string name="message_action_chat_created">%s created «%s»</string>
@@ -140,7 +145,7 @@
<string name="conversation_context_action_delete">Delete</string>
<string name="confirm_delete_conversation">Delete the conversation?</string>
<string name="action_sign_out">Sign out</string>
<string name="sign_out_confirm_title">Sign out</string>
<string name="sign_out_confirm_title">Sign out?</string>
<string name="conversation_context_action_unpin">Unpin</string>
<string name="conversation_context_action_pin">Pin</string>
<string name="confirm_unpin_conversation">Unpin the conversation?</string>
@@ -166,17 +171,21 @@
<string name="pref_updates_check_update_summary">Current version: %s</string>
<string name="fragment_updates_changelog_none">Changelog is missing</string>
<string name="fragment_updates_changelog">Changelog</string>
<string name="fragment_updates_changelog">Show changelog</string>
<string name="fragment_updates_check_updates">Check updates</string>
<string name="fragment_updates_install">Install</string>
<string name="fragment_updates_download_update">Download</string>
<string name="fragment_updates_try_again">Try again</string>
<string name="fragment_updates_new_version">New version available!</string>
<string name="fragment_updates_downloaded">Update downloaded!</string>
<string name="fragment_updates_new_version_description">v. %s</string>
<string name="fragment_updates_no_updates">No updates</string>
<string name="fragment_updates_issues_installing">Issues with installing?</string>
<string name="fragment_updates_no_updates_description">Try again later</string>
<string name="fragment_updates_error_occurred">Error occurred</string>
<string name="fragment_updates_error_occurred_description">Error: %s</string>
<string name="fragment_updates_unknown_sources_disabled_message">Unknown sources installing is disabled in the settings. Open settings?</string>
<string name="fragment_updates_downloading_update">Downloading update…</string>
<string name="fragment_updates_issues_description">In case of any kind of problem related to installing new version you can delete and then re-download executable *.apk file. Proceed?</string>
<string name="fragment_updates_file_not_found_description">Installed executable *.apk file not found. Try to re-download it</string>
<string name="warning">Warning</string>
@@ -196,5 +205,18 @@
<string name="fast_login_title">Fast login</string>
<string name="fast_login_hint">$login;$password</string>
<string name="confirm_remove_chat_user">Are you sure you want to remove this member?</string>
<string name="user_banned_error">User banned</string>
<string name="blocking_reason_title">Blocking reason</string>
<string name="account_temporarily_blocked">Account temporarily blocked</string>
<string name="user_name">User name</string>
<string name="sign_in_to_vk">Sign in to VK</string>
<string name="easter_egg_log_out_dmitry" translatable="false">Выйти внаружу?</string>
<string name="action_search">Search</string>
<string name="action_stop">Stop</string>
<string name="value">Value</string>
</resources>
+22 -1
View File
@@ -17,4 +17,25 @@
<item name="cornerRadius">15dp</item>
</style>
</resources>
<style name="Ui" />
<style name="Ui.Widget" />
<style name="Ui.Widget.TextInputLayout" parent="@style/Widget.Material3.TextInputLayout.FilledBox">
<item name="boxCornerRadiusBottomEnd">10dp</item>
<item name="boxCornerRadiusBottomStart">10dp</item>
<item name="boxCornerRadiusTopEnd">10dp</item>
<item name="boxCornerRadiusTopStart">10dp</item>
<item name="boxStrokeWidth">0dp</item>
<item name="boxStrokeErrorColor">@android:color/transparent</item>
</style>
<style name="Ui.Widget.TextInputLayout.Password">
<item name="endIconMode">password_toggle</item>
</style>
<style name="Ui.Widget.CollapsingToolbar" parent="Widget.Material3.CollapsingToolbar">
<item name="scrimVisibleHeightTrigger">60dp</item>
</style>
</resources>
+12 -42
View File
@@ -2,61 +2,31 @@
<resources>
<style name="Base.V21.AppTheme" parent="Theme.Material3.DayNight.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorOnPrimary">@color/colorOnPrimary</item>
<item name="colorPrimaryContainer">@color/colorPrimaryContainer</item>
<item name="colorOnPrimaryContainer">@color/colorOnPrimaryContainer</item>
<item name="colorPrimaryInverse">@color/colorPrimaryInverse</item>
<item name="colorPrimaryVariant">@color/colorPrimaryVariant</item>
<item name="colorSecondary">@color/colorSecondary</item>
<item name="colorOnSecondary">@color/colorOnSecondary</item>
<item name="colorSecondaryContainer">@color/colorSecondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/colorOnSecondaryContainer</item>
<item name="colorTertiary">@color/colorTertiary</item>
<item name="colorOnTertiary">@color/colorOnTertiary</item>
<item name="colorTertiaryContainer">@color/colorTertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/colorOnTertiaryContainer</item>
<item name="colorError">@color/colorError</item>
<item name="colorOnError">@color/colorOnError</item>
<item name="colorErrorContainer">@color/colorErrorContainer</item>
<item name="colorOnErrorContainer">@color/colorOnErrorContainer</item>
<item name="colorOutline">@color/colorOutline</item>
<item name="colorBackground">@color/colorBackground</item>
<item name="colorBackgroundVariant">@color/colorBackgroundVariant</item>
<item name="colorOnBackground">@color/colorOnBackground</item>
<item name="colorOnBackgroundVariantContainer">@color/colorOnBackgroundVariantContainer
</item>
<item name="colorOnBackgroundVariantOnContainer">
@color/colorOnBackgroundVariantOnContainer
</item>
<item name="android:windowBackground">?colorBackground</item>
<item name="colorSurface">@color/colorSurface</item>
<item name="colorOnSurface">@color/colorOnSurface</item>
<item name="colorSurfaceVariant">@color/colorSurfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/colorOnSurfaceVariant</item>
<item name="colorSurfaceInverse">@color/colorSurfaceInverse</item>
<item name="colorOnSurfaceInverse">@color/colorOnSurfaceInverse</item>
<item name="android:windowAnimationStyle">@style/AppTheme.ActivityAnimation</item>
<item name="android:statusBarColor">@color/colorBackground</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@color/colorTranslucentNavigationBar</item>
<item name="android:windowLightStatusBar">@bool/useLightStatusBar</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme" parent="Base.V21.AppTheme" />
<style name="AppTheme.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/colorBackground</item>
<item name="windowSplashScreenIconBackgroundColor">@android:color/transparent</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground_splash</item>
<style name="TestTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar" />
<style name="AppTheme.Splash" parent="Theme.SplashScreen.IconBackground">
<item name="windowSplashScreenBackground">?colorBackground</item>
<item name="windowSplashScreenIconBackgroundColor">?colorPrimary</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<item name="postSplashScreenTheme">@style/AppTheme</item>
</style>
</resources>
</resources>
+5
View File
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="en" />
<locale android:name="ru" />
</locale-config>
+4 -1
View File
@@ -12,4 +12,7 @@
<files-path
name="files"
path="." />
</paths>
<cache-path
name="shared_images"
path="images/" />
</paths>
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<shortcut
android:enabled="true"
android:icon="@drawable/ic_round_settings_primary"
android:shortcutId="settings"
android:shortcutShortLabel="@string/static_settings"
tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.VIEW"
android:data="shortcut_settings"
android:targetClass="com.meloda.fast.screens.main.activity.MainActivity"
android:targetPackage="com.meloda.fast.dev" />
<intent
android:action="android.intent.action.VIEW"
android:data="shortcut_settings"
android:targetClass="com.meloda.fast.screens.main.activity.MainActivity"
android:targetPackage="com.meloda.fast" />
</shortcut>
</shortcuts>