Changes of com.discord v1275

This commit is contained in:
root 2020-09-18 17:51:47 +00:00
parent a5e9ab5ce4
commit 809e28fa82
8868 changed files with 332153 additions and 327366 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout style="@style/ExpressionPickerCategoryItem"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.widgets.chat.input.sticker.StickerPackAvatar android:layout_gravity="center" android:id="@id/sticker_category_item_pack_avatar" android:layout_width="24.0dip" android:layout_height="24.0dip" android:scaleType="fitCenter" app:placeholderImage="?theme_expression_picker_item_placeholder" app:roundAsCircle="true" />
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.views.sticker.StickerView android:layout_gravity="center" android:id="@id/sticker_category_item_pack_avatar" android:layout_width="40.0dip" android:layout_height="40.0dip" />
<include layout="@layout/expression_picker_category_selection_overline_view" />
</FrameLayout>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.views.sticker.StickerView android:id="@id/sticker_full_size_sticker" android:layout_width="@dimen/sticker_length" android:layout_height="@dimen/sticker_length" />
</FrameLayout>

View file

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.rlottie.RLottieImageView android:id="@id/sticker_full_size_lottie" android:layout_width="@dimen/dsti_length" android:layout_height="@dimen/dsti_length" />
</FrameLayout>

View file

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/sticker_full_size_png" android:layout_width="@dimen/dsti_length" android:layout_height="@dimen/dsti_length" android:importantForAccessibility="no" />
</FrameLayout>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="@dimen/chat_input_sticker_size" android:layout_height="@dimen/chat_input_sticker_size"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/sticker_item_imageview" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:importantForAccessibility="no" />
<ProgressBar android:layout_gravity="center" android:id="@id/sticker_item_progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" />
</FrameLayout>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="@dimen/chat_input_sticker_size" android:layout_height="@dimen/chat_input_sticker_size"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.rlottie.RLottieImageView android:id="@id/sticker_item_imageview" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" app:actualImageScaleType="fitCenter" app:placeholderImage="?theme_expression_picker_item_placeholder" app:placeholderImageScaleType="fitCenter" />
<ProgressBar android:layout_gravity="center" android:id="@id/sticker_item_progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" />
</FrameLayout>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="@dimen/chat_input_sticker_size" android:layout_height="@dimen/chat_input_sticker_size"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.views.sticker.StickerView android:id="@id/sticker_picker_sticker" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/sticker_view_imageview" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:importantForAccessibility="no" />
<com.discord.rlottie.RLottieImageView android:id="@id/sticker_view_lottie" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" app:actualImageScaleType="fitCenter" app:placeholderImage="?theme_expression_picker_item_placeholder" app:placeholderImageScaleType="fitCenter" />
<ImageView android:id="@id/sticker_view_placeholder" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="?theme_expression_picker_item_placeholder" android:importantForAccessibility="no" />
</merge>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="@dimen/dsti_length" android:layout_height="@dimen/dsti_length" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:layout_marginStart="@dimen/uikit_guideline_chat" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.Chat.Embed.CardView"
xmlns:android="http://schemas.android.com/apk/res/android">
<ProgressBar android:layout_gravity="center" android:id="@id/chat_list_adapter_item_sticker_progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" />
<com.discord.rlottie.RLottieImageView android:id="@id/chat_list_adapter_item_sticker_lottie" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="@dimen/dsti_length" android:layout_height="@dimen/dsti_length" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:layout_marginStart="@dimen/uikit_guideline_chat" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.Chat.Embed.CardView"
xmlns:android="http://schemas.android.com/apk/res/android">
<ProgressBar android:layout_gravity="center" android:id="@id/chat_list_adapter_item_sticker_progress" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminate="true" />
<ImageView android:id="@id/chat_list_adapter_item_sticker_png" android:layout_width="fill_parent" android:layout_height="fill_parent" android:importantForAccessibility="no" />
</FrameLayout>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:layout_marginStart="@dimen/uikit_guideline_chat" android:layout_marginEnd="@dimen/chat_cell_horizontal_spacing_total" style="@style/UiKit.Chat.Embed.CardView"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.discord.views.sticker.StickerView android:id="@id/chat_list_adapter_item_sticker" android:layout_width="@dimen/sticker_length" android:layout_height="@dimen/sticker_length" />
</FrameLayout>

View file

@ -42,6 +42,7 @@
<com.discord.views.CheckedSetting android:id="@id/settings_voice_echo_cancellation_toggle" app:cs_text="@string/echo_cancellation" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_voice_noise_suppression_toggle" app:cs_text="@string/noise_suppression" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_voice_gain_control_toggle" app:cs_text="@string/automatic_gain_control" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/settings_voice_krisp_vad_toggle" app:cs_subtext="@string/user_settings_disable_advanced_voice_activity" app:cs_text="@string/advanced_voice_activity" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<View style="@style/UiKit.Settings.Divider" />
<LinearLayout android:id="@id/settings_voice_video_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:text="@string/video" style="@style/UiKit.Settings.Item.Header" />

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:background="?colorBackgroundTertiary" style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/sticker_sheet_sticker_name" android:layout_marginLeft="16.0dip" android:layout_marginTop="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.TextView" />
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textColor="?colorHeaderSecondary" android:id="@id/sticker_sheet_sticker_info" android:focusable="true" android:clickable="true" android:layout_marginLeft="16.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/sticker_sheet_stickers_container" android:layout_marginLeft="16.0dip" android:layout_marginTop="8.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="8.0dip" android:weightSum="4.0" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_1" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_2" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_3" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
<com.discord.views.sticker.StickerView android:id="@id/stickers_sheet_sticker_4" android:layout_width="0.0dip" android:layout_height="80.0dip" android:layout_weight="1.0" />
</LinearLayout>
<com.discord.views.LoadingButton android:id="@id/sticker_sheet_buy_button" android:visibility="gone" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" style="@style/UiKit.Material.Button.Green" />
<com.google.android.material.button.MaterialButton android:id="@id/sticker_sheet_view_button" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/sticker_pack_view" style="@style/UiKit.Material.Button.Secondary" />
</LinearLayout>