* Implement multi network selector and resolve conflicts * Remove selected network * Rename type to mode * Fetch assets of selected networks * Formatting * Show selected networks and add close option * Update network selector button * Implement empty asset state * Fix NFT empty and loading state * Update colors * Add divider * Fix ups * Add strings and clean up * Minor review changes
210 lines
14 KiB
XML
210 lines
14 KiB
XML
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
You can obtain one at https://mozilla.org/MPL/2.0/. -->
|
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:aapt="http://schemas.android.com/aapt"
|
|
android:width="125dp"
|
|
android:height="111dp"
|
|
android:viewportWidth="125"
|
|
android:viewportHeight="111">
|
|
<path
|
|
android:pathData="M65,50.5m-49.4,0a49.4,49.4 0,1 1,98.8 0a49.4,49.4 0,1 1,-98.8 0"
|
|
android:strokeAlpha="0.2"
|
|
android:strokeWidth="1.2"
|
|
android:fillColor="#00000000">
|
|
<aapt:attr name="android:strokeColor">
|
|
<gradient
|
|
android:startX="65"
|
|
android:startY="0.5"
|
|
android:endX="65"
|
|
android:endY="100.5"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#339F9CF9"/>
|
|
<item android:offset="1" android:color="#FF9E9CF8"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:strokeWidth="1"
|
|
android:pathData="M65,50.5m-38.5,0a38.5,38.5 0,1 1,77 0a38.5,38.5 0,1 1,-77 0"
|
|
android:strokeAlpha="0.2"
|
|
android:fillColor="#00000000">
|
|
<aapt:attr name="android:strokeColor">
|
|
<gradient
|
|
android:startX="65"
|
|
android:startY="11.5"
|
|
android:endX="65"
|
|
android:endY="89.5"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#339F9CF9"/>
|
|
<item android:offset="1" android:color="#FF9E9CF8"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M65,50.5m-28.6,0a28.6,28.6 0,1 1,57.2 0a28.6,28.6 0,1 1,-57.2 0"
|
|
android:strokeAlpha="0.2"
|
|
android:strokeWidth="0.8"
|
|
android:fillColor="#00000000">
|
|
<aapt:attr name="android:strokeColor">
|
|
<gradient
|
|
android:startX="65"
|
|
android:startY="21.5"
|
|
android:endX="65"
|
|
android:endY="79.5"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#339F9CF9"/>
|
|
<item android:offset="1" android:color="#FF9E9CF8"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M36.4,24.95C37.73,25.3 39.09,24.52 39.45,23.19C39.8,21.86 39.02,20.5 37.69,20.14C36.36,19.79 35,20.58 34.64,21.9C34.29,23.23 35.08,24.59 36.4,24.95Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M35.2,23.31C35.34,23.41 35.52,23.46 35.74,23.46C36,23.46 36.21,23.4 36.36,23.28C36.52,23.16 36.63,22.97 36.69,22.72C36.73,22.57 36.76,22.41 36.79,22.25C36.8,22.19 36.81,22.14 36.81,22.11C36.81,21.98 36.77,21.87 36.71,21.78C36.65,21.69 36.56,21.62 36.45,21.57C36.34,21.52 36.21,21.5 36.07,21.5C35.56,21.5 35.24,21.75 35.11,22.25C35.07,22.43 35.04,22.59 35.01,22.72C35,22.78 35,22.83 35,22.87C35,23.06 35.07,23.21 35.2,23.31ZM36.03,22.98C35.96,23.04 35.88,23.07 35.78,23.07C35.6,23.07 35.51,22.99 35.51,22.82C35.51,22.78 35.52,22.74 35.53,22.7C35.56,22.53 35.59,22.38 35.63,22.26C35.66,22.13 35.71,22.04 35.78,21.98C35.85,21.92 35.94,21.89 36.04,21.89C36.21,21.89 36.3,21.97 36.3,22.14C36.3,22.18 36.29,22.22 36.29,22.26C36.26,22.39 36.23,22.53 36.19,22.7C36.16,22.83 36.11,22.92 36.03,22.98ZM36.81,23.48C36.82,23.49 36.83,23.5 36.85,23.5H37.22C37.24,23.5 37.26,23.49 37.28,23.48C37.29,23.47 37.3,23.45 37.31,23.43L37.43,22.83H37.8C38.04,22.83 38.22,22.78 38.36,22.68C38.5,22.58 38.59,22.43 38.64,22.22C38.65,22.17 38.65,22.12 38.65,22.08C38.65,21.92 38.59,21.8 38.47,21.72C38.35,21.63 38.18,21.59 37.98,21.59H37.26C37.24,21.59 37.22,21.6 37.2,21.61C37.19,21.62 37.18,21.64 37.17,21.66L36.8,23.43C36.79,23.45 36.8,23.47 36.81,23.48ZM38.02,22.4C37.96,22.44 37.9,22.46 37.82,22.46H37.51L37.61,21.97H37.94C38.01,21.97 38.06,21.98 38.09,22.01C38.12,22.04 38.14,22.08 38.14,22.13C38.14,22.16 38.14,22.18 38.13,22.22C38.11,22.29 38.08,22.35 38.02,22.4Z"
|
|
android:fillColor="#FF0420"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M36.75,98.99C43.79,98.99 49.49,93.29 49.49,86.25C49.49,79.21 43.79,73.5 36.75,73.5C29.71,73.5 24,79.21 24,86.25C24,93.29 29.71,98.99 36.75,98.99Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M36.09,83.28C36.35,82.23 36.68,81.29 37.02,80.68C37.15,80.38 37.66,79.68 38.22,79.21C39.15,78.44 40.2,78.24 41.3,78.88L41.2,79.02L41.3,78.88C41.85,79.21 42.08,79.54 41.98,79.86C41.91,80.09 41.63,80.28 41.48,80.26C41.27,80.28 41.05,80.24 40.84,80.1C40.67,79.97 40.53,79.8 40.45,79.61C40.3,79.28 40.1,79.16 39.85,79.19C39.67,79.21 39.47,79.32 39.4,79.39L39.23,79.56C39.1,79.69 38.98,79.83 38.88,79.99C38.54,80.52 38.22,81.49 37.78,83.51L40.69,83.91L40.53,84.99L37.58,84.59L37.46,85.3L37.42,85.48C37.41,85.57 37.39,85.67 37.36,85.78L40.35,86.18L40.18,87.27L37.12,86.85C36.77,88.24 36.31,89.74 35.98,90.33C35.85,90.62 35.34,91.32 34.78,91.79C33.85,92.56 32.8,92.76 31.7,92.12C31.15,91.79 30.92,91.46 31.02,91.14C31.09,90.91 31.37,90.72 31.52,90.74C31.73,90.72 31.95,90.76 32.16,90.9C32.32,91.01 32.45,91.17 32.55,91.39C32.7,91.72 32.9,91.84 33.15,91.81C33.33,91.79 33.53,91.68 33.6,91.61C34.25,90.94 34.77,89.63 35.43,86.62L32.52,86.22L32.68,85.14L35.63,85.54L35.76,84.83C35.78,84.67 35.81,84.51 35.85,84.35L32.88,83.95L33.05,82.86L36.09,83.28Z"
|
|
android:fillColor="#42C1CA"/>
|
|
<path
|
|
android:pathData="M65.21,70.92C76.37,70.92 85.42,61.87 85.42,50.71C85.42,39.55 76.37,30.5 65.21,30.5C54.05,30.5 45,39.55 45,50.71C45,61.87 54.05,70.92 65.21,70.92Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M85.22,50.71C85.22,61.76 76.26,70.72 65.21,70.72C54.16,70.72 45.2,61.76 45.2,50.71C45.2,39.66 54.16,30.7 65.21,30.7C76.26,30.7 85.22,39.66 85.22,50.71Z"
|
|
android:strokeAlpha="0.2"
|
|
android:strokeWidth="0.400206"
|
|
android:fillColor="#00000000">
|
|
<aapt:attr name="android:strokeColor">
|
|
<gradient
|
|
android:startX="65.21"
|
|
android:startY="30.5"
|
|
android:endX="65.21"
|
|
android:endY="70.92"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#339F9CF9"/>
|
|
<item android:offset="1" android:color="#FF9E9CF8"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M65,39V47.87L73,51.22L65,39Z"
|
|
android:fillColor="#6582F9"/>
|
|
<path
|
|
android:pathData="M65,39L57,51.22L65,47.87V39Z"
|
|
android:fillColor="#90A3FD"/>
|
|
<path
|
|
android:pathData="M65,56.97V63L73,52.62L65,56.97Z"
|
|
android:fillColor="#6582F9"/>
|
|
<path
|
|
android:pathData="M65,63V56.97L57,52.62L65,63Z"
|
|
android:fillColor="#90A3FD"/>
|
|
<path
|
|
android:pathData="M65,55.58L73,51.22L65,47.87V55.58Z"
|
|
android:fillColor="#3E64F4"/>
|
|
<path
|
|
android:pathData="M57,51.22L65,55.58V47.87L57,51.22Z"
|
|
android:fillColor="#6582F9"/>
|
|
<path
|
|
android:pathData="M102.44,35.37C109.31,35.37 114.87,29.8 114.87,22.94C114.87,16.07 109.31,10.5 102.44,10.5C95.57,10.5 90,16.07 90,22.94C90,29.8 95.57,35.37 102.44,35.37Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M98.46,24.43C98.52,24.37 98.61,24.33 98.7,24.33H107.08C107.23,24.33 107.31,24.51 107.2,24.61L105.54,26.2C105.48,26.26 105.39,26.29 105.3,26.29H96.92C96.77,26.29 96.69,26.11 96.8,26.01L98.46,24.43Z">
|
|
<aapt:attr name="android:fillColor">
|
|
<gradient
|
|
android:startX="103.85"
|
|
android:startY="16.26"
|
|
android:endX="98.44"
|
|
android:endY="27.08"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#FF00FFA3"/>
|
|
<item android:offset="1" android:color="#FFDC1FFF"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M98.46,18.51C98.52,18.45 98.61,18.42 98.7,18.42H107.08C107.23,18.42 107.31,18.59 107.2,18.7L105.54,20.28C105.48,20.34 105.39,20.38 105.3,20.38H96.92C96.77,20.38 96.69,20.2 96.8,20.1L98.46,18.51Z">
|
|
<aapt:attr name="android:fillColor">
|
|
<gradient
|
|
android:startX="103.85"
|
|
android:startY="16.26"
|
|
android:endX="98.44"
|
|
android:endY="27.08"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#FF00FFA3"/>
|
|
<item android:offset="1" android:color="#FFDC1FFF"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M105.54,21.45C105.48,21.39 105.39,21.36 105.3,21.36H96.92C96.77,21.36 96.69,21.53 96.8,21.64L98.46,23.22C98.52,23.28 98.61,23.32 98.7,23.32H107.08C107.23,23.32 107.31,23.14 107.2,23.04L105.54,21.45Z">
|
|
<aapt:attr name="android:fillColor">
|
|
<gradient
|
|
android:startX="103.85"
|
|
android:startY="16.26"
|
|
android:endX="98.44"
|
|
android:endY="27.08"
|
|
android:type="linear">
|
|
<item android:offset="0" android:color="#FF00FFA3"/>
|
|
<item android:offset="1" android:color="#FFDC1FFF"/>
|
|
</gradient>
|
|
</aapt:attr>
|
|
</path>
|
|
<path
|
|
android:pathData="M100.9,54.45C102.23,54.8 103.59,54.02 103.95,52.69C104.3,51.36 103.52,50 102.19,49.64C100.86,49.29 99.5,50.08 99.14,51.4C98.79,52.73 99.58,54.09 100.9,54.45Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M100.25,53.5H100.75V53.5C100.87,53.5 100.93,53.5 100.98,53.48C101.04,53.46 101.1,53.43 101.14,53.38C101.18,53.34 101.21,53.28 101.27,53.17L101.27,53.16L101.92,51.86C101.98,51.74 102.01,51.69 102.02,51.63C102.04,51.56 102.04,51.49 102.02,51.43C102.01,51.37 101.98,51.32 101.93,51.22L101.92,51.2L101.92,51.2L101.66,50.69C101.61,50.59 101.58,50.53 101.55,50.52C101.52,50.49 101.47,50.49 101.44,50.52C101.4,50.53 101.38,50.59 101.33,50.69L101.32,50.69L100.08,53.16L100.07,53.18C100.02,53.27 100,53.32 100,53.36C100,53.41 100.03,53.45 100.06,53.47C100.09,53.5 100.14,53.5 100.25,53.5Z"
|
|
android:fillColor="#E84142"/>
|
|
<path
|
|
android:pathData="M102.75,53.5H102.03C101.92,53.5 101.87,53.5 101.83,53.47C101.8,53.45 101.78,53.41 101.78,53.36C101.77,53.32 101.8,53.27 101.85,53.16L101.86,53.16L102.21,52.46L102.21,52.46C102.27,52.36 102.29,52.31 102.33,52.29C102.36,52.27 102.41,52.27 102.44,52.29C102.48,52.31 102.5,52.35 102.55,52.44L102.56,52.46L102.56,52.46L102.92,53.16C102.92,53.16 102.92,53.17 102.92,53.17L102.92,53.17C102.92,53.17 102.93,53.17 102.93,53.17L102.93,53.18C102.98,53.27 103,53.32 103,53.36C103,53.4 102.97,53.45 102.94,53.47C102.91,53.5 102.86,53.5 102.75,53.5Z"
|
|
android:fillColor="#E84142"/>
|
|
<path
|
|
android:pathData="M104.95,86.4C110.44,86.4 114.9,81.94 114.9,76.45C114.9,70.95 110.44,66.5 104.95,66.5C99.45,66.5 95,70.95 95,76.45C95,81.94 99.45,86.4 104.95,86.4Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M106.79,74.94C106.63,74.84 106.41,74.84 106.23,74.94L104.93,75.72L104.05,76.23L102.76,77.01C102.59,77.11 102.38,77.11 102.19,77.01L101.16,76.4C101,76.3 100.88,76.11 100.88,75.91V74.71C100.88,74.5 100.98,74.32 101.16,74.22L102.18,73.62C102.34,73.52 102.56,73.52 102.74,73.62L103.75,74.22C103.92,74.32 104.04,74.5 104.04,74.71V75.49L104.92,74.96V74.18C104.92,73.98 104.82,73.79 104.63,73.69L102.76,72.58C102.59,72.47 102.38,72.47 102.19,72.58L100.28,73.69C100.1,73.79 100,73.98 100,74.18V76.43C100,76.64 100.1,76.82 100.28,76.92L102.19,78.04C102.36,78.14 102.57,78.14 102.76,78.04L104.05,77.28L104.93,76.75L106.23,75.99C106.39,75.89 106.61,75.89 106.79,75.99L107.8,76.58C107.97,76.69 108.09,76.87 108.09,77.07V78.28C108.09,78.48 107.99,78.66 107.8,78.77L106.79,79.38C106.63,79.48 106.41,79.48 106.23,79.38L105.21,78.78C105.05,78.68 104.93,78.5 104.93,78.29V77.51L104.05,78.04V78.82C104.05,79.02 104.15,79.21 104.33,79.31L106.24,80.42C106.41,80.53 106.63,80.53 106.81,80.42L108.72,79.31C108.88,79.21 109,79.02 109,78.82V76.57C109,76.36 108.9,76.18 108.72,76.08L106.79,74.94Z"
|
|
android:fillColor="#7950DD"/>
|
|
<path
|
|
android:pathData="M19.95,48.4C25.44,48.4 29.9,43.94 29.9,38.45C29.9,32.95 25.44,28.5 19.95,28.5C14.45,28.5 10,32.95 10,38.45C10,43.94 14.45,48.4 19.95,48.4Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M15.02,41.73L17.97,40L20,36.44V33C19.95,33 19.89,33.04 19.85,33.11L17.44,37.33L15.03,41.55C14.99,41.62 14.99,41.69 15.02,41.73Z"
|
|
android:fillColor="#FF4724"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M20,33V36.44L22.03,40L24.98,41.73C25.01,41.69 25.01,41.62 24.97,41.55L22.56,37.33L20.15,33.11C20.11,33.04 20.05,33 20,33Z"
|
|
android:fillColor="#9E1F63"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M24.98,41.73L22.03,40H17.97L15.02,41.73C15.04,41.78 15.1,41.81 15.18,41.81H24.82C24.9,41.81 24.96,41.78 24.98,41.73Z"
|
|
android:fillColor="#662D91"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M17.97,40H22.03L20,36.44L17.97,40Z"
|
|
android:fillColor="#ffffff"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M59.97,24.45C62.72,24.45 64.95,22.22 64.95,19.47C64.95,16.73 62.72,14.5 59.97,14.5C57.23,14.5 55,16.73 55,19.47C55,22.22 57.23,24.45 59.97,24.45Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M58.83,19.02L60,17.86L61.17,19.02L61.84,18.34L60,16.5L58.16,18.34L58.83,19.02ZM57,19.5L57.68,18.82L58.36,19.5L57.68,20.18L57,19.5ZM58.83,19.98L60,21.14L61.17,19.98L61.84,20.66L60,22.5L58.16,20.66L58.16,20.66L58.83,19.98ZM61.64,19.5L62.32,18.82L63,19.5L62.32,20.18L61.64,19.5ZM60.69,19.5H60.69V19.5L60,20.19L59.31,19.5L59.31,19.5L59.31,19.5L59.43,19.38L59.49,19.32L60,18.81L60.69,19.5L60.69,19.5Z"
|
|
android:fillColor="#F8D339"/>
|
|
<path
|
|
android:pathData="M69.97,88.45C72.72,88.45 74.95,86.22 74.95,83.47C74.95,80.73 72.72,78.5 69.97,78.5C67.23,78.5 65,80.73 65,83.47C65,86.22 67.23,88.45 69.97,88.45Z"
|
|
android:fillColor="#21242A"/>
|
|
<path
|
|
android:pathData="M68.42,81.35L67.5,83.26C67.5,83.27 67.5,83.28 67.5,83.29C67.5,83.29 67.51,83.3 67.51,83.31L69.97,85.67C69.98,85.67 69.99,85.68 70,85.68C70.01,85.68 70.02,85.67 70.03,85.67L72.49,83.31C72.49,83.3 72.5,83.29 72.5,83.29C72.5,83.28 72.5,83.27 72.5,83.26L71.58,81.35C71.58,81.34 71.58,81.33 71.57,81.33C71.57,81.33 71.56,81.32 71.55,81.32H68.45C68.44,81.33 68.43,81.33 68.43,81.33C68.42,81.34 68.42,81.34 68.42,81.35H68.42Z"
|
|
android:fillColor="#50AF95"
|
|
android:fillType="evenOdd"/>
|
|
<path
|
|
android:pathData="M70.32,83.46C70.3,83.46 70.21,83.47 70,83.47C69.84,83.47 69.73,83.46 69.69,83.46C69.06,83.43 68.59,83.32 68.59,83.19C68.59,83.06 69.06,82.95 69.69,82.92V83.35C69.73,83.35 69.84,83.36 70.01,83.36C70.2,83.36 70.3,83.35 70.32,83.35V82.92C70.94,82.95 71.41,83.06 71.41,83.19C71.41,83.32 70.94,83.43 70.32,83.46ZM70.32,82.88V82.5H71.19V81.92H68.81V82.5H69.69V82.88C68.98,82.91 68.44,83.05 68.44,83.22C68.44,83.39 68.98,83.53 69.69,83.56V84.79H70.32V83.56C71.02,83.53 71.56,83.39 71.56,83.22C71.56,83.06 71.02,82.91 70.32,82.88V82.88Z"
|
|
android:fillColor="#ffffff"
|
|
android:fillType="evenOdd"/>
|
|
</vector>
|