Changes of com.discord v926
|
@ -18,6 +18,7 @@
|
|||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
|
||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
<permission android:description="@string/app_permission_connect_desc" android:label="@string/app_permission_connect_label" android:name="com.discord.permission.CONNECT" android:protectionLevel="dangerous"/>
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
||||
|
@ -81,6 +82,7 @@
|
|||
<data android:host="app" android:pathPattern="/connect/.*" android:scheme="discord"/>
|
||||
</intent-filter>
|
||||
</service>
|
||||
<service android:exported="false" android:name="com.discord.utilities.voice.DiscordOverlayService"/>
|
||||
<service android:name="com.discord.utilities.games.GameDetectionService"/>
|
||||
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/asset_default_avatar_64dp"/>
|
||||
<meta-data android:name="com.google.firebase.messaging.default_notification_color" android:resource="@color/brand_500"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
!!brut.androlib.meta.MetaInfo
|
||||
apkFileName: com.discord-925.apk
|
||||
apkFileName: com.discord-926.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
|
@ -308,5 +308,5 @@ usesFramework:
|
|||
tag: null
|
||||
version: 2.4.1-1b91ce-SNAPSHOT
|
||||
versionInfo:
|
||||
versionCode: '925'
|
||||
versionName: 9.2.5
|
||||
versionCode: '926'
|
||||
versionName: 9.2.6-SAO-Coat_of_Midnight
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
#Do NOT modify, delete, or commit to source control!
|
||||
#
|
||||
#Thu Jul 25 17:12:35 UTC 2019
|
||||
version_name=9.2.5
|
||||
#Fri Jul 26 00:20:20 UTC 2019
|
||||
version_name=9.2.6-SAO-Coat_of_Midnight
|
||||
package_name=com.discord
|
||||
build_id=dea9b80f-d069-4490-bfdd-158ea67744d5
|
||||
version_code=925
|
||||
build_id=e3a8d2ad-9f21-4f35-b3d3-c3d6a10cd31b
|
||||
version_code=926
|
||||
app_name=com.discord
|
||||
|
|
3
com.discord/res/animator/fade_in.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="0.0" android:valueTo="1.0" android:propertyName="alpha"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
3
com.discord/res/animator/fade_out.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="1.0" android:valueTo="0.0" android:propertyName="alpha"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
6
com.discord/res/animator/overlay_slide_down_fade_in.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set android:ordering="together"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_mediumAnimTime" android:valueFrom="-128.0dip" android:valueTo="0" android:valueType="floatType" android:propertyName="translationY" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_decelerate" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="0.0" android:valueTo="1.0" android:propertyName="alpha" />
|
||||
</set>
|
6
com.discord/res/animator/overlay_slide_down_fade_out.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set android:ordering="together"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_decelerate" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="0" android:valueTo="128.0dip" android:valueType="floatType" android:propertyName="translationY" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="1.0" android:valueTo="0.0" android:propertyName="alpha" />
|
||||
</set>
|
6
com.discord/res/animator/overlay_slide_up_fade_in.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set android:ordering="together"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_mediumAnimTime" android:valueFrom="128.0dip" android:valueTo="0" android:valueType="floatType" android:propertyName="translationY" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_decelerate" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="0.0" android:valueTo="1.0" android:propertyName="alpha" />
|
||||
</set>
|
6
com.discord/res/animator/overlay_slide_up_fade_out.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set android:ordering="together"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<objectAnimator android:interpolator="@android:interpolator/anticipate" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="0" android:valueTo="-128.0dip" android:valueType="floatType" android:propertyName="translationY" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueFrom="1.0" android:valueTo="0.0" android:propertyName="alpha" />
|
||||
</set>
|
3
com.discord/res/animator/slide_in_bottom.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_mediumAnimTime" android:valueFrom="@dimen/bubble_size_default" android:valueTo="0" android:valueType="floatType" android:propertyName="translationY"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
3
com.discord/res/animator/slide_out_bottom.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_mediumAnimTime" android:valueFrom="0" android:valueTo="@dimen/bubble_size_default" android:valueType="floatType" android:propertyName="translationY"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
5
com.discord/res/drawable-anydpi-v21/ic_close_24dp.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:tint="#ffffffff" 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="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
|
||||
</vector>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:autoMirrored="true" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M6.7,11H5C5,12.19 5.34,13.3 5.9,14.28L7.13,13.05C6.86,12.43 6.7,11.74 6.7,11Z" />
|
||||
<path android:fillColor="#ffffffff" android:pathData="M9.01,11.085C9.015,11.1125 9.02,11.14 9.02,11.17L15,5.18V5C15,3.34 13.66,2 12,2C10.34,2 9,3.34 9,5V11C9,11.03 9.005,11.0575 9.01,11.085Z" />
|
||||
<path android:fillColor="#ffffffff" android:pathData="M11.7237,16.0927L10.9632,16.8531L10.2533,17.5688C10.4978,17.633 10.747,17.6839 11,17.72V22H13V17.72C16.28,17.23 19,14.41 19,11H17.3C17.3,14 14.76,16.1 12,16.1C11.9076,16.1 11.8155,16.0975 11.7237,16.0927Z" />
|
||||
<path android:fillColor="#fff04747" android:pathData="M21,4.27L19.73,3L3,19.73L4.27,21L8.46,16.82L9.69,15.58L11.35,13.92L14.99,10.28L21,4.27Z" />
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:autoMirrored="true" android:viewportWidth="20.0" android:viewportHeight="20.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#994f545c" android:pathData="M18,14H8C6.896,14 6,13.104 6,12V2C6,0.896 6.896,0 8,0H18C19.104,0 20,0.896 20,2V12C20,13.104 19.104,14 18,14Z" />
|
||||
<path android:fillColor="#994f545c" android:pathData="M2,18H12V15H14V18C14,19.102 13.103,20 12,20H2C0.897,20 0,19.102 0,18V8C0,6.898 0.897,6 2,6H5V8H2V18Z" />
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:autoMirrored="true" android:viewportWidth="20.0" android:viewportHeight="20.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#99ffffff" android:pathData="M18,14H8C6.896,14 6,13.104 6,12V2C6,0.896 6.896,0 8,0H18C19.104,0 20,0.896 20,2V12C20,13.104 19.104,14 18,14Z" />
|
||||
<path android:fillColor="#99ffffff" android:pathData="M2,18H12V15H14V18C14,19.102 13.103,20 12,20H2C0.897,20 0,19.102 0,18V8C0,6.898 0.897,6 2,6H5V8H2V18Z" />
|
||||
</vector>
|
|
@ -1,5 +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="#99ffffff" android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77s-2.99,-7.86 -7,-8.77z" />
|
||||
<path android:fillColor="#4dffffff" android:pathData="M3,9v6h4l5,5L12,4L7,9L3,9zM16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02zM14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77s-2.99,-7.86 -7,-8.77z" />
|
||||
</vector>
|
6
com.discord/res/drawable-anydpi-v21/img_logo_square.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:autoMirrored="true" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffb9bbbe" android:pathData="M9.9315,10.5885C9.28,10.5885 8.7657,11.16 8.7657,11.8571C8.7657,12.5543 9.2915,13.1257 9.9315,13.1257C10.5829,13.1257 11.0972,12.5543 11.0972,11.8571C11.1086,11.16 10.5829,10.5885 9.9315,10.5885ZM14.1029,10.5885C13.4515,10.5885 12.9372,11.16 12.9372,11.8571C12.9372,12.5543 13.4629,13.1257 14.1029,13.1257C14.7543,13.1257 15.2686,12.5543 15.2686,11.8571C15.2686,11.16 14.7543,10.5885 14.1029,10.5885Z" />
|
||||
<path android:fillColor="#ffb9bbbe" android:pathData="M19.6571,1H4.3429C3.0514,1 2,2.0514 2,3.3543V18.8057C2,20.1086 3.0514,21.16 4.3429,21.16H17.3029L16.6971,19.0457L18.16,20.4057L19.5429,21.6857L22,23.8571V3.3543C22,2.0514 20.9486,1 19.6571,1ZM15.2457,15.9257C15.2457,15.9257 14.8343,15.4343 14.4914,15C15.9886,14.5771 16.56,13.64 16.56,13.64C16.0914,13.9486 15.6457,14.1657 15.2457,14.3143C14.6743,14.5543 14.1257,14.7143 13.5886,14.8057C12.4914,15.0114 11.4857,14.9543 10.6286,14.7943C9.9771,14.6686 9.4171,14.4857 8.9486,14.3029C8.6857,14.2 8.4,14.0743 8.1143,13.9143C8.08,13.8914 8.0457,13.88 8.0114,13.8571C7.9886,13.8457 7.9771,13.8343 7.9657,13.8229C7.76,13.7086 7.6457,13.6286 7.6457,13.6286C7.6457,13.6286 8.1943,14.5429 9.6457,14.9771C9.3029,15.4114 8.88,15.9257 8.88,15.9257C6.3543,15.8457 5.3943,14.1886 5.3943,14.1886C5.3943,10.5086 7.04,7.5257 7.04,7.5257C8.6857,6.2914 10.2514,6.3257 10.2514,6.3257L10.3657,6.4629C8.3086,7.0571 7.36,7.96 7.36,7.96C7.36,7.96 7.6114,7.8229 8.0343,7.6286C9.2571,7.0914 10.2286,6.9429 10.6286,6.9086C10.6971,6.8971 10.7543,6.8857 10.8229,6.8857C11.52,6.7943 12.3086,6.7714 13.1314,6.8629C14.2171,6.9886 15.3829,7.3086 16.5714,7.96C16.5714,7.96 15.6686,7.1029 13.7257,6.5086L13.8857,6.3257C13.8857,6.3257 15.4514,6.2914 17.0971,7.5257C17.0971,7.5257 18.7429,10.5086 18.7429,14.1886C18.7429,14.1886 17.7714,15.8457 15.2457,15.9257Z" />
|
||||
</vector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:alpha="0.3" android:autoMirrored="true" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffffff" android:pathData="M14.99,11C14.99,12.66 13.66,14 12,14C10.34,14 9,12.66 9,11V5C9,3.34 10.34,2 12,2C13.66,2 15,3.34 15,5L14.99,11ZM12,16.1C14.76,16.1 17.3,14 17.3,11H19C19,14.42 16.28,17.24 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1ZM12,4C11.2,4 11,4.6667 11,5V11C11,11.3333 11.2,12 12,12C12.8,12 13,11.3333 13,11V5C13,4.6667 12.8,4 12,4Z" android:fillType="evenOdd" />
|
||||
<path android:fillColor="#ffffffff" android:pathData="M14.99,11C14.99,12.66 13.66,14 12,14C10.34,14 9,12.66 9,11V5C9,3.34 10.34,2 12,2C13.66,2 15,3.34 15,5L14.99,11ZM12,16.1C14.76,16.1 17.3,14 17.3,11H19C19,14.42 16.28,17.24 13,17.72V22H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1Z" android:fillType="evenOdd" />
|
||||
</vector>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
com.discord/res/drawable-hdpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 237 B |
BIN
com.discord/res/drawable-hdpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
com.discord/res/drawable-hdpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
com.discord/res/drawable-hdpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
com.discord/res/drawable-hdpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
com.discord/res/drawable-hdpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 414 B |
BIN
com.discord/res/drawable-hdpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 605 B |
BIN
com.discord/res/drawable-ldpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
com.discord/res/drawable-ldpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
com.discord/res/drawable-ldpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
com.discord/res/drawable-ldpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 253 B |
BIN
com.discord/res/drawable-ldpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 203 B |
BIN
com.discord/res/drawable-ldpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 236 B |
BIN
com.discord/res/drawable-ldpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
com.discord/res/drawable-mdpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
com.discord/res/drawable-mdpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
com.discord/res/drawable-mdpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
com.discord/res/drawable-mdpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
com.discord/res/drawable-mdpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 230 B |
BIN
com.discord/res/drawable-mdpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 288 B |
BIN
com.discord/res/drawable-mdpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 426 B |
18
com.discord/res/drawable-v21/bubble_state_selector.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<set>
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueTo="16.0dip" android:valueType="floatType" android:propertyName="translationZ" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_shortAnimTime" android:valueTo="1.2" android:valueType="floatType" android:propertyName="scaleX" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_shortAnimTime" android:valueTo="1.2" android:valueType="floatType" android:propertyName="scaleY" />
|
||||
</set>
|
||||
</item>
|
||||
<item>
|
||||
<set>
|
||||
<objectAnimator android:interpolator="@android:interpolator/accelerate_quad" android:duration="@android:integer/config_shortAnimTime" android:valueTo="0.0dip" android:valueType="floatType" android:propertyName="translationZ" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_shortAnimTime" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleX" />
|
||||
<objectAnimator android:interpolator="@android:interpolator/overshoot" android:duration="@android:integer/config_shortAnimTime" android:valueTo="1" android:valueType="floatType" android:propertyName="scaleY" />
|
||||
</set>
|
||||
</item>
|
||||
</selector>
|
6
com.discord/res/drawable-v21/button_status_green_500.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:drawable="@drawable/drawable_uikit_status_green_500_a60" />
|
||||
<item android:drawable="@drawable/drawable_uikit_status_green_500_button" />
|
||||
</selector>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ripple android:color="?colorAccent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<inset android:insetLeft="@dimen/uikit_btn_inset_horizontal_material" android:insetRight="@dimen/uikit_btn_inset_horizontal_material" android:insetTop="@dimen/uikit_btn_inset_vertical_material" android:insetBottom="@dimen/uikit_btn_inset_vertical_material">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/uikit_btn_corner_radius" />
|
||||
<solid android:color="@color/status_green_500" />
|
||||
<padding android:left="@dimen/uikit_btn_padding_horizontal" android:top="@dimen/uikit_btn_padding_vertical" android:right="@dimen/uikit_btn_padding_horizontal" android:bottom="@dimen/uikit_btn_padding_vertical" />
|
||||
</shape>
|
||||
</inset>
|
||||
</item>
|
||||
<item android:id="@android:id/mask">
|
||||
<inset android:insetLeft="@dimen/uikit_btn_inset_horizontal_material" android:insetRight="@dimen/uikit_btn_inset_horizontal_material" android:insetTop="@dimen/uikit_btn_inset_vertical_material" android:insetBottom="@dimen/uikit_btn_inset_vertical_material">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/status_green_600" />
|
||||
<corners android:radius="@dimen/uikit_btn_corner_radius" />
|
||||
</shape>
|
||||
</inset>
|
||||
</item>
|
||||
</ripple>
|
BIN
com.discord/res/drawable-xhdpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 297 B |
BIN
com.discord/res/drawable-xhdpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 518 B |
BIN
com.discord/res/drawable-xhdpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 419 B |
BIN
com.discord/res/drawable-xhdpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 449 B |
BIN
com.discord/res/drawable-xhdpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 361 B |
BIN
com.discord/res/drawable-xhdpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 512 B |
BIN
com.discord/res/drawable-xhdpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 766 B |
BIN
com.discord/res/drawable-xxhdpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 392 B |
BIN
com.discord/res/drawable-xxhdpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 690 B |
BIN
com.discord/res/drawable-xxhdpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 607 B |
BIN
com.discord/res/drawable-xxhdpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
com.discord/res/drawable-xxhdpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 480 B |
BIN
com.discord/res/drawable-xxhdpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 730 B |
Before Width: | Height: | Size: 745 B |
BIN
com.discord/res/drawable-xxhdpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
com.discord/res/drawable-xxxhdpi/ic_close_24dp.png
Normal file
After Width: | Height: | Size: 479 B |
BIN
com.discord/res/drawable-xxxhdpi/ic_mic_muted_white_red_24dp.png
Normal file
After Width: | Height: | Size: 869 B |
BIN
com.discord/res/drawable-xxxhdpi/ic_mic_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 788 B |
BIN
com.discord/res/drawable-xxxhdpi/ic_overlay_grey_a60_24dp.png
Normal file
After Width: | Height: | Size: 815 B |
BIN
com.discord/res/drawable-xxxhdpi/ic_overlay_white_a60_24dp.png
Normal file
After Width: | Height: | Size: 665 B |
BIN
com.discord/res/drawable-xxxhdpi/ic_volume_up_white_a30_24dp.png
Normal file
After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 979 B |
BIN
com.discord/res/drawable-xxxhdpi/img_logo_square.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
com.discord/res/drawable-xxxhdpi/img_overlay_nux.png
Normal file
After Width: | Height: | Size: 185 KiB |
6
com.discord/res/drawable/bg_boxed_button_outline.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">
|
||||
<stroke android:width="1.0dip" android:color="@color/primary_100_alpha_30" />
|
||||
<corners android:radius="4.0dip" />
|
||||
</shape>
|
3
com.discord/res/drawable/bubble_state_selector.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
7
com.discord/res/drawable/button_status_green_500.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_enabled="false" android:drawable="@drawable/drawable_uikit_status_green_500_a60" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/drawable_uikit_status_green_600_button" />
|
||||
<item android:drawable="@drawable/drawable_uikit_status_green_500_button" />
|
||||
</selector>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<inset android:insetLeft="@dimen/uikit_btn_inset_horizontal_material" android:insetRight="@dimen/uikit_btn_inset_horizontal_material" android:insetTop="@dimen/uikit_btn_inset_vertical_material" android:insetBottom="@dimen/uikit_btn_inset_vertical_material"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/uikit_btn_corner_radius" />
|
||||
<solid android:color="@color/status_green_500_alpha_60" />
|
||||
<padding android:left="@dimen/uikit_btn_padding_horizontal" android:top="@dimen/uikit_btn_padding_vertical" android:right="@dimen/uikit_btn_padding_horizontal" android:bottom="@dimen/uikit_btn_padding_vertical" />
|
||||
</shape>
|
||||
</inset>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<inset android:insetLeft="@dimen/uikit_btn_inset_horizontal_material" android:insetRight="@dimen/uikit_btn_inset_horizontal_material" android:insetTop="@dimen/uikit_btn_inset_vertical_material" android:insetBottom="@dimen/uikit_btn_inset_vertical_material"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/uikit_btn_corner_radius" />
|
||||
<solid android:color="@color/status_green_500" />
|
||||
<padding android:left="@dimen/uikit_btn_padding_horizontal" android:top="@dimen/uikit_btn_padding_vertical" android:right="@dimen/uikit_btn_padding_horizontal" android:bottom="@dimen/uikit_btn_padding_vertical" />
|
||||
</shape>
|
||||
</inset>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<inset android:insetLeft="@dimen/uikit_btn_inset_horizontal_material" android:insetRight="@dimen/uikit_btn_inset_horizontal_material" android:insetTop="@dimen/uikit_btn_inset_vertical_material" android:insetBottom="@dimen/uikit_btn_inset_vertical_material"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/uikit_btn_corner_radius" />
|
||||
<solid android:color="@color/status_green_600" />
|
||||
<padding android:left="@dimen/uikit_btn_padding_horizontal" android:top="@dimen/uikit_btn_padding_vertical" android:right="@dimen/uikit_btn_padding_horizontal" android:bottom="@dimen/uikit_btn_padding_vertical" />
|
||||
</shape>
|
||||
</inset>
|
7
com.discord/res/drawable/ic_mute_white_24dp.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_mic_muted_white_red_24dp" android:state_activated="true" />
|
||||
<item android:state_checked="true" android:drawable="@drawable/ic_mic_muted_white_red_24dp" />
|
||||
<item android:drawable="@drawable/ic_mic_white_a30_24dp" />
|
||||
</selector>
|
7
com.discord/res/drawable/ic_speaker_white.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_volume_up_white_24dp" android:state_activated="true" />
|
||||
<item android:state_checked="true" android:drawable="@drawable/ic_volume_up_white_24dp" />
|
||||
<item android:drawable="@drawable/ic_volume_up_white_a30_24dp" />
|
||||
</selector>
|
16
com.discord/res/drawable/ic_trash_outline.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_activated="true">
|
||||
<shape android:shape="oval">
|
||||
<stroke android:width="4.0dip" android:color="#ffffffff" />
|
||||
<solid android:color="#4d1d1d1d" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<stroke android:width="2.0dip" android:color="#ffffffff" />
|
||||
<solid android:color="#991d1d1d" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
5
com.discord/res/drawable/trash_bg.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient android:startColor="#4d000000" android:endColor="#00000000" android:type="radial" android:centerY="95.00001%p" android:gradientRadius="95.00001%p" />
|
||||
</shape>
|
12
com.discord/res/layout-land/view_overlay_menu.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:theme="@style/AppTheme.Dark" android:orientation="horizontal" android:clipChildren="false" android:layout_width="300.0dip" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip" app:cardBackgroundColor="@color/primary_700" app:cardCornerRadius="8.0dip" app:cardElevation="8.0dip">
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="fill_parent">
|
||||
<ImageView android:id="@id/src_toggle" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_speaker_white" android:layout_weight="1.0" android:contentDescription="@string/use_speaker" style="@style/UiKit.ImageView.Clickable" />
|
||||
<ImageView android:id="@id/mute_toggle" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_mute_white_24dp" android:layout_weight="1.0" android:contentDescription="@string/mute" style="@style/UiKit.ImageView.Clickable" />
|
||||
<ImageView android:id="@id/disconnect_btn" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_call_audio_stop_white_24dp" android:tint="@color/status_red_500" android:layout_weight="1.0" android:contentDescription="@string/disconnect_from_voice" style="@style/UiKit.ImageView.Clickable" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<include layout="@layout/view_overlay_menu_content" />
|
||||
</merge>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView android:theme="@style/AppTheme.Dark" android:layout_gravity="center" android:id="@id/dialog_card" android:layout_margin="@dimen/uikit_spacing_large" app:cardElevation="8.0dip" style="@style/Overlay.Dialog.Constrained"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:gravity="center_vertical" android:background="@color/primary_700" android:focusable="true" android:clickable="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_volume_up_white_24dp" android:tint="@color/white" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/test" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/channel_select" android:layout_weight="1.0" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:id="@id/close" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_close_24dp" android:tint="@color/white" android:contentDescription="@string/close_window" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/search_input" android:background="@drawable/drawable_uikit_primary_500_bg_dark" android:padding="@dimen/uikit_spacing_medium" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:drawableLeft="@drawable/ic_search_grey_24dp" android:drawablePadding="@dimen/uikit_spacing_medium" android:drawableStart="@drawable/ic_search_grey_24dp" style="@style/UiKit.SearchInput" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/white" android:gravity="center" android:id="@id/empty_results" android:visibility="gone" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:text="@string/overlay_no_results" android:drawableBottom="?img_empty_search_defaults" android:drawablePadding="@dimen/uikit_spacing_xlarge" android:layout_weight="1.0" android:textAlignment="center" style="@style/UiKit.TextView.Large" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/results_rv" android:padding="@dimen/uikit_spacing_medium" android:clipToPadding="false" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
|
@ -4,8 +4,8 @@
|
|||
<androidx.constraintlayout.widget.Guideline android:id="@id/guideline" app:layout_constraintGuide_begin="@dimen/uikit_guideline_item_row" style="@style/UiKit.Guideline" />
|
||||
<ImageView android:id="@id/item_unread" android:src="@drawable/ic_unread_white_9dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_icon_iv" android:padding="@dimen/uikit_spacing_xsmall" android:layout_width="@dimen/avatar_size_standard" android:layout_height="@dimen/avatar_size_standard" android:layout_margin="@dimen/uikit_spacing_small" android:contentDescription="@string/text_channel" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="1:1" app:layout_constraintEnd_toStartOf="@id/guideline" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="@drawable/ic_channel_text_grey_18dp" app:placeholderImageScaleType="centerInside" app:roundAsCircle="true" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:id="@id/item_name_tv" android:layout_width="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toTopOf="@id/item_description_tv" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<TextView android:id="@id/item_description_tv" android:visibility="gone" android:layout_width="0.0dip" android:textAllCaps="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/item_name_tv" app:layout_constraintTop_toBottomOf="@id/item_name_tv" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<TextView android:gravity="end" android:id="@id/item_group_tv" android:layout_marginRight="@dimen/uikit_spacing_medium" android:textAlignment="viewEnd" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_mentions_tv" app:layout_constraintRight_toLeftOf="@id/item_mentions_tv" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="140.0dip" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" app:layout_goneMarginEnd="@dimen/uikit_spacing_medium" app:layout_goneMarginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView.Subtext.SingleLine" />
|
||||
<TextView android:id="@id/item_mentions_tv" android:visibility="gone" android:layout_marginRight="@dimen/uikit_spacing_medium" android:text="@string/sample_number_99" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Icon.Mentions.Large" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textSize="@dimen/uikit_textsize_medium" android:id="@id/item_name_tv" android:layout_width="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toTopOf="@id/item_description_tv" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/item_description_tv" android:visibility="gone" android:layout_width="0.0dip" android:textAllCaps="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/item_name_tv" app:layout_constraintTop_toBottomOf="@id/item_name_tv" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:gravity="end" android:id="@id/item_group_tv" android:layout_marginRight="@dimen/uikit_spacing_medium" android:textAlignment="viewEnd" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_mentions_tv" app:layout_constraintRight_toLeftOf="@id/item_mentions_tv" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="140.0dip" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" app:layout_goneMarginEnd="@dimen/uikit_spacing_medium" app:layout_goneMarginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView.Subtext.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/item_mentions_tv" android:visibility="gone" android:layout_marginRight="@dimen/uikit_spacing_medium" android:text="@string/sample_number_99" android:layout_marginEnd="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Icon.Mentions.Large" />
|
||||
</merge>
|
14
com.discord/res/layout-v17/view_overlay_menu_content.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView android:theme="@style/AppTheme.Dark" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cardBackgroundColor="@color/primary_630" app:cardCornerRadius="8.0dip" app:cardElevation="8.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:background="@color/primary_700" android:padding="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minWidth="240.0dip">
|
||||
<ImageView android:id="@id/overlay_network_icon" android:padding="2.0dip" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:src="@drawable/ic_voice_quality_fine" android:layout_marginStart="@dimen/uikit_spacing_medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/white" android:id="@id/overlay_guild_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginStart="@dimen/uikit_spacing_large" app:fontFamily="@font/whitney_semibold" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/overlay_channel_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/overlay_network_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/overlay_network_icon" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_channel_name" android:layout_width="0.0dip" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="@id/overlay_guild_name" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="@id/overlay_guild_name" app:layout_constraintTop_toBottomOf="@id/overlay_guild_name" style="@style/UiKit.TextView.Subtext" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_invite_link" android:text="@string/overlay_menu_get_invite" android:drawableLeft="@drawable/ic_link_dark_a60_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_link_dark_a60_24dp" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_switch_channels" android:text="@string/overlay_menu_switch_channels" android:drawableLeft="@drawable/ic_channel_text_white_a60_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_channel_text_white_a60_24dp" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_open_app" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/overlay_menu_open_discord" android:drawableLeft="@drawable/img_logo_square" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/img_logo_square" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
3
com.discord/res/layout-v21/overlay_voice_bubble.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:theme="@style/AppTheme.Dark" android:id="@id/overlay_bubble_iv" android:background="@drawable/drawable_circle_transparent" android:layout_width="@dimen/overlay_bubble_size" android:layout_height="@dimen/overlay_bubble_size" android:layout_margin="@dimen/uikit_spacing_medium" android:elevation="4.0dip" style="@style/Avatar.Large"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
5
com.discord/res/layout/custom_dialog.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<Button android:id="@id/dialog_button" android:layout_width="100.0px" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="5.0dip" android:text=" Ok " />
|
||||
</RelativeLayout>
|
10
com.discord/res/layout/overlay_bubble_menu.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:theme="@style/AppTheme.Dark" android:gravity="right" android:clipChildren="false" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<LinearLayout android:gravity="center|right" android:orientation="horizontal" android:id="@id/overlay_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/overlay_members_rv" android:clipChildren="false" android:clipToPadding="false" android:layout_width="0.0dip" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
|
||||
<View android:background="@color/white_alpha_10" android:layout_width="1.0dip" android:layout_height="24.0dip" style="@style/UiKit.Divider.Vertical" />
|
||||
<View android:id="@id/overlay_linked_anchor_view" android:layout_width="@dimen/overlay_bubble_size" android:layout_height="@dimen/overlay_bubble_size" />
|
||||
</LinearLayout>
|
||||
<com.discord.views.OverlayMenuView android:id="@id/overlay_menu" android:clipChildren="false" 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:layout_marginBottom="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Rotatable" />
|
||||
</LinearLayout>
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.views.VoiceUserView android:clipChildren="false" android:layout_width="72.0dip" android:layout_height="72.0dip" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" app:vuv_avatar_size="@dimen/overlay_bubble_size"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" />
|
3
com.discord/res/layout/overlay_voice_bubble.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:theme="@style/AppTheme.Dark" android:id="@id/overlay_bubble_iv" android:background="@drawable/drawable_circle_transparent" android:layout_width="@dimen/overlay_bubble_size" android:layout_height="@dimen/overlay_bubble_size" android:layout_margin="@dimen/uikit_spacing_medium" style="@style/Avatar.Large"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
14
com.discord/res/layout/overlay_voice_channel_selector.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView android:theme="@style/AppTheme.Dark" android:layout_gravity="center" android:id="@id/dialog_card" android:layout_margin="@dimen/uikit_spacing_large" app:cardElevation="8.0dip" style="@style/Overlay.Dialog.Constrained"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:gravity="center_vertical" android:background="@color/primary_700" android:focusable="true" android:clickable="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_volume_up_white_24dp" android:tint="@color/white" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/test" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/channel_select" android:layout_weight="1.0" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:id="@id/close" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_close_24dp" android:tint="@color/white" android:contentDescription="@string/close_window" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<androidx.appcompat.widget.AppCompatEditText android:id="@id/search_input" android:background="@drawable/drawable_uikit_primary_500_bg_dark" android:padding="@dimen/uikit_spacing_medium" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:drawableLeft="@drawable/ic_search_grey_24dp" android:drawablePadding="@dimen/uikit_spacing_medium" android:drawableStart="@drawable/ic_search_grey_24dp" style="@style/UiKit.SearchInput" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/white" android:gravity="center" android:id="@id/empty_results" android:visibility="gone" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:text="@string/overlay_no_results" android:drawableBottom="?img_empty_search_defaults" android:drawablePadding="@dimen/uikit_spacing_xlarge" android:layout_weight="1.0" style="@style/UiKit.TextView.Large" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/results_rv" android:padding="@dimen/uikit_spacing_medium" android:clipToPadding="false" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
9
com.discord/res/layout/trash_wrap.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:orientation="vertical" android:background="@drawable/trash_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<FrameLayout android:layout_gravity="bottom|center" android:id="@id/trash_wrap_target_zone" android:paddingLeft="@dimen/bubble_size_default" android:paddingRight="@dimen/bubble_size_default" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minHeight="@dimen/trash_wrap_min_dimen">
|
||||
<FrameLayout android:layout_gravity="bottom|center" android:id="@id/trash_wrap_target_container" android:background="@drawable/ic_trash_outline" android:layout_width="@dimen/bubble_size_default" android:layout_height="@dimen/bubble_size_default" android:layout_marginBottom="48.0dip" android:cropToPadding="false">
|
||||
<ImageView android:layout_gravity="center" android:id="@id/trash_wrap_icon" android:layout_width="24.0dip" android:layout_height="24.0dip" android:src="@drawable/ic_close_24dp" android:importantForAccessibility="no" />
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
</merge>
|
6
com.discord/res/layout/view_boxed_button.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:layout_width="wrap_content" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textColor="@color/primary_100" android:id="@id/button_text" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/primary_100" android:id="@id/button_boxed_text" android:background="@drawable/bg_boxed_button_outline" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_xsmall" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_xsmall" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
</merge>
|
|
@ -4,8 +4,8 @@
|
|||
<androidx.constraintlayout.widget.Guideline android:id="@id/guideline" app:layout_constraintGuide_begin="@dimen/uikit_guideline_item_row" style="@style/UiKit.Guideline" />
|
||||
<ImageView android:id="@id/item_unread" android:src="@drawable/ic_unread_white_9dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/item_icon_iv" android:padding="@dimen/uikit_spacing_xsmall" android:layout_width="@dimen/avatar_size_standard" android:layout_height="@dimen/avatar_size_standard" android:layout_margin="@dimen/uikit_spacing_small" android:contentDescription="@string/text_channel" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="1:1" app:layout_constraintEnd_toStartOf="@id/guideline" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="@drawable/ic_channel_text_grey_18dp" app:placeholderImageScaleType="centerInside" app:roundAsCircle="true" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:id="@id/item_name_tv" android:layout_width="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toTopOf="@id/item_description_tv" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<TextView android:id="@id/item_description_tv" android:visibility="gone" android:layout_width="0.0dip" android:textAllCaps="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/item_name_tv" app:layout_constraintTop_toBottomOf="@id/item_name_tv" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<TextView android:gravity="end" android:id="@id/item_group_tv" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_mentions_tv" app:layout_constraintRight_toLeftOf="@id/item_mentions_tv" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="140.0dip" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" app:layout_goneMarginEnd="@dimen/uikit_spacing_medium" app:layout_goneMarginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView.Subtext.SingleLine" />
|
||||
<TextView android:id="@id/item_mentions_tv" android:visibility="gone" android:layout_marginRight="@dimen/uikit_spacing_medium" android:text="@string/sample_number_99" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Icon.Mentions.Large" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textSize="@dimen/uikit_textsize_medium" android:id="@id/item_name_tv" android:layout_width="0.0dip" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toTopOf="@id/item_description_tv" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/guideline" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/item_description_tv" android:visibility="gone" android:layout_width="0.0dip" android:textAllCaps="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_group_tv" app:layout_constraintStart_toStartOf="@id/item_name_tv" app:layout_constraintTop_toBottomOf="@id/item_name_tv" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" style="@style/UiKit.TextView.Subtext.Semibold.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:gravity="end" android:id="@id/item_group_tv" android:layout_marginRight="@dimen/uikit_spacing_medium" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/item_mentions_tv" app:layout_constraintRight_toLeftOf="@id/item_mentions_tv" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="140.0dip" app:layout_constraintWidth_min="@dimen/uikit_spacing_xxxlarge" app:layout_goneMarginEnd="@dimen/uikit_spacing_medium" app:layout_goneMarginRight="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView.Subtext.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/item_mentions_tv" android:visibility="gone" android:layout_marginRight="@dimen/uikit_spacing_medium" android:text="@string/sample_number_99" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/Icon.Mentions.Large" />
|
||||
</merge>
|
12
com.discord/res/layout/view_overlay_menu.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge android:theme="@style/AppTheme.Dark" android:orientation="vertical" android:layout_width="240.0dip" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<include layout="@layout/view_overlay_menu_content" />
|
||||
<androidx.cardview.widget.CardView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_medium" app:cardBackgroundColor="@color/primary_700" app:cardCornerRadius="8.0dip" app:cardElevation="8.0dip">
|
||||
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<ImageView android:id="@id/src_toggle" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_speaker_white" android:layout_weight="1.0" android:contentDescription="@string/use_speaker" style="@style/UiKit.ImageView.Clickable" />
|
||||
<ImageView android:id="@id/mute_toggle" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_mute_white_24dp" android:layout_weight="1.0" android:contentDescription="@string/mute" style="@style/UiKit.ImageView.Clickable" />
|
||||
<ImageView android:id="@id/disconnect_btn" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_call_audio_stop_white_24dp" android:tint="@color/status_red_500" android:layout_weight="1.0" android:contentDescription="@string/disconnect_from_voice" style="@style/UiKit.ImageView.Clickable" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</merge>
|
14
com.discord/res/layout/view_overlay_menu_content.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView android:theme="@style/AppTheme.Dark" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cardBackgroundColor="@color/primary_630" app:cardCornerRadius="8.0dip" app:cardElevation="8.0dip"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:background="@color/primary_700" android:padding="@dimen/uikit_spacing_medium" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minWidth="240.0dip">
|
||||
<ImageView android:id="@id/overlay_network_icon" android:padding="2.0dip" android:layout_width="24.0dip" android:layout_height="24.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:src="@drawable/ic_voice_quality_fine" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/white" android:id="@id/overlay_guild_name" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" app:fontFamily="@font/whitney_semibold" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/overlay_channel_name" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toRightOf="@id/overlay_network_icon" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/overlay_network_icon" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Large.SingleLine" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_channel_name" android:layout_width="0.0dip" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="@id/overlay_guild_name" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="@id/overlay_guild_name" app:layout_constraintTop_toBottomOf="@id/overlay_guild_name" style="@style/UiKit.TextView.Subtext" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_invite_link" android:text="@string/overlay_menu_get_invite" android:drawableLeft="@drawable/ic_link_dark_a60_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_link_dark_a60_24dp" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_switch_channels" android:text="@string/overlay_menu_switch_channels" android:drawableLeft="@drawable/ic_channel_text_white_a60_24dp" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/ic_channel_text_white_a60_24dp" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/overlay_open_app" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/overlay_menu_open_discord" android:drawableLeft="@drawable/img_logo_square" android:drawablePadding="@dimen/uikit_spacing_large" android:drawableStart="@drawable/img_logo_square" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.Settings.Item.Icon" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
13
com.discord/res/layout/widget_notice_nux_overlay.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?primary_630_bg" android:layout_width="wrap_content" android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout.Rotatable"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:layout_width="fill_parent" android:src="@drawable/img_overlay_nux" android:scaleType="centerCrop" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:gravity="center" android:layout_marginTop="24.0dip" android:text="@string/nux_overlay_title" style="@style/UiKit.Dialog.Title" />
|
||||
<TextView android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/nux_overlay_description" style="@style/UiKit.Dialog.Body" />
|
||||
<LinearLayout android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<Button android:id="@id/enable_button" android:text="@string/nux_overlay_enable" style="@style/UiKit.Button" />
|
||||
<Button android:id="@id/cancel_button" android:text="@string/no_thanks" style="@style/UiKit.Button.Transparent" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -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_overlay_a60" android:id="@id/menu_guild_call_overlay_launcher" android:visible="true" android:title="@string/settings_games_toggle_overlay" 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" />
|
||||
</menu>
|
|
@ -1,10 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<plurals name="application_progress_indicator_installing_hours_timeRemaining">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">%d час</item>
|
||||
</plurals>
|
||||
<plurals name="application_progress_indicator_installing_minutes_timeRemaining">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">%d минута</item>
|
||||
</plurals>
|
||||
<plurals name="application_progress_indicator_installing_seconds_timeRemaining">
|
||||
<item quantity="other">%d оставащи секунди</item>
|
||||
<item quantity="one">приключваме</item>
|
||||
</plurals>
|
||||
<plurals name="application_progress_indicator_updating_hours_timeRemaining">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">%d час</item>
|
||||
</plurals>
|
||||
<plurals name="application_progress_indicator_updating_minutes_timeRemaining">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">%d минута</item>
|
||||
</plurals>
|
||||
<plurals name="application_progress_indicator_updating_seconds_timeRemaining">
|
||||
<item quantity="other">%d оставащи секунди</item>
|
||||
<item quantity="one">приключваме</item>
|
||||
</plurals>
|
||||
<plurals name="application_store_hide_games_in_library_hidden_gamesHidden">
|
||||
<item quantity="other">%d игри в библиотеката</item>
|
||||
<item quantity="one">%d игра в библиотеката</item>
|
||||
</plurals>
|
||||
<plurals name="application_store_recommendation_ever_played_other_count">
|
||||
<item quantity="other">%d души</item>
|
||||
<item quantity="one">1 човек</item>
|
||||
</plurals>
|
||||
<plurals name="application_store_recommendation_now_playing_other_count">
|
||||
<item quantity="other">%d души</item>
|
||||
<item quantity="one">1 човек</item>
|
||||
</plurals>
|
||||
<plurals name="application_store_recommendation_recently_played_other_count">
|
||||
<item quantity="other">%d души</item>
|
||||
<item quantity="one">1 човек</item>
|
||||
</plurals>
|
||||
<plurals name="bans_header_bans">
|
||||
<item quantity="other">%d банове</item>
|
||||
<item quantity="zero">Няма банове</item>
|
||||
<item quantity="one">1 бан</item>
|
||||
</plurals>
|
||||
<plurals name="billing_refund_purchase_date_daysSincePurchase">
|
||||
<item quantity="other">преди %d дни</item>
|
||||
<item quantity="zero">Днес</item>
|
||||
<item quantity="one">преди %d ден</item>
|
||||
</plurals>
|
||||
<plurals name="blocked_messages_count">
|
||||
<item quantity="other">%d блокирани съобщения</item>
|
||||
<item quantity="one">1 блокирано съобщение</item>
|
||||
|
@ -17,6 +62,26 @@
|
|||
<item quantity="other">%d секунди</item>
|
||||
<item quantity="one">1 секунда</item>
|
||||
</plurals>
|
||||
<plurals name="duration_days_days">
|
||||
<item quantity="other">%d дни</item>
|
||||
<item quantity="one">1 ден</item>
|
||||
</plurals>
|
||||
<plurals name="duration_hours_hours">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">1 час</item>
|
||||
</plurals>
|
||||
<plurals name="duration_mins_mins">
|
||||
<item quantity="other">%d мин.</item>
|
||||
<item quantity="one">1 мин.</item>
|
||||
</plurals>
|
||||
<plurals name="duration_minutes_minutes">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">1 минута</item>
|
||||
</plurals>
|
||||
<plurals name="duration_seconds_seconds">
|
||||
<item quantity="other">%d секунди</item>
|
||||
<item quantity="one">1 секунда</item>
|
||||
</plurals>
|
||||
<plurals name="form_help_last_seen_days">
|
||||
<item quantity="other">%d дни</item>
|
||||
<item quantity="one">1 ден</item>
|
||||
|
@ -26,6 +91,134 @@
|
|||
<item quantity="zero">0 члена</item>
|
||||
<item quantity="one">1 член</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_activity_more_playing_count_count">
|
||||
<item quantity="other">%d играча повече</item>
|
||||
<item quantity="one">играч повече</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_activity_more_recently_played_count_count">
|
||||
<item quantity="other">%d скорошни играча повече</item>
|
||||
<item quantity="one">скорошен играч повече</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_activity_recently_played_count_count">
|
||||
<item quantity="other">%d скорошни играча</item>
|
||||
<item quantity="one">скорошен играч</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_activity_solo_players_count">
|
||||
<item quantity="other">%d солови играча</item>
|
||||
<item quantity="one">солов играч</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_card_header_group_count">
|
||||
<item quantity="other">%d приятели</item>
|
||||
<item quantity="one">1 приятел</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_card_header_group_guild_count">
|
||||
<item quantity="other">%d приятели</item>
|
||||
<item quantity="one">1 приятел</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_divider_blurb_count">
|
||||
<item quantity="other">човека</item>
|
||||
<item quantity="one">човек,</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_empty_state_blurb_count">
|
||||
<item quantity="other">приятели са</item>
|
||||
<item quantity="one">приятел е</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_days_ago_time">
|
||||
<item quantity="other">дни</item>
|
||||
<item quantity="one">ден</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_hours_ago_time">
|
||||
<item quantity="other">часа</item>
|
||||
<item quantity="one">час</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_minutes_ago_time">
|
||||
<item quantity="other">минути</item>
|
||||
<item quantity="one">минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_months_ago_time">
|
||||
<item quantity="other">месеца</item>
|
||||
<item quantity="one">месец</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_weeks_ago_time">
|
||||
<item quantity="other">седмици</item>
|
||||
<item quantity="one">седмица</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_played_years_ago_time">
|
||||
<item quantity="other">години</item>
|
||||
<item quantity="one">година</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_playing_for_days_time">
|
||||
<item quantity="other">дни</item>
|
||||
<item quantity="one">ден</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_playing_for_hours_time">
|
||||
<item quantity="other">часа</item>
|
||||
<item quantity="one">час</item>
|
||||
</plurals>
|
||||
<plurals name="game_feed_user_playing_for_minutes_time">
|
||||
<item quantity="other">минути</item>
|
||||
<item quantity="one">минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_days_time">
|
||||
<item quantity="other">преди %d дни</item>
|
||||
<item quantity="one">вчера</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_hours_time">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">%d час</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_minutes_time">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">%d минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_months_time">
|
||||
<item quantity="other">преди %d месеца</item>
|
||||
<item quantity="one">миналия месец</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_weeks_time">
|
||||
<item quantity="other">преди %d седмици</item>
|
||||
<item quantity="one">миналата седмица</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_last_played_years_time">
|
||||
<item quantity="other">преди %d години</item>
|
||||
<item quantity="one">миналата година</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_time_played_hours_time">
|
||||
<item quantity="other">часа</item>
|
||||
<item quantity="one">час</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_time_played_minutes_time">
|
||||
<item quantity="other">минути</item>
|
||||
<item quantity="one">минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_time_played_seconds_time">
|
||||
<item quantity="other">секунди</item>
|
||||
<item quantity="one">секунда</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_installing_hours_timeRemaining">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">1 час</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_installing_minutes_timeRemaining">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">1 минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_installing_seconds_timeRemaining">
|
||||
<item quantity="other">%d оставащи секунди</item>
|
||||
<item quantity="one">приключваме</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_updating_updating_hours_timeRemaining">
|
||||
<item quantity="other">%d часа</item>
|
||||
<item quantity="one">1 час</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_updating_updating_minutes_timeRemaining">
|
||||
<item quantity="other">%d минути</item>
|
||||
<item quantity="one">1 минута</item>
|
||||
</plurals>
|
||||
<plurals name="game_library_updates_updating_updating_seconds_timeRemaining">
|
||||
<item quantity="other">%d оставащи секунди</item>
|
||||
<item quantity="one">приключваме</item>
|
||||
</plurals>
|
||||
<plurals name="group_dm_add_members_number">
|
||||
<item quantity="other">%d члена</item>
|
||||
<item quantity="one">1 член</item>
|
||||
|
@ -88,6 +281,14 @@
|
|||
<item quantity="other">%d членове</item>
|
||||
<item quantity="one">1 член</item>
|
||||
</plurals>
|
||||
<plurals name="invite_embed_num_open_slots_android_count">
|
||||
<item quantity="other">%d свободни слотове</item>
|
||||
<item quantity="one">1 свободен слот</item>
|
||||
</plurals>
|
||||
<plurals name="invite_embed_num_open_slots_number">
|
||||
<item quantity="other">слотове</item>
|
||||
<item quantity="one">слот</item>
|
||||
</plurals>
|
||||
<plurals name="invite_expires_days_or_uses_numUses">
|
||||
<item quantity="other">%d използвания</item>
|
||||
<item quantity="one">%d използване</item>
|
||||
|
@ -147,6 +348,10 @@
|
|||
<item quantity="other">%d дни</item>
|
||||
<item quantity="one">един ден</item>
|
||||
</plurals>
|
||||
<plurals name="num_channels_num">
|
||||
<item quantity="other">%d канали</item>
|
||||
<item quantity="one">%d канал</item>
|
||||
</plurals>
|
||||
<plurals name="num_friends_friendCount">
|
||||
<item quantity="other">%d приятели</item>
|
||||
<item quantity="zero">0 приятели</item>
|
||||
|
@ -169,6 +374,10 @@
|
|||
<item quantity="other">**%d** сървъри не са налични поради временно спиране.</item>
|
||||
<item quantity="one">**1** сървър не е наличен поради временно спиране.</item>
|
||||
</plurals>
|
||||
<plurals name="premium_code_redemption_confirmation_blurb_numMonths">
|
||||
<item quantity="other">%d месеца</item>
|
||||
<item quantity="one">1 месец</item>
|
||||
</plurals>
|
||||
<plurals name="reaction_tooltip_1_n_n">
|
||||
<item quantity="other">%d други</item>
|
||||
<item quantity="one">1 друг</item>
|
||||
|
@ -203,9 +412,43 @@
|
|||
<item quantity="zero">Няма резултати</item>
|
||||
<item quantity="one">%d резултат</item>
|
||||
</plurals>
|
||||
<plurals name="spotify_listen_along_title_host_count">
|
||||
<item quantity="other">Слушателя</item>
|
||||
<item quantity="one">Слушател</item>
|
||||
</plurals>
|
||||
<plurals name="total_results_count">
|
||||
<item quantity="other">%d резултати</item>
|
||||
<item quantity="zero">Няма резултати</item>
|
||||
<item quantity="one">%d резултат</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_end_hours">
|
||||
<item quantity="other">%d:</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_end_minutes">
|
||||
<item quantity="other">%d:</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_end_seconds">
|
||||
<item quantity="other">%d</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_start_hours">
|
||||
<item quantity="other">%d:</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_start_minutes">
|
||||
<item quantity="other">%d:</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_timestamp_start_seconds">
|
||||
<item quantity="other">%d</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_user_playing_for_days_time">
|
||||
<item quantity="other">дни</item>
|
||||
<item quantity="one">ден</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_user_playing_for_hours_time">
|
||||
<item quantity="other">часове</item>
|
||||
<item quantity="one">час</item>
|
||||
</plurals>
|
||||
<plurals name="user_activity_user_playing_for_minutes_time">
|
||||
<item quantity="other">минути</item>
|
||||
<item quantity="one">минута</item>
|
||||
</plurals>
|
||||
</resources>
|
||||
|
|