Changes of com.discord v1119
|
@ -1,5 +1,5 @@
|
|||
!!brut.androlib.meta.MetaInfo
|
||||
apkFileName: com.discord-1118.apk
|
||||
apkFileName: com.discord-1119.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
|
@ -190,5 +190,5 @@ usesFramework:
|
|||
tag: null
|
||||
version: 2.4.1-197d46-SNAPSHOT
|
||||
versionInfo:
|
||||
versionCode: '1118'
|
||||
versionName: '19.6'
|
||||
versionCode: '1119'
|
||||
versionName: '20.0'
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
#Do NOT modify, delete, or commit to source control!
|
||||
#
|
||||
#Mon Apr 27 19:05:15 UTC 2020
|
||||
version_name=19.6
|
||||
#Mon Apr 27 19:22:25 UTC 2020
|
||||
version_name=20.0
|
||||
package_name=com.discord
|
||||
build_id=fcdd3a9d-3978-4172-a10d-cbe2774db39f
|
||||
version_code=1118
|
||||
build_id=54de1921-e227-443b-ba2b-2e7ed0fa18b1
|
||||
version_code=1119
|
||||
app_name=com.discord
|
||||
|
|
BIN
com.discord/lib/arm64-v8a/libdsti.so
Normal file
BIN
com.discord/lib/armeabi-v7a/libdsti.so
Normal file
BIN
com.discord/lib/x86/libdsti.so
Normal file
BIN
com.discord/lib/x86_64/libdsti.so
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="46.1874" android:startY="12.714" android:endX="46.1874" android:endY="32.6317"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="437.206" android:startY="176.848" android:endX="437.206" android:endY="427.213"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="530.24" android:startY="229.007" android:endX="530.24" android:endY="568.006"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="632.62" android:startY="118.287" android:endX="632.62" android:endY="269.065"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="108.375" android:startY="21.5708" android:endX="40.3062" android:endY="93.557"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ffffd01a" android:offset="0.0" />
|
||||
<item android:color="#ffffa600" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="74.2104" android:startY="53.9921" android:endX="74.2104" android:endY="32.2109"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ffffffff" android:offset="0.0" />
|
||||
<item android:color="#ffdbe9ff" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="125.701" android:startY="14.5304" android:endX="125.701" android:endY="167.847"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="230.045" android:startY="71.2269" android:endX="230.045" android:endY="137.999"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff00e0a7" android:offset="0.0" />
|
||||
<item android:color="#ff00a6a0" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="230.045" android:startY="71.2269" android:endX="230.045" android:endY="137.999"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff00e0a7" android:offset="0.0" />
|
||||
<item android:color="#ff00a6a0" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="15798.6" android:startY="2353.97" android:endX="15798.6" android:endY="27122.3"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="26492.6" android:startY="3157.9" android:endX="26492.6" android:endY="6021.09"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff00e0a7" android:offset="0.0" />
|
||||
<item android:color="#ff00a6a0" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="26492.6" android:startY="3122.68" android:endX="26492.6" android:endY="5985.87"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff00e0a7" android:offset="0.0" />
|
||||
<item android:color="#ff00a6a0" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="35.37" android:startY="10.71" android:endX="52.77" android:endY="31.55"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ff4788ff" android:offset="0.0" />
|
||||
<item android:color="#ff365dec" android:offset="1.0" />
|
||||
</gradient>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gradient android:type="linear" android:startX="48.13" android:startY="55.69" android:endX="106.86" android:endY="85.26"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<item android:color="#ffffd01a" android:offset="0.0" />
|
||||
<item android:color="#ffffa600" android:offset="1.0" />
|
||||
</gradient>
|
5
com.discord/res/drawable-anydpi-v24/ic_screen_14dp.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="14.0dip" android:width="14.0dip" android:viewportWidth="16.0" android:viewportHeight="16.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M2,0.875C1.1727,0.875 0.5,1.5477 0.5,2.375V10.625C0.5,11.453 1.1727,12.125 2,12.125H7.25V13.625H4.25V15.125H11.75V13.625H8.75V12.125H14C14.8273,12.125 15.5,11.453 15.5,10.625V2.375C15.5,1.5477 14.8273,0.875 14,0.875H2ZM14,2.375V9.125H2V2.375H14Z" android:fillType="evenOdd" />
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M11.24,5V3C16.755,3 21.24,7.486 21.24,13H19.24C19.24,8.589 15.651,5 11.24,5ZM17.24,13H15.24C15.24,10.795 13.446,9 11.24,9V7C14.549,7 17.24,9.691 17.24,13ZM11.24,11V13H13.24C13.24,11.896 12.345,11 11.24,11ZM14.24,16H18.24C18.793,16 19.24,16.447 19.24,17V21C19.24,21.553 18.793,22 18.24,22H13.24C7.165,22 2.24,17.075 2.24,11V6C2.24,5.447 2.688,5 3.24,5H7.24C7.793,5 8.24,5.447 8.24,6V10C8.24,10.553 7.793,11 7.24,11H6.24C6.303,14.938 9.24,18 13.24,18V17C13.24,16.447 13.687,16 14.24,16Z" android:fillType="evenOdd" />
|
||||
</vector>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="16.0dip" android:width="16.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ff7d8187" android:pathData="M20,3V4L23,3V7L20,6V7C20,7.553 19.552,8 19,8H15C14.448,8 14,7.553 14,7V3C14,2.447 14.448,2 15,2H19C19.552,2 20,2.447 20,3ZM18,15V10H19H20V17C20,18.104 19.103,19 18,19H11V21H15V23H5V21H9V19H2C0.897,19 0,18.104 0,17V6C0,4.897 0.897,4 2,4H12V6H2V15H7H10H13H18Z" android:fillType="evenOdd" />
|
||||
</vector>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="83.0dip" android:width="148.0dip" android:viewportWidth="148.0" android:viewportHeight="83.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<group>
|
||||
<clip-path android:pathData="M0,0h148v82.676h-148z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__0" android:pathData="M46.187,22.042C46.87,22.042 47.525,22.313 48.008,22.796C48.491,23.279 48.762,23.934 48.762,24.617V29.626H43.612V24.617C43.612,23.934 43.884,23.279 44.367,22.796C44.849,22.313 45.505,22.042 46.187,22.042Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__1" android:pathData="M71.626,17.032C72.308,17.032 72.963,17.303 73.446,17.786C73.929,18.269 74.2,18.924 74.2,19.607V29.626H69.051V19.607C69.051,18.924 69.322,18.269 69.805,17.786C70.288,17.303 70.943,17.032 71.626,17.032Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__2" android:pathData="M87.165,12.614C87.848,12.614 88.503,12.885 88.986,13.368C89.468,13.851 89.74,14.506 89.74,15.189V29.666H84.62V15.199C84.617,14.519 84.883,13.866 85.36,13.382C85.837,12.898 86.485,12.622 87.165,12.614Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__3" android:pathData="M103.285,22.042C103.968,22.042 104.623,22.313 105.106,22.796C105.589,23.279 105.86,23.934 105.86,24.617V29.626H100.701V24.617C100.7,24.278 100.767,23.942 100.897,23.629C101.027,23.316 101.218,23.031 101.458,22.792C101.698,22.553 101.983,22.364 102.297,22.235C102.611,22.106 102.946,22.04 103.285,22.042Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__4" android:pathData="M23.064,40.396V75.012H125.347V34.936L48.762,33.844L23.064,40.396Z" />
|
||||
<path android:fillColor="#ff4788ff" android:pathData="M139.744,75.012H8.666C8.388,75.011 8.116,75.089 7.881,75.238C7.646,75.386 7.458,75.598 7.339,75.849C7.221,76.101 7.176,76.381 7.21,76.656C7.245,76.932 7.357,77.192 7.534,77.406L9.267,79.52C10.074,80.508 11.09,81.304 12.243,81.85C13.395,82.396 14.655,82.678 15.93,82.676H132.491C133.764,82.677 135.022,82.395 136.173,81.849C137.324,81.303 138.338,80.507 139.143,79.52L140.876,77.406C141.053,77.192 141.166,76.932 141.2,76.656C141.235,76.381 141.19,76.101 141.071,75.849C140.952,75.598 140.765,75.386 140.53,75.238C140.295,75.089 140.022,75.011 139.744,75.012Z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M23.044,58.21C35.828,58.21 35.828,64.221 48.612,64.221C61.396,64.221 61.396,58.21 74.17,58.21C86.945,58.21 86.954,64.221 99.749,64.221C112.543,64.221 112.533,58.21 125.317,58.21" android:strokeColor="#fffa4e89" android:strokeWidth="3.0" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_birthday__5" android:pathData="M125.347,34.616V34.936C125.349,36.56 125.154,38.178 124.766,39.755C120.588,56.517 109.577,45.426 106.021,40.917C102.013,35.908 95.631,35.908 93.727,43.993C91.824,52.078 84.209,52.259 77.957,44.354C71.706,36.449 66.937,40.196 62.248,48.141C61.379,49.661 60.296,51.048 59.032,52.259C55.174,55.876 50.536,56.266 47.009,52.259C46.42,51.591 45.9,50.866 45.456,50.095C40.827,42.33 36.329,37.451 30.287,40.336C27.101,41.859 24.667,42.13 23.074,40.336V34.616C23.074,31.88 25.628,29.666 28.784,29.666H119.636C122.792,29.666 125.347,31.88 125.347,34.616Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M49.353,14.517L46.187,9.428L43.021,14.517C42.579,15.234 42.392,16.078 42.488,16.914C42.584,17.75 42.959,18.529 43.552,19.126C44.251,19.825 45.199,20.217 46.187,20.217C47.176,20.217 48.123,19.825 48.822,19.126C49.416,18.529 49.791,17.75 49.887,16.914C49.983,16.078 49.795,15.234 49.353,14.517Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M74.791,9.498L71.626,4.408L68.469,9.498C68.023,10.212 67.831,11.056 67.926,11.893C68.02,12.73 68.396,13.51 68.991,14.107C69.689,14.805 70.637,15.198 71.626,15.198C72.614,15.198 73.562,14.805 74.26,14.107C74.858,13.512 75.237,12.733 75.333,11.895C75.43,11.058 75.239,10.212 74.791,9.498Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M90.371,5.09L87.165,0L84.039,5.09C83.593,5.805 83.404,6.65 83.5,7.487C83.596,8.324 83.974,9.103 84.57,9.698C85.269,10.397 86.217,10.79 87.205,10.79C88.193,10.79 89.141,10.397 89.84,9.698C90.433,9.101 90.808,8.322 90.904,7.486C91.001,6.65 90.813,5.806 90.371,5.09Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M106.451,14.517L103.285,9.428L100.119,14.517C99.677,15.234 99.49,16.078 99.586,16.914C99.682,17.75 100.057,18.529 100.65,19.126C101.349,19.825 102.297,20.217 103.285,20.217C104.274,20.217 105.221,19.825 105.92,19.126C106.518,18.532 106.897,17.752 106.993,16.915C107.09,16.077 106.899,15.232 106.451,14.517Z" />
|
||||
<path android:fillColor="#ff00e0a7" android:pathData="M1.603,52.59L0.12,55.685C0.051,55.843 0.03,56.017 0.06,56.186C0.085,56.358 0.166,56.517 0.291,56.637C0.411,56.764 0.569,56.849 0.741,56.878C0.912,56.905 1.086,56.881 1.242,56.807L4.308,55.325C4.426,55.265 4.557,55.235 4.689,55.235C4.824,55.233 4.958,55.264 5.08,55.325L8.085,56.807C8.245,56.857 8.416,56.857 8.576,56.807C8.74,56.785 8.893,56.716 9.017,56.607C9.129,56.487 9.205,56.338 9.237,56.176C9.268,56.01 9.247,55.839 9.177,55.685L7.745,52.59C7.689,52.474 7.661,52.347 7.664,52.219C7.661,52.094 7.689,51.97 7.745,51.858L9.217,48.762C9.298,48.608 9.326,48.433 9.298,48.261C9.259,48.081 9.16,47.918 9.017,47.8C8.894,47.68 8.736,47.599 8.566,47.57C8.392,47.542 8.213,47.57 8.055,47.65L5.009,49.093C4.888,49.153 4.754,49.184 4.619,49.183C4.497,49.179 4.377,49.148 4.268,49.093L1.202,47.65C1.049,47.569 0.873,47.541 0.701,47.57C0.531,47.599 0.374,47.68 0.25,47.8C0.123,47.924 0.038,48.086 0.01,48.261C-0.017,48.431 0.007,48.606 0.08,48.762L1.563,51.858C1.622,51.97 1.656,52.093 1.663,52.219C1.674,52.345 1.653,52.473 1.603,52.59Z" />
|
||||
<path android:fillColor="#ffff87ff" android:pathData="M144.012,24.186L147.409,23.044C147.585,22.985 147.737,22.873 147.846,22.723C147.954,22.573 148.012,22.392 148.012,22.207C148.012,22.022 147.954,21.841 147.846,21.691C147.737,21.541 147.585,21.429 147.409,21.37L144.012,20.178C143.885,20.135 143.768,20.062 143.673,19.967C143.577,19.871 143.505,19.755 143.461,19.627L142.269,16.181C142.211,16.005 142.098,15.852 141.948,15.744C141.798,15.635 141.618,15.577 141.433,15.577C141.247,15.577 141.067,15.635 140.917,15.744C140.767,15.852 140.654,16.005 140.596,16.181L139.404,19.577C139.36,19.705 139.288,19.821 139.192,19.917C139.097,20.012 138.981,20.085 138.853,20.128L135.456,21.32C135.281,21.379 135.128,21.491 135.019,21.641C134.911,21.791 134.853,21.972 134.853,22.157C134.853,22.342 134.911,22.522 135.019,22.673C135.128,22.823 135.281,22.935 135.456,22.993L138.853,24.186C138.979,24.229 139.094,24.3 139.19,24.393C139.285,24.487 139.358,24.601 139.404,24.727L140.596,28.133C140.654,28.309 140.767,28.462 140.917,28.57C141.067,28.678 141.247,28.737 141.433,28.737C141.618,28.737 141.798,28.678 141.948,28.57C142.098,28.462 142.211,28.309 142.269,28.133L143.461,24.727C143.507,24.601 143.58,24.487 143.675,24.393C143.771,24.3 143.886,24.229 144.012,24.186Z" />
|
||||
<path android:fillColor="#ff96d1ff" android:pathData="M15.322,5.036C14.751,4.464 13.825,4.464 13.253,5.036C12.682,5.607 12.682,6.533 13.253,7.104L14.288,8.139C14.859,8.71 15.785,8.71 16.356,8.139C16.927,7.567 16.927,6.641 16.356,6.07L15.322,5.036Z" />
|
||||
<path android:fillColor="#ff96d1ff" android:pathData="M23.599,13.311C23.028,12.74 22.101,12.74 21.53,13.311C20.959,13.882 20.959,14.809 21.53,15.38L22.565,16.414C23.136,16.986 24.062,16.986 24.633,16.414C25.205,15.843 25.205,14.917 24.633,14.346L23.599,13.311Z" />
|
||||
<path android:fillColor="#ff96d1ff" android:pathData="M24.641,7.097C25.212,6.526 25.212,5.6 24.641,5.028C24.07,4.457 23.144,4.457 22.573,5.028L21.538,6.063C20.967,6.634 20.967,7.56 21.538,8.131C22.11,8.703 23.036,8.703 23.607,8.131L24.641,7.097Z" />
|
||||
<path android:fillColor="#ff96d1ff" android:pathData="M16.364,15.373C16.935,14.802 16.935,13.875 16.364,13.304C15.793,12.733 14.867,12.733 14.295,13.304L13.261,14.338C12.69,14.91 12.69,15.836 13.261,16.407C13.832,16.978 14.759,16.978 15.33,16.407L16.364,15.373Z" />
|
||||
</group>
|
||||
</vector>
|
51
com.discord/res/drawable-anydpi-v24/img_age_gate_failure.xml
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="168.0dip" android:width="252.0dip" android:viewportWidth="252.0" android:viewportHeight="168.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<group>
|
||||
<clip-path android:pathData="M0,0h252v167.618h-252z" />
|
||||
<path android:fillColor="#ff9ecdff" android:pathData="M199.061,167.588L198.841,166.233L194.028,136.424L189.354,106.636L180.155,46.95C178.267,34.639 172.242,23.338 163.073,14.909C153.999,6.578 142.45,1.444 130.186,0.289C117.887,-0.885 105.556,2.177 95.235,8.969C84.827,15.862 77.071,26.089 73.24,37.97C72.822,39.465 72.323,40.96 71.994,42.455L71.127,47.02L69.951,54.992L67.569,70.938L62.716,102.65L60.254,118.595L57.723,134.481C56.029,145.075 54.354,155.669 52.571,166.243L52.341,167.598H72.841L74.276,166.99L74.217,167.598H177.185L177.096,166.691L178.571,167.598L199.061,167.588ZM161.03,156.775H75.233C75.851,150.168 76.509,143.57 77.157,136.973L78.731,120.957L80.386,104.962L83.714,72.971L85.428,57.025L86.315,49.053L86.824,45.694C87.013,44.578 87.362,43.512 87.611,42.405C88.84,38.046 90.801,33.928 93.411,30.227C97.416,24.596 102.8,20.087 109.047,17.132C115.295,14.178 122.196,12.877 129.089,13.354C138.392,14.041 147.134,18.065 153.705,24.686C160.166,31.196 164.216,39.713 165.186,48.833L171.415,108.898L174.405,138.946L176.129,156.775H161.03Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__0" android:pathData="M188.078,167.618H63.324L78.731,47.837C79.875,38.882 83.562,30.443 89.355,23.52C90.352,22.334 91.408,21.198 92.504,20.111C95.207,17.467 98.218,15.158 101.474,13.235C102.42,12.657 103.397,12.119 104.394,11.62C107.096,10.246 109.926,9.141 112.845,8.322C113.782,8.053 114.719,7.823 115.675,7.614C118.971,6.912 122.332,6.565 125.701,6.578C129.086,6.573 132.461,6.938 135.767,7.664C136.763,7.863 137.66,8.102 138.597,8.361C141.516,9.184 144.347,10.293 147.048,11.67C148.045,12.168 149.041,12.667 149.958,13.265C153.211,15.195 156.223,17.507 158.928,20.151C160.024,21.237 161.08,22.374 162.077,23.56C167.852,30.474 171.525,38.899 172.661,47.837L188.078,167.618Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__1" android:pathData="M230.045,146.42C241.846,146.42 251.412,136.854 251.412,125.053C251.412,113.253 241.846,103.686 230.045,103.686C218.244,103.686 208.678,113.253 208.678,125.053C208.678,136.854 218.244,146.42 230.045,146.42Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__2" android:pathData="M230.045,111.201C241.846,111.201 251.412,101.634 251.412,89.834C251.412,78.033 241.846,68.466 230.045,68.466C218.244,68.466 208.678,78.033 208.678,89.834C208.678,101.634 218.244,111.201 230.045,111.201Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__3" android:pathData="M125.701,6.578C137.205,6.576 148.315,10.764 156.957,18.356C165.599,25.949 171.181,36.429 172.661,47.837L188.078,167.578H63.324L78.731,47.837C80.209,36.426 85.792,25.944 94.436,18.351C103.081,10.757 114.195,6.572 125.701,6.578V6.578Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M176.089,167.618H173.269L158.888,20.121C159.984,21.208 161.04,22.344 162.037,23.53L176.089,167.618Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M160.064,167.618H157.253L147.048,11.67C148.045,12.168 149.041,12.667 149.958,13.265L160.064,167.618Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M143.839,167.618H141.039L135.767,7.664C136.763,7.863 137.66,8.102 138.597,8.361L143.839,167.618Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M92.524,20.151L78.143,167.648H75.323L89.375,23.56C90.372,22.374 91.428,21.237 92.524,20.151Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M104.364,11.66L94.159,167.618H91.348L101.444,13.275C102.391,12.697 103.367,12.158 104.364,11.66Z" />
|
||||
<path android:fillColor="#ff365dec" android:pathData="M115.605,7.654L110.333,167.618H107.533L112.815,8.362C113.752,8.092 114.689,7.863 115.605,7.654Z" />
|
||||
<path android:fillColor="#ff270813" android:pathData="M122.582,167.618H128.751L127.316,6.617C126.777,6.617 126.249,6.617 125.701,6.617C125.163,6.617 124.635,6.617 124.096,6.617L122.582,167.618Z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M51.913,107.633C53.507,108.251 55.142,108.839 56.816,109.397" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M67.848,112.675C104.643,122.123 153.616,121.645 189.105,111.151" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M194.596,109.407C196.27,108.849 197.905,108.261 199.499,107.643" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" />
|
||||
<path android:fillColor="#ffffa600" android:pathData="M131.76,110.523H119.532C117.82,110.523 116.433,111.91 116.433,113.622V130.505C116.433,132.216 117.82,133.604 119.532,133.604H131.76C133.472,133.604 134.86,132.216 134.86,130.505V113.622C134.86,111.91 133.472,110.523 131.76,110.523Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M131.76,107.005H119.532C117.82,107.005 116.433,108.393 116.433,110.104V126.987C116.433,128.698 117.82,130.086 119.532,130.086H131.76C133.472,130.086 134.86,128.698 134.86,126.987V110.104C134.86,108.393 133.472,107.005 131.76,107.005Z" />
|
||||
<path android:fillColor="#ff270813" android:pathData="M125.701,118.167C127.517,118.167 128.99,116.694 128.99,114.878C128.99,113.062 127.517,111.589 125.701,111.589C123.885,111.589 122.412,113.062 122.412,114.878C122.412,116.694 123.885,118.167 125.701,118.167Z" />
|
||||
<path android:fillColor="#ff270813" android:pathData="M125.701,113.184L121.665,125.492H129.747L125.701,113.184Z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M150.432,114.107L143.286,114.633C141.013,114.8 139.306,116.778 139.474,119.05C139.641,121.323 141.619,123.03 143.891,122.862L151.038,122.336C153.31,122.169 155.017,120.191 154.849,117.919C154.682,115.646 152.704,113.939 150.432,114.107Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M171.277,111.072L164.217,112.301C161.973,112.691 160.469,114.828 160.86,117.073C161.25,119.318 163.387,120.821 165.632,120.43L172.691,119.202C174.936,118.811 176.44,116.675 176.049,114.43C175.658,112.185 173.522,110.682 171.277,111.072Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M191.641,106.027L184.77,108.06C182.585,108.706 181.337,111.001 181.984,113.186C182.63,115.371 184.926,116.619 187.111,115.972L193.982,113.94C196.167,113.293 197.414,110.998 196.768,108.813C196.121,106.628 193.826,105.38 191.641,106.027Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M100.363,122.339L107.509,122.865C109.782,123.032 111.759,121.326 111.927,119.053C112.094,116.781 110.387,114.803 108.115,114.635L100.969,114.109C98.696,113.942 96.718,115.649 96.551,117.921C96.384,120.194 98.09,122.172 100.363,122.339Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M78.693,119.197L85.753,120.425C87.998,120.816 90.134,119.313 90.525,117.068C90.915,114.823 89.412,112.686 87.167,112.296L80.108,111.067C77.863,110.677 75.726,112.18 75.336,114.425C74.945,116.67 76.448,118.806 78.693,119.197Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#00000000" android:pathData="M57.418,113.949L64.289,115.981C66.474,116.628 68.77,115.381 69.416,113.195C70.062,111.01 68.815,108.715 66.63,108.069L59.759,106.036C57.574,105.389 55.278,106.637 54.632,108.822C53.986,111.007 55.233,113.302 57.418,113.949Z" android:strokeColor="#ffcce0ff" android:strokeWidth="3.72054" android:strokeLineCap="round" android:strokeLineJoin="round" />
|
||||
<path android:fillColor="#ffcce0ff" android:pathData="M244.864,143.53H215.853C214.318,143.53 213.073,144.775 213.073,146.311V164.818C213.073,166.353 214.318,167.598 215.853,167.598H244.864C246.4,167.598 247.645,166.353 247.645,164.818V146.311C247.645,144.775 246.4,143.53 244.864,143.53Z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M213.073,149.898H247.645" android:strokeColor="#ff270813" android:strokeWidth="2.81195" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__4" android:pathData="M21.367,146.42C33.168,146.42 42.734,136.854 42.734,125.053C42.734,113.253 33.168,103.686 21.367,103.686C9.566,103.686 0,113.253 0,125.053C0,136.854 9.566,146.42 21.367,146.42Z" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_failure__5" android:pathData="M21.367,111.201C33.168,111.201 42.734,101.634 42.734,89.834C42.734,78.033 33.168,68.466 21.367,68.466C9.566,68.466 0,78.033 0,89.834C0,101.634 9.566,111.201 21.367,111.201Z" />
|
||||
<path android:fillColor="#ffcce0ff" android:pathData="M6.548,167.588H35.559C37.094,167.588 38.339,166.343 38.339,164.808V146.301C38.339,144.765 37.094,143.52 35.559,143.52H6.548C5.012,143.52 3.767,144.765 3.767,146.301V164.808C3.767,166.343 5.012,167.588 6.548,167.588Z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M38.339,149.898H3.767" android:strokeColor="#ff270813" android:strokeWidth="2.81195" />
|
||||
<path android:fillColor="#ffff87ff" android:pathData="M207.293,48.156L210.601,47C210.774,46.942 210.924,46.832 211.03,46.684C211.136,46.536 211.193,46.359 211.193,46.177C211.193,45.996 211.136,45.818 211.03,45.671C210.924,45.523 210.774,45.413 210.601,45.355L207.293,44.199C207.17,44.156 207.058,44.086 206.965,43.995C206.872,43.904 206.8,43.793 206.754,43.671L205.598,40.352C205.538,40.183 205.428,40.037 205.281,39.934C205.135,39.831 204.96,39.775 204.781,39.775C204.602,39.775 204.427,39.831 204.281,39.934C204.135,40.037 204.024,40.183 203.964,40.352L202.808,43.671C202.762,43.793 202.691,43.904 202.598,43.995C202.505,44.086 202.393,44.156 202.27,44.199L198.961,45.355C198.789,45.413 198.639,45.523 198.533,45.671C198.426,45.818 198.369,45.996 198.369,46.177C198.369,46.359 198.426,46.536 198.533,46.684C198.639,46.832 198.789,46.942 198.961,47L202.31,48.156C202.433,48.199 202.545,48.268 202.638,48.36C202.731,48.451 202.802,48.562 202.848,48.684L204.004,52.002C204.064,52.171 204.174,52.318 204.321,52.421C204.467,52.524 204.642,52.58 204.821,52.58C205,52.58 205.175,52.524 205.321,52.421C205.468,52.318 205.578,52.171 205.638,52.002L206.794,48.684C206.835,48.566 206.901,48.458 206.987,48.366C207.073,48.275 207.177,48.204 207.293,48.156V48.156Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M221.943,83.226C223.275,83.226 224.354,82.146 224.354,80.814C224.354,79.482 223.275,78.402 221.943,78.402C220.611,78.402 219.531,79.482 219.531,80.814C219.531,82.146 220.611,83.226 221.943,83.226Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M27.835,125.492C29.167,125.492 30.247,124.412 30.247,123.08C30.247,121.748 29.167,120.668 27.835,120.668C26.503,120.668 25.423,121.748 25.423,123.08C25.423,124.412 26.503,125.492 27.835,125.492Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M16.394,86.086C17.726,86.086 18.806,85.006 18.806,83.674C18.806,82.342 17.726,81.263 16.394,81.263C15.062,81.263 13.982,82.342 13.982,83.674C13.982,85.006 15.062,86.086 16.394,86.086Z" />
|
||||
<path android:fillColor="#ffcd1580" android:pathData="M34.343,90.531C35.675,90.531 36.755,89.451 36.755,88.119C36.755,86.787 35.675,85.707 34.343,85.707C33.011,85.707 31.931,86.787 31.931,88.119C31.931,89.451 33.011,90.531 34.343,90.531Z" />
|
||||
<path android:fillColor="#ffcd1580" android:pathData="M233.643,122.681C234.765,122.681 235.676,121.771 235.676,120.648C235.676,119.525 234.765,118.615 233.643,118.615C232.52,118.615 231.61,119.525 231.61,120.648C231.61,121.771 232.52,122.681 233.643,122.681Z" />
|
||||
<path android:fillColor="#ffcd1580" android:pathData="M241.287,122.681C242.409,122.681 243.32,121.771 243.32,120.648C243.32,119.525 242.409,118.615 241.287,118.615C240.164,118.615 239.254,119.525 239.254,120.648C239.254,121.771 240.164,122.681 241.287,122.681Z" />
|
||||
<path android:fillColor="#ffcd1580" android:pathData="M237.46,116.054C238.582,116.054 239.493,115.144 239.493,114.021C239.493,112.898 238.582,111.988 237.46,111.988C236.337,111.988 235.427,112.898 235.427,114.021C235.427,115.144 236.337,116.054 237.46,116.054Z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M53.737,6.448L52.82,8.322C52.776,8.417 52.762,8.523 52.78,8.626C52.798,8.729 52.846,8.825 52.919,8.9C52.994,8.971 53.087,9.019 53.188,9.039C53.289,9.069 53.397,9.069 53.497,9.039L55.351,8.142C55.423,8.11 55.501,8.093 55.58,8.092C55.662,8.095 55.743,8.111 55.819,8.142L57.663,9.039C57.76,9.074 57.866,9.074 57.962,9.039C58.06,9.019 58.151,8.971 58.221,8.9C58.293,8.827 58.339,8.732 58.351,8.631C58.381,8.537 58.381,8.436 58.351,8.342L57.454,6.468C57.44,6.396 57.44,6.321 57.454,6.249C57.439,6.176 57.439,6.102 57.454,6.029L58.351,4.156C58.385,4.056 58.385,3.947 58.351,3.847C58.338,3.741 58.288,3.642 58.211,3.568C58.134,3.494 58.037,3.446 57.932,3.428C57.83,3.415 57.726,3.432 57.633,3.478L55.81,4.345C55.74,4.385 55.661,4.405 55.58,4.405C55.497,4.406 55.414,4.386 55.341,4.345L53.497,3.458C53.401,3.413 53.294,3.396 53.188,3.408C53.084,3.428 52.988,3.476 52.909,3.548C52.84,3.627 52.792,3.724 52.77,3.827C52.741,3.928 52.741,4.035 52.77,4.136L53.717,5.98C53.756,6.042 53.777,6.115 53.777,6.189C53.789,6.277 53.775,6.368 53.737,6.448V6.448Z" />
|
||||
<path android:fillColor="#ff776bff" android:pathData="M28.295,41.104C27.723,40.532 26.795,40.532 26.223,41.104C25.651,41.676 25.651,42.604 26.223,43.176L27.259,44.212C27.831,44.784 28.759,44.784 29.331,44.212C29.903,43.64 29.903,42.712 29.331,42.14L28.295,41.104Z" />
|
||||
<path android:fillColor="#ff776bff" android:pathData="M36.6,49.413C36.028,48.841 35.1,48.841 34.528,49.413C33.956,49.985 33.956,50.913 34.528,51.485L35.564,52.521C36.136,53.093 37.064,53.093 37.636,52.521C38.208,51.949 38.208,51.021 37.636,50.449L36.6,49.413Z" />
|
||||
<path android:fillColor="#ff776bff" android:pathData="M37.64,43.177C38.212,42.605 38.212,41.678 37.64,41.106C37.068,40.533 36.141,40.533 35.569,41.106L34.533,42.141C33.96,42.714 33.96,43.641 34.533,44.213C35.105,44.785 36.032,44.785 36.604,44.213L37.64,43.177Z" />
|
||||
<path android:fillColor="#ff776bff" android:pathData="M29.335,51.476C29.907,50.904 29.907,49.976 29.335,49.404C28.763,48.832 27.836,48.832 27.264,49.404L26.228,50.44C25.655,51.012 25.655,51.94 26.228,52.512C26.8,53.084 27.727,53.084 28.299,52.512L29.335,51.476Z" />
|
||||
</group>
|
||||
</vector>
|
24
com.discord/res/drawable-anydpi-v24/img_age_gate_safety.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="90.0dip" android:width="120.0dip" android:viewportWidth="120.0" android:viewportHeight="90.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<path android:fillColor="@drawable/$img_age_gate_safety__0" android:pathData="M83.7,65.31H36.3V23.71a23.7,23.7 0,0 1,47.4 0ZM49.21,52.41H70.79V23.71a10.79,10.79 0,0 0,-21.58 0Z" />
|
||||
<path android:fillColor="#ff776bff" android:pathData="M9.13,17.87l3.39,-1.19a0.89,0.89 0,0 0,0 -1.68L9.13,13.82a0.88,0.88 0,0 1,-0.55 -0.55L7.4,9.88a0.89,0.89 0,0 0,-1.68 0L4.53,13.27a0.89,0.89 0,0 1,-0.54 0.55L0.59,15a0.89,0.89 0,0 0,0 1.68L4,17.87a0.9,0.9 0,0 1,0.54 0.54L5.72,21.8a0.89,0.89 0,0 0,1.68 0l1.18,-3.39A0.89,0.89 0,0 1,9.13 17.87Z" />
|
||||
<path android:fillColor="#ff00e0a7" android:pathData="M108.454,19.083L108.454,19.083A1.43,1.43 90,0 1,110.476 19.083L111.487,20.094A1.43,1.43 90,0 1,111.487 22.116L111.487,22.116A1.43,1.43 90,0 1,109.465 22.116L108.454,21.105A1.43,1.43 90,0 1,108.454 19.083z" />
|
||||
<path android:fillColor="#ff00e0a7" android:pathData="M116.545,27.183L116.545,27.183A1.43,1.43 0,0 1,118.567 27.183L119.578,28.194A1.43,1.43 90,0 1,119.578 30.216L119.578,30.216A1.43,1.43 0,0 1,117.556 30.216L116.545,29.205A1.43,1.43 90,0 1,116.545 27.183z" />
|
||||
<path android:fillColor="#ff00e0a7" android:pathData="M119.578,19.084L119.578,19.084A1.43,1.43 90,0 1,119.578 21.107L118.567,22.118A1.43,1.43 90,0 1,116.544 22.118L116.544,22.118A1.43,1.43 0,0 1,116.544 20.095L117.556,19.084A1.43,1.43 90,0 1,119.578 19.084z" />
|
||||
<path android:fillColor="#ff00e0a7" android:pathData="M111.487,27.184L111.487,27.184A1.43,1.43 0,0 1,111.487 29.207L110.476,30.218A1.43,1.43 90,0 1,108.453 30.218L108.453,30.218A1.43,1.43 90,0 1,108.453 28.195L109.465,27.184A1.43,1.43 90,0 1,111.487 27.184z" />
|
||||
<path android:fillColor="#ffff87ff" android:pathData="M110.16,71.6m-2.22,0a2.22,2.22 0,1 1,4.44 0a2.22,2.22 0,1 1,-4.44 0" />
|
||||
<path android:fillColor="@drawable/$img_age_gate_safety__1" android:pathData="M20.66,33.33L99.33,33.33A3.23,3.23 0,0 1,102.56 36.56L102.56,86.77A3.23,3.23 0,0 1,99.33 90L20.66,90A3.23,3.23 0,0 1,17.43 86.77L17.43,36.56A3.23,3.23 0,0 1,20.66 33.33z" />
|
||||
<path android:fillColor="#ffffd01a" android:pathData="M20.66,33.33L81.15,33.33A3.23,3.23 0,0 1,84.38 36.56L84.38,86.77A3.23,3.23 0,0 1,81.15 90L20.66,90A3.23,3.23 0,0 1,17.43 86.77L17.43,36.56A3.23,3.23 0,0 1,20.66 33.33z" />
|
||||
<path android:fillColor="#00000000" android:pathData="M17.43,81.75L102.57,81.75" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M17.43,41.58L84.38,41.58" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,75.05L102.57,75.05" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,68.36L102.57,68.36" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,61.66L102.57,61.66" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,54.97L102.57,54.97" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,48.28L102.57,48.28" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M84.38,41.58L102.57,41.58" android:strokeColor="#ffffa600" android:strokeWidth="2.2620542" />
|
||||
<path android:fillColor="#00000000" android:pathData="M43.24,15.61A18.72,18.72 0,0 1,53.68 6.2" android:strokeColor="#ff9ecdff" android:strokeWidth="4.0955653" android:strokeLineCap="round" />
|
||||
<path android:fillColor="#ff270813" android:pathData="M50.91,55.98m-5.96,0a5.96,5.96 0,1 1,11.92 0a5.96,5.96 0,1 1,-11.92 0" />
|
||||
<path android:fillColor="#ff270813" android:pathData="M50.91,56 L45.55,67.83a2.05,2.05 0,0 0,1.87 2.89h7a2.05,2.05 0,0 0,1.87 -2.89Z" />
|
||||
</vector>
|
BIN
com.discord/res/drawable-hdpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 198 B |
BIN
com.discord/res/drawable-hdpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
com.discord/res/drawable-hdpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
com.discord/res/drawable-hdpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
com.discord/res/drawable-ldpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 175 B |
BIN
com.discord/res/drawable-ldpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
com.discord/res/drawable-ldpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
com.discord/res/drawable-ldpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
com.discord/res/drawable-mdpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 164 B |
After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 238 B |
BIN
com.discord/res/drawable-mdpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
com.discord/res/drawable-mdpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
com.discord/res/drawable-mdpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
com.discord/res/drawable-xhdpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 336 B |
BIN
com.discord/res/drawable-xhdpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
com.discord/res/drawable-xhdpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
com.discord/res/drawable-xhdpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
com.discord/res/drawable-xxhdpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 268 B |
After Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 338 B |
BIN
com.discord/res/drawable-xxhdpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
com.discord/res/drawable-xxhdpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
com.discord/res/drawable-xxhdpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
com.discord/res/drawable-xxxhdpi/ic_screen_14dp.png
Normal file
After Width: | Height: | Size: 319 B |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.1 KiB |
BIN
com.discord/res/drawable-xxxhdpi/img_age_gate_birthday.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
com.discord/res/drawable-xxxhdpi/img_age_gate_failure.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
com.discord/res/drawable-xxxhdpi/img_age_gate_safety.png
Normal file
After Width: | Height: | Size: 11 KiB |
6
com.discord/res/drawable/bg_stream_label.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/black_alpha_60" />
|
||||
<corners android:radius="8.0dip" />
|
||||
</shape>
|
6
com.discord/res/drawable/bg_stream_live_indicator.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/status_red_500" />
|
||||
<corners android:radius="128.0dip" />
|
||||
</shape>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/primary_dark_500" />
|
||||
<corners android:radius="128.0dip" />
|
||||
</shape>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient android:startColor="@color/transparent" android:endColor="@color/primary_630" android:angle="90.0" />
|
||||
<gradient android:startColor="@color/transparent" android:endColor="#66000000" android:angle="90.0" />
|
||||
</shape>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient android:startColor="@color/transparent" android:endColor="@color/primary_light_130" android:angle="90.0" />
|
||||
</shape>
|
5
com.discord/res/drawable/ic_list_24dp.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M3,13h2v-2L3,11v2zM3,17h2v-2L3,15v2zM3,9h2L5,7L3,7v2zM7,13h14v-2L7,11v2zM7,17h14v-2L7,15v2zM7,7v2h14L21,7L7,7z" />
|
||||
</vector>
|
5
com.discord/res/drawable/ic_search_16dp.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="16.0dip" android:width="16.0dip" android:viewportWidth="16.0" android:viewportHeight="16.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M14.4713,13.5287L10.876,9.9333C11.602,9.0027 12,7.866 12,6.6667C12,5.242 11.4447,3.9027 10.4373,2.896C9.4307,1.888 8.0913,1.3333 6.6667,1.3333C5.242,1.3333 3.9027,1.888 2.896,2.896C1.8887,3.9027 1.3333,5.242 1.3333,6.6667C1.3333,8.0913 1.8887,9.4307 2.896,10.4373C3.9027,11.4453 5.242,12 6.6667,12C7.866,12 9.0027,11.6027 9.9333,10.876L13.5287,14.4707L14.4713,13.5287ZM6.6667,10.6667C5.598,10.6667 4.594,10.2507 3.8387,9.4953C3.0827,8.74 2.6667,7.7353 2.6667,6.6667C2.6667,5.5987 3.0827,4.594 3.8387,3.8387C4.594,3.0827 5.598,2.6667 6.6667,2.6667C7.7353,2.6667 8.7393,3.0827 9.4947,3.8387C10.2507,4.594 10.6667,5.5987 10.6667,6.6667C10.6667,7.7353 10.2507,8.74 9.4947,9.4953C8.7393,10.2507 7.7353,10.6667 6.6667,10.6667Z" />
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M3.998,3C2.894,3 1.998,3.895 1.998,5V17C1.998,18.104 2.894,19 3.998,19H6.9981V23L10.998,19H19.998C21.103,19 21.998,18.104 21.998,17V5C21.998,3.895 21.103,3 19.998,3H3.998Z" />
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:topLeftRadius="4.0dip" android:topRightRadius="4.0dip" android:bottomLeftRadius="4.0dip" android:bottomRightRadius="4.0dip" />
|
||||
</shape>
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.utilities.view.rounded.RoundedCoordinatorLayout android:id="@id/widget_channels_list_container" android:background="?colorBackgroundSecondary" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.discord.views.CustomAppBarLayout android:id="@id/app_bar_layout" android:background="?colorBackgroundSecondary" style="@style/AppTheme.AppBarLayout">
|
||||
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@id/collapsing_toolbar" android:layout_width="fill_parent" android:layout_height="fill_parent" app:contentScrim="?colorBackgroundSecondary" app:layout_scrollFlags="exitUntilCollapsed|scroll" app:scrimVisibleHeightTrigger="0.0dip">
|
||||
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:maxHeight="150.0dip" app:actualImageScaleType="centerCrop" />
|
||||
<FrameLayout android:id="@id/channels_list_banner_foreground" android:background="@drawable/drawable_top_down_primary_630_gradient" android:layout_width="fill_parent" android:layout_height="48.0dip" />
|
||||
</FrameLayout>
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/channels_toolbar" android:background="@null" style="@style/AppTheme.Toolbar">
|
||||
<TextView android:textSize="15.0sp" android:textColor="?colorInteractiveActive" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:shadowColor="?colorBackgroundSecondary" android:shadowDy="4.0" android:shadowRadius="2.0" android:drawableRight="?ic_overflow" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="?ic_overflow" style="@style/UiKit.TextView.Bold" />
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/channels_list_search_toolbar" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.google.android.material.button.MaterialButton android:textAppearance="@style/UiKit.TextAppearance" android:textColor="?colorTextNormal" android:gravity="center_vertical" android:id="@id/channels_list_search" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" android:drawableEnd="@drawable/ic_search" android:backgroundTint="?colorBackgroundTertiary" android:drawableTint="?colorTextNormal" />
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.discord.views.CustomAppBarLayout>
|
||||
<com.discord.widgets.friends.EmptyFriendsStateView android:id="@id/widget_channels_list_empty_friends_state_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_below="@id/channels_list_search" app:ef_title_text_size="@dimen/uikit_textsize_large" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/channels_list" android:paddingBottom="@dimen/uikit_spacing_medium" android:visibility="gone" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" android:layout_below="@id/channels_list_search" android:overScrollMode="never" style="@style/UiKit.ViewGroup.RecyclerView.AppBarScrollingViewBehavior" />
|
||||
<ViewStub android:id="@id/channels_list_unreads_stub" android:layout="@layout/widget_channels_list_unreads" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_anchor="@id/channels_list" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:gravity="center" android:layout_gravity="end" android:id="@id/channels_list_premium_guild_hint" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="48.0dip" android:layout_marginRight="28.0dip" android:translationZ="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<View android:id="@id/channels_list_tooltip_top_tail" android:background="@drawable/drawable_tooltip_top_tail" android:layout_width="24.0dip" android:layout_height="20.0dip" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<View android:id="@id/channels_list_tooltip_background" android:background="@drawable/drawable_bg_tooltip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:translationY="-8.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/channels_list_tooltip_top_tail" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:gravity="center" android:id="@id/channels_list_premium_guild_hint_title" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/premium_guild_subscription_header_subscribe_tooltip_header" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="@id/channels_list_tooltip_background" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textColor="@color/white" android:gravity="center" android:id="@id/channels_list_premium_guild_hint_subtitle" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/premium_guild_subscription_header_subscribe_tooltip_text" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/channels_list_premium_guild_hint_title" style="@style/UiKit.TextView" />
|
||||
<com.google.android.material.button.MaterialButton android:theme="@style/AppTheme.Dark" android:textColor="@color/brand_500" android:id="@id/channels_list_premium_guild_hint_button" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" android:text="@string/premium_guild_subscription_header_subscribe_tooltip_close" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/channels_list_premium_guild_hint_subtitle" style="@style/UiKit.Material.Button.White" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</com.discord.utilities.view.rounded.RoundedCoordinatorLayout>
|
7
com.discord/res/layout/dialog_date_picker.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.Page.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:gravity="center" android:id="@id/dialog_date_picker_title" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.H1.Bold" />
|
||||
<DatePicker android:theme="@style/DialogDatePicker" android:id="@id/dialog_date_picker_input" android:layout_width="fill_parent" android:layout_height="fill_parent" android:calendarViewShown="false" android:datePickerMode="spinner" />
|
||||
<com.google.android.material.button.MaterialButton android:textColor="@color/white" android:id="@id/dialog_date_picker_done" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/done" style="@style/UiKit.Material.Button" />
|
||||
</LinearLayout>
|
10
com.discord/res/layout/layout_age_verify.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:id="@id/age_verify_title" android:text="@string/age_gate_existing_header" android:drawableTop="@drawable/img_age_gate_safety" android:drawablePadding="@dimen/uikit_spacing_large" android:fontFamily="@font/whitney_bold" app:layout_constraintBottom_toTopOf="@id/age_verify_description" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.H1" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:id="@id/age_verify_description" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/age_gate_body" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toTopOf="@id/age_verify_input_wrapper" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_title" style="@style/UiKit.TextView.Large" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/age_verify_input_wrapper" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:hint="@string/age_gate_date_of_birth" app:layout_constraintBottom_toTopOf="@id/age_verify_next_button" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_description" style="@style/UiKit.Material.TextInputLayout">
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@id/age_verify_input" android:focusable="false" android:inputType="none" style="@style/UiKit.Material.TextInputLayout.EditText" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.discord.views.LoadingButton android:id="@id/age_verify_next_button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_input_wrapper" app:lb_progress_color="@color/white" app:lb_text="@string/next" app:lb_text_color="@drawable/button_text_color_primary_100" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
8
com.discord/res/layout/layout_age_verify_underage.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:gravity="center_horizontal" android:id="@id/age_verify_underage_title" android:text="@string/age_gate_underage_existing_header" android:drawableTop="@drawable/img_age_gate_failure" android:drawablePadding="@dimen/uikit_spacing_large" android:fontFamily="@font/whitney_bold" app:layout_constraintBottom_toTopOf="@id/age_verify_underage_description" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.H1" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:id="@id/age_verify_underage_description" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/age_gate_underage_body" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toTopOf="@id/age_verify_underage_warning" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_underage_title" style="@style/UiKit.TextView.Large" />
|
||||
<com.discord.app.AppTextView android:gravity="center_horizontal" android:id="@id/age_verify_underage_warning" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/age_gate_underage_existing_body_deletion" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toTopOf="@id/age_verify_return_to_login_button" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_underage_description" app:tv_markdown_enabled="true" style="@style/UiKit.TextView.Large" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/age_verify_return_to_login_button" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/return_to_login" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/age_verify_underage_warning" style="@style/UiKit.Material.Button" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:background="?selectableItemBackground" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
<merge android:background="?selectableItemBackground" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/toolbar_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawablePadding="@dimen/uikit_spacing_small" app:drawableTint="?colorTextMuted" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/toolbar_title_subtext" app:layout_constraintEnd_toStartOf="@id/toolbar_presence" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/toolbar_presence" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextAppearance.Toolbar.Title" />
|
||||
<TextView android:id="@id/toolbar_title_subtext" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@id/toolbar_title" app:layout_constraintStart_toStartOf="@id/toolbar_title" app:layout_constraintTop_toBottomOf="@id/toolbar_title" style="@style/UiKit.TextAppearance.Toolbar.Subtitle" />
|
||||
<com.discord.views.StatusView android:id="@id/toolbar_presence" android:visibility="gone" android:layout_width="12.0dip" android:layout_height="wrap_content" android:layout_marginStart="@dimen/uikit_spacing_small" app:layout_constraintBottom_toBottomOf="@id/toolbar_title" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/toolbar_title" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/toolbar_title" app:layout_constraintTop_toTopOf="@id/toolbar_title" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</merge>
|
|
@ -5,9 +5,14 @@
|
|||
<View android:id="@id/participant_bg_letterbox" android:background="@android:color/black" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<com.discord.views.VoiceUserView android:id="@id/participant_voice_user_view" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHeight_max="80.0dip" app:layout_constraintHeight_percent="0.5" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="80.0dip" app:layout_constraintWidth_percent="0.5" />
|
||||
<com.discord.views.video.AppVideoStreamRenderer android:id="@id/participant_video_stream_renderer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:vcpv_is_overlay="false" app:vcpv_match_video_orientation="false" />
|
||||
<ImageView android:id="@id/participant_voice_status_indicator" android:background="@drawable/drawable_bg_voice_status_indicator" android:padding="4.0dip" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="8.0dip" android:layout_marginEnd="8.0dip" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/participant_stream_preview_image" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="16:9" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?drawable_stream_preview_not_available" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/participant_stream_preview_text" android:background="@drawable/bg_stream_preview_overlay_caption" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFamily="@font/whitney_semibold" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/participant_stream_preview_image" android:background="@color/primary_dark_700" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:alpha="0.3" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="16:9" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?drawable_stream_preview_not_available" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/participant_stream_preview_text" android:background="@drawable/bg_stream_preview_overlay_caption_opaque" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/watch_stream" android:fontFamily="@font/whitney_semibold" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:gravity="center" android:id="@id/participant_stream_paused" android:background="@color/black_alpha_70" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/stream_capture_paused" android:fontFamily="@font/whitney_semibold" style="@style/UiKit.TextView" />
|
||||
<ProgressBar android:id="@id/participant_video_loading_indicator" android:visibility="gone" android:layout_width="50.0dip" android:layout_height="50.0dip" android:indeterminate="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<TextView android:textSize="14.0dip" android:textColor="@color/white" android:id="@id/participant_video_label" android:background="@drawable/bg_stream_label" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginBottom="8.0dip" android:includeFontPadding="false" android:drawableLeft="@drawable/ic_screen_14dp" android:drawablePadding="6.0dip" android:fontFamily="@font/whitney_medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/participant_voice_indicators" />
|
||||
<LinearLayout android:orientation="horizontal" android:id="@id/participant_voice_indicators" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="8.0dip" android:layout_marginBottom="8.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent">
|
||||
<ImageView android:id="@id/participant_mute_status_indicator" android:background="@drawable/drawable_bg_voice_status_indicator" android:padding="4.0dip" android:visibility="gone" android:layout_width="24.0dip" android:layout_height="24.0dip" android:src="@drawable/ic_mic_muted_white_24dp" />
|
||||
<ImageView android:id="@id/participant_deafen_status_indicator" android:background="@drawable/drawable_bg_voice_status_indicator" android:padding="4.0dip" android:visibility="gone" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginLeft="4.0dip" android:src="@drawable/ic_headset_deafened_white_24dp" />
|
||||
</LinearLayout>
|
||||
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/participant_live_indicator" android:background="@drawable/bg_stream_live_indicator" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginRight="8.0dip" android:text="@string/live" android:textAllCaps="true" android:fontFamily="@font/whitney_medium" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
</merge>
|
8
com.discord/res/layout/widget_age_verify.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.discord.app.AppViewFlipper android:id="@id/age_verify_view_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:inAnimation="@anim/activity_slide_horizontal_open_in" android:outAnimation="@anim/activity_slide_horizontal_open_out" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toTopOf="parent">
|
||||
<include android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/layout_age_verify" />
|
||||
<include android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/layout_age_verify_underage" />
|
||||
</com.discord.app.AppViewFlipper>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
11
com.discord/res/layout/widget_auth_age_gated.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/widget_auth_header" />
|
||||
<LinearLayout android:orientation="vertical" android:id="@id/auth_register_container" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="com.discord.app.AppScrollingViewBehavior">
|
||||
<ImageView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:src="@drawable/img_age_gate_failure" android:contentDescription="@string/age_gate_underage_header" />
|
||||
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" app:stv_title="@string/age_gate_underage_header" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center_horizontal" android:id="@id/auth_register_underage_description" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:text="@string/age_gate_underage_body" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Large" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/auth_register_underage_button" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:text="@string/return_to_login" style="@style/UiKit.Material.Button" />
|
||||
</LinearLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
17
com.discord/res/layout/widget_auth_birthday.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?auth_ptrn" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/widget_auth_header" />
|
||||
<LinearLayout android:orientation="vertical" android:id="@id/auth_register_container" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="com.discord.app.AppScrollingViewBehavior">
|
||||
<ImageView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/img_age_gate_birthday" android:contentDescription="@string/age_gate_header" />
|
||||
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" app:stv_title="@string/age_gate_header" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_register_birthday_wrap" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:hint="@string/age_gate_date_of_birth" style="@style/UiKit.Material.TextInputLayout">
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@id/auth_register_birthday" android:focusable="false" android:inputType="none" style="@style/UiKit.Material.TextInputLayout.EditText" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup">
|
||||
<com.google.android.material.checkbox.MaterialCheckBox android:id="@id/auth_tos_opt_in" android:layout_width="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/auth_policy_links" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/auth_policy_links" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" style="@style/UiKit.Checkbox" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderSecondary" android:id="@id/auth_policy_links" android:visibility="visible" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/auth_tos_opt_in" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/auth_tos_opt_in" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.5" app:layout_goneMarginLeft="@dimen/uikit_spacing_medium" app:layout_goneMarginStart="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/auth_register_button" android:text="@string/register_title" style="@style/UiKit.AuthButton.Material" />
|
||||
</LinearLayout>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -1,14 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.utilities.view.scroll.MaxHeightScrollView android:id="@id/channel_topic" android:background="?colorBackgroundSecondary" android:paddingTop="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" android:maxHeight="75.0dip" app:max_height="200.0dip" style="@style/UiKit.ViewGroup"
|
||||
<LinearLayout android:id="@id/channel_topic" android:background="?colorBackgroundSecondary" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:layout_width="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="top" android:id="@id/channel_topic_channel_icon" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:actualImageScaleType="fitCenter" app:placeholderImage="?ic_channel_text" app:roundAsCircle="true" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?colorHeaderPrimary" android:id="@id/channel_topic_name" android:layout_width="0.0dip" android:text="@string/form_label_channel_topic" android:layout_weight="1.0" app:drawableTint="?colorChannelsDefault" style="@style/UiKit.TextView" />
|
||||
<ImageView android:layout_gravity="top" android:id="@id/channel_topic_more_icon" android:visibility="gone" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:src="?ic_overflow" android:contentDescription="@string/settings" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/channel_topic_details_container" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textColor="?colorHeaderSecondary" android:autoLink="all" android:id="@id/channel_topic_title" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_width="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:layout_gravity="top" android:id="@id/channel_topic_channel_icon" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:actualImageScaleType="fitCenter" app:placeholderImage="?ic_channel_text" app:roundAsCircle="true" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="?colorHeaderPrimary" android:id="@id/channel_topic_name" android:layout_width="0.0dip" android:text="@string/form_label_channel_topic" android:layout_weight="1.0" app:drawableTint="?colorChannelsDefault" style="@style/UiKit.TextView" />
|
||||
<ImageView android:layout_gravity="top" android:id="@id/channel_topic_more_icon" android:visibility="gone" android:layout_marginTop="@dimen/uikit_spacing_xsmall" android:src="?ic_overflow" android:contentDescription="@string/settings" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
</com.discord.utilities.view.scroll.MaxHeightScrollView>
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textColor="?colorHeaderSecondary" android:autoLink="all" android:id="@id/channel_topic_title" android:layout_width="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
|
@ -5,14 +5,18 @@
|
|||
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@id/collapsing_toolbar" android:layout_width="fill_parent" android:layout_height="fill_parent" app:contentScrim="?colorBackgroundSecondary" app:layout_scrollFlags="exitUntilCollapsed|scroll" app:scrimVisibleHeightTrigger="0.0dip">
|
||||
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:maxHeight="150.0dip" app:actualImageScaleType="centerCrop" />
|
||||
<FrameLayout android:id="@id/channels_list_banner_foreground" android:background="@drawable/drawable_top_down_primary_630_gradient" android:layout_width="fill_parent" android:layout_height="48.0dip" />
|
||||
<FrameLayout android:id="@id/channels_list_banner_foreground" android:background="@drawable/drawable_top_down_black_40_alpha_gradient" android:layout_width="fill_parent" android:layout_height="48.0dip" />
|
||||
</FrameLayout>
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/channels_toolbar" android:background="@null" style="@style/AppTheme.Toolbar">
|
||||
<TextView android:textSize="15.0sp" android:textColor="?colorInteractiveActive" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:shadowColor="?colorBackgroundSecondary" android:shadowDy="4.0" android:shadowRadius="2.0" android:drawableRight="?ic_overflow" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="?ic_overflow" style="@style/UiKit.TextView.Bold" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorInteractiveActive" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:shadowColor="?colorBackgroundSecondary" android:shadowDy="4.0" android:shadowRadius="2.0" android:drawableRight="?ic_overflow" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="?ic_overflow" style="@style/UiKit.TextView" />
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/channels_list_search_toolbar" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.google.android.material.button.MaterialButton android:textAppearance="@style/UiKit.TextAppearance" android:textColor="?colorTextNormal" android:gravity="center_vertical" android:id="@id/channels_list_search" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" android:drawableEnd="@drawable/ic_search" android:backgroundTint="?colorBackgroundTertiary" />
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/channels_list_private_channels_header" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" app:contentInsetStart="0.0dip">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:background="@color/transparent" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_large" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.ConstraintLayout">
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorInteractiveActive" android:id="@id/channels_list_direct_messages_title" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:visibility="gone" android:text="@string/direct_messages" app:layout_constraintEnd_toStartOf="@id/channels_list_start_group" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
|
||||
<androidx.appcompat.widget.AppCompatImageView android:id="@id/channels_list_start_group" android:background="?bg_pressed_highlight" android:padding="@dimen/uikit_spacing_medium" android:src="@drawable/ic_group_add_white_24dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:tint="?colorInteractiveNormal" style="@style/UiKit.ImageView" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance" android:textColor="?colorTextMuted" android:gravity="center_vertical" android:id="@id/channels_list_search" android:background="@drawable/rounded_rectangle_4dp_radius" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" android:foreground="?bg_pressed_highlight" android:text="@string/dm_search_placeholder" android:drawableEnd="@drawable/ic_search_16dp" android:paddingStart="@dimen/uikit_spacing_medium" android:paddingEnd="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_medium" android:backgroundTint="?colorBackgroundTertiary" app:drawableTint="?colorTextMuted" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/channels_list_direct_messages_title" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.discord.views.CustomAppBarLayout>
|
||||
<com.discord.widgets.friends.EmptyFriendsStateView android:id="@id/widget_channels_list_empty_friends_state_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:layout_below="@id/channels_list_search" app:ef_title_text_size="@dimen/uikit_textsize_large" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_marginTop="2.0dip" android:layout_marginBottom="2.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
<RelativeLayout android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/channels_item_channel_unread" android:src="@drawable/ic_unread_white_9dp" android:tint="?colorInteractiveActive" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channels_item_channel_hash" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_channel_text" android:tint="?colorTextNormal" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="16.0dip" style="@style/UiKit.ImageView" />
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:layout_height="60.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
<RelativeLayout android:padding="@dimen/uikit_spacing_medium" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_small" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_item_private_avatar" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_centerVertical="true" app:placeholderImage="?colorPrimaryCircle" style="@style/Avatar.Standard" />
|
||||
<com.discord.views.StatusView android:id="@id/channel_list_item_private_status" android:layout_width="12.0dip" android:layout_height="wrap_content" android:layout_alignRight="@id/channels_list_item_private_avatar" android:layout_alignBottom="@id/channels_list_item_private_avatar" android:translationX="2.0dip" android:translationY="2.0dip" app:sv_background_color="?colorBackgroundSecondary" app:sv_border_width="2.0dip" app:sv_corner_radius="2.0dip" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_item_private_avatar" android:layout_centerVertical="true" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_marginEnd="@dimen/uikit_spacing_large" app:placeholderImage="?colorPrimaryCircle" style="@style/Avatar.Standard" />
|
||||
<com.discord.views.StatusView android:id="@id/channel_list_item_private_status" android:layout_width="12.0dip" android:layout_height="wrap_content" android:layout_alignBottom="@id/channels_list_item_private_avatar" android:translationX="2.0dip" android:translationY="2.0dip" android:layout_alignEnd="@id/channels_list_item_private_avatar" app:sv_background_color="?colorBackgroundSecondary" app:sv_border_width="2.0dip" app:sv_corner_radius="2.0dip" />
|
||||
<LinearLayout android:layout_centerVertical="true" android:layout_alignWithParentIfMissing="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/channels_list_item_private_mentions" android:layout_toEndOf="@id/channels_list_item_private_avatar" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:orientation="horizontal" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorChannelDefault" android:id="@id/channels_list_item_private_name" android:singleLine="true" style="@style/UiKit.TextView.Semibold" />
|
||||
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:layout_gravity="center" android:id="@id/channels_list_item_private_tag" android:background="@drawable/drawable_tag_brand" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/system_dm_tag_system" android:singleLine="true" android:drawableStart="@drawable/ic_verified_10dp" android:layout_marginStart="6.0dip" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:layout_gravity="center" android:id="@id/channels_list_item_private_tag" android:background="@drawable/drawable_tag_brand" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/system_dm_tag_system" android:singleLine="true" android:drawableStart="@drawable/ic_verified_10dp" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" android:layout_marginStart="6.0dip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:id="@id/channels_list_item_private_desc" android:singleLine="true" style="@style/UiKit.TextView.Subtext" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_marginTop="12.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
<RelativeLayout android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/channels_list_item_friends_icon" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="@drawable/ic_human_greeting_24dp" android:scaleType="center" android:tint="?colorChannelDefault" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" android:importantForAccessibility="no" android:layout_alignParentStart="true" style="@style/Avatar.Standard" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorChannelDefault" android:text="@string/friends" android:singleLine="true" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toEndOf="@id/channels_list_item_friends_icon" style="@style/UiKit.TextView.Semibold" />
|
||||
|
|
|
@ -2,8 +2,11 @@
|
|||
<RelativeLayout android:orientation="horizontal" android:layout_height="24.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_item_voice_user_avatar" android:layout_centerVertical="true" android:layout_marginStart="36.0dip" android:layout_marginEnd="8.0dip" style="@style/Avatar.Small" />
|
||||
<TextView android:textColor="?colorChannelDefault" android:id="@id/channels_item_voice_user_name" android:singleLine="true" android:layout_centerVertical="true" android:layout_marginEnd="4.0dip" android:layout_toStartOf="@id/channels_item_voice_user_headphones" android:layout_toEndOf="@id/channels_item_voice_user_avatar" style="@style/UiKit.TextView" />
|
||||
<ImageView android:id="@id/channels_item_voice_user_headphones" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/icon_deafened_small" android:tint="?colorChannelDefault" android:layout_centerVertical="true" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" android:layout_toStartOf="@id/channels_item_voice_user_microphone" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channels_item_voice_user_microphone" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/icon_muted_small" android:tint="?colorChannelDefault" android:layout_centerVertical="true" android:layout_alignWithParentIfMissing="true" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" android:layout_marginEnd="6.0dip" android:layout_toStartOf="@id/channels_item_voice_user_live" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:id="@id/channels_item_voice_user_live" android:background="@drawable/drawable_rect_rounded_red_500" android:paddingLeft="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_small" android:text="@string/live" android:layout_centerVertical="true" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" style="@style/UiKit.TextView" />
|
||||
<TextView android:textColor="?colorChannelDefault" android:id="@id/channels_item_voice_user_name" android:singleLine="true" android:layout_centerVertical="true" android:layout_marginEnd="4.0dip" android:layout_toStartOf="@id/indicators_container" android:layout_toEndOf="@id/channels_item_voice_user_avatar" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:gravity="center_vertical" android:id="@id/indicators_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true">
|
||||
<ImageView android:id="@id/channels_item_voice_user_camera" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_videocam_24dp" android:tint="?colorChannelDefault" android:contentDescription="@string/sample_empty_string" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channels_item_voice_user_headphones" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_headset_deafened_grey_24dp" android:tint="?colorChannelDefault" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/channels_item_voice_user_microphone" android:layout_width="16.0dip" android:layout_height="16.0dip" android:src="@drawable/ic_mic_muted_white_24dp" android:tint="?colorChannelDefault" android:contentDescription="@string/sample_empty_string" android:layout_marginStart="6.0dip" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:id="@id/channels_item_voice_user_live" android:background="@drawable/drawable_rect_rounded_red_500" android:paddingLeft="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_small" android:text="@string/live" android:textAllCaps="true" android:fontFamily="@font/whitney_semibold" android:layout_marginStart="6.0dip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -20,6 +20,7 @@
|
|||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_footer_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" android:layout_marginEnd="@dimen/embed_item_margin" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_footer_text" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_footer_text" app:placeholderImage="?colorBackgroundPrimary" app:roundedCornerRadius="2.0dip" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/chat_list_item_embed_footer_text" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_small" android:lineSpacingMultiplier="1.0" android:layout_marginStart="@dimen/uikit_spacing_medium" android:layout_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_footer_icon" app:layout_constraintTop_toBottomOf="@id/embed_image_container" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<com.discord.widgets.chat.list.InlineMediaView android:id="@id/embed_inline_media" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardBackgroundColor="@color/transparent" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHeight_min="@dimen/embed_play_button_width" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_min="@dimen/embed_play_button_width" />
|
||||
<FrameLayout android:id="@id/chat_list_item_embed_spoiler" android:background="?theme_chat_spoiler_bg" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_divider" app:layout_constraintTop_toTopOf="parent">
|
||||
<androidx.cardview.widget.CardView android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:elevation="@dimen/app_elevation" app:cardBackgroundColor="@color/black_alpha_60" app:cardCornerRadius="@dimen/uikit_spacing_large">
|
||||
<TextView android:textColor="@color/primary_200" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:text="@string/spoiler" android:textAllCaps="true" style="@style/UiKit.TextView.H2" />
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_xxlarge" android:layout_marginEnd="@dimen/uikit_spacing_large" style="@style/UiKit.Chat.Embed.CardView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.discord.rlottie.RLottieImageView android:id="@id/chat_list_adapter_item_sticker" android:layout_width="200.0dip" android:layout_height="200.0dip" />
|
||||
</FrameLayout>
|
|
@ -8,7 +8,7 @@
|
|||
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:id="@id/friends_list_item_activity" android:text="@string/sample_user_presence" style="@style/FriendsList.FriendsItem.Activity" />
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@id/friends_list_item_buttons_wrap" style="@style/FriendsList.FriendsItem.ButtonsWrap">
|
||||
<androidx.appcompat.widget.AppCompatImageView android:id="@id/friends_list_item_call_button" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:srcCompat="@drawable/ic_user_profile_action_call_white_a60_24dp" app:tint="?colorInteractiveNormal" style="@style/FriendsList.FriendsItem.ActionButton" />
|
||||
<androidx.appcompat.widget.AppCompatImageView android:id="@id/friends_list_item_chat_button" android:layout_marginStart="@dimen/uikit_spacing_medium" app:srcCompat="@drawable/ic_user_profile_action_message_white_a60_24dp" app:tint="?colorInteractiveNormal" style="@style/FriendsList.FriendsItem.ActionButton" />
|
||||
<androidx.appcompat.widget.AppCompatImageView android:id="@id/friends_list_item_call_button" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:srcCompat="@drawable/ic_user_profile_action_call_white_24dp" app:tint="?colorInteractiveNormal" style="@style/FriendsList.FriendsItem.ActionButton" />
|
||||
<androidx.appcompat.widget.AppCompatImageView android:id="@id/friends_list_item_chat_button" android:layout_marginStart="@dimen/uikit_spacing_medium" app:srcCompat="@drawable/ic_user_profile_action_message_white_24dp" app:tint="?colorInteractiveNormal" style="@style/FriendsList.FriendsItem.ActionButton" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -13,6 +13,8 @@
|
|||
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.views.video.VideoCallParticipantView android:id="@id/guild_call_pip" android:layout_width="140.0dip" android:layout_height="79.0dip" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout">
|
||||
<com.discord.views.video.VideoCallParticipantView android:id="@id/guild_call_pip" android:layout_width="140.0dip" android:layout_height="79.0dip" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -12,7 +12,7 @@
|
|||
<LinearLayout android:id="@id/guild_profile_sheet_content_container" android:paddingBottom="@dimen/uikit_spacing_large" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toBottomOf="@id/guild_profile_sheet_icon_card" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/guild_profile_sheet_guild_verified_premium_icon" android:visibility="gone" android:layout_width="24.0dip" android:layout_height="24.0dip" android:importantForAccessibility="no" android:layout_marginEnd="@dimen/uikit_spacing_medium" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:id="@id/guild_profile_sheet_name" android:maxLines="1" style="@style/UiKit.TextView.H1.Bold" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:id="@id/guild_profile_sheet_name" style="@style/UiKit.TextView.H1.Bold" />
|
||||
</LinearLayout>
|
||||
<TextView android:id="@id/guild_profile_sheet_description" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ScrollView android:layout_height="0.0dip" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.ScrollView">
|
||||
<LinearLayout style="@style/UiKit.Copy.Container">
|
||||
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="?img_chat_nsfw" android:scaleType="fitCenter" android:contentDescription="@string/nsfw_title" style="@style/UiKit.ImageView" />
|
||||
<ImageView android:id="@id/main_panel_center_nsfw_art" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="?img_chat_nsfw" android:scaleType="fitCenter" android:contentDescription="@string/nsfw_title" style="@style/UiKit.ImageView" />
|
||||
<LinearLayout style="@style/UiKit.Copy">
|
||||
<TextView android:layout_gravity="center" android:text="@string/nsfw_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:gravity="center" android:layout_marginTop="16.0dip" android:text="@string/nsfw_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:gravity="center" android:layout_gravity="center" android:id="@id/main_panel_center_nsfw_title" android:text="@string/nsfw_title" style="@style/UiKit.TextView.H1" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:gravity="center" android:id="@id/main_panel_center_nsfw_description" android:layout_marginTop="16.0dip" android:text="@string/nsfw_description" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:id="@id/status_wrap" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<RelativeLayout android:id="@id/status_connectivity" android:background="?theme_status_indicator_color" android:padding="@dimen/uikit_spacing_small" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<FrameLayout android:id="@id/status_connectivity_icon" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_centerVertical="true">
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<RelativeLayout android:id="@id/status_connectivity" android:background="?theme_status_indicator_color" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large">
|
||||
<FrameLayout android:id="@id/status_connectivity_icon" android:layout_width="18.0dip" android:layout_height="18.0dip" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large">
|
||||
<ProgressBar android:id="@id/status_connectivity_spinner" android:layout_width="fill_parent" android:layout_height="fill_parent" android:indeterminate="true" android:indeterminateTint="@color/white" android:indeterminateTintMode="src_in" style="@style/Base.Widget.AppCompat.ProgressBar" />
|
||||
<ImageView android:id="@id/status_connectivity_limited" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/ic_signal_cellular_connected_no_internet_4_bar_white_18dp" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:gravity="center_vertical" android:layout_gravity="center" android:id="@id/status_connectivity_text" android:layout_width="fill_parent" android:text="@string/connecting" android:lineSpacingMultiplier="1.0" android:layout_toEndOf="@id/status_connectivity_icon" style="@style/UiKit.TextView.Semibold" />
|
||||
</RelativeLayout>
|
||||
<androidx.cardview.widget.CardView android:id="@id/status_unread_messages" android:focusable="true" android:clickable="true" android:layout_margin="@dimen/uikit_spacing_small" app:cardBackgroundColor="@color/brand_500" app:cardCornerRadius="@dimen/uikit_textsize_medium" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:gravity="center_vertical" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/status_unread_messages_text" android:layout_width="0.0dip" android:layout_weight="1.0" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:gravity="center_vertical" android:id="@id/status_unread_messages_mark" android:padding="@dimen/uikit_spacing_small" android:layout_height="wrap_content" android:src="@drawable/ic_close_white_18dp" android:scaleType="center" android:contentDescription="@string/mark_as_read" android:paddingStart="@dimen/uikit_spacing_large" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<LinearLayout android:gravity="center_vertical" android:id="@id/status_unread_messages" android:background="@color/brand_500" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/status_unread_messages_text" android:layout_width="0.0dip" android:layout_weight="1.0" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:gravity="center_vertical" android:id="@id/status_unread_messages_mark" android:layout_height="wrap_content" android:src="@drawable/ic_close_white_18dp" android:scaleType="center" android:contentDescription="@string/mark_as_read" android:paddingStart="@dimen/uikit_spacing_large" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -7,5 +7,4 @@
|
|||
<item android:icon="?theme_friends_add_icon" android:id="@id/menu_chat_add_friend" android:visible="false" android:title="@string/add_friend" app:showAsAction="always" />
|
||||
<item android:icon="?theme_search_menu_icon" android:id="@id/menu_chat_search" android:visible="false" android:title="@string/search" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?theme_chat_header_members" android:id="@id/menu_chat_side_panel" android:visible="false" android:title="@string/members" app:showAsAction="always" />
|
||||
<item android:id="@id/menu_chat_group_add" android:visible="false" android:title="@string/group_dm_add_friends" app:showAsAction="never" />
|
||||
</menu>
|
|
@ -2,11 +2,11 @@
|
|||
<menu
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item android:icon="?ic_switch_camera" android:id="@id/menu_guild_call_switch_camera" android:title="@string/video_call_return_to_grid" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?ic_video_grid_view" android:id="@id/menu_guild_call_video_grid" android:title="@string/video_call_return_to_grid" app:showAsAction="ifRoom" />
|
||||
<item android:icon="@drawable/ic_video_grid_view_white" android:id="@id/menu_guild_call_video_grid" android:title="@string/video_call_return_to_grid" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?ic_video_list_view" android:id="@id/menu_guild_call_video_list" android:title="@string/video_call_return_to_list" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?ic_members_a60" android:id="@id/menu_guild_call_spectators_list" android:title="@string/view_spectators" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?ic_overlay" android:id="@id/menu_guild_call_overlay_launcher" android:visible="true" android:title="@string/settings_games_toggle_overlay" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?theme_friends_add_icon" android:id="@id/menu_guild_call_invite" android:visible="true" android:title="@string/invite_friends" app:showAsAction="ifRoom" />
|
||||
<item android:id="@id/menu_guild_call_channel_settings" android:visible="false" android:title="@string/channel_settings" app:showAsAction="never" />
|
||||
<item android:id="@id/menu_guild_call_voice_settings" android:title="@string/voice_settings" app:showAsAction="never" />
|
||||
<item android:id="@id/menu_guild_call_voice_settings" android:title="@string/settings" app:showAsAction="never" />
|
||||
</menu>
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item android:icon="?ic_person_add_new" android:id="@id/menu_private_call_add_member" android:title="@string/group_dm_add_friends" app:showAsAction="always" />
|
||||
<item android:icon="?ic_switch_camera" android:id="@id/menu_private_call_select_camera" android:visible="false" android:title="@string/camera_switch" app:showAsAction="ifRoom" />
|
||||
<item android:icon="?ic_call_participants" android:id="@id/menu_private_call_participants" android:visible="false" android:title="@string/member_list" app:showAsAction="ifRoom" />
|
||||
<item android:id="@id/menu_private_call_user_settings" android:visible="false" android:title="@string/user_settings" app:showAsAction="never" />
|
||||
|
|