Changes of com.discord v1133

This commit is contained in:
root 2020-05-11 20:18:42 +02:00
parent 4702d4f43a
commit f1b997dae1
19297 changed files with 1470265 additions and 1483880 deletions

View file

@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<View android:id="@id/participant_bg_avatar" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<View android:id="@id/participant_bg_letterbox" android:background="@android:color/black" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.discord.views.VoiceUserView android:id="@id/participant_voice_user_view" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintHeight_max="80.0dip" app:layout_constraintHeight_percent="0.5" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="80.0dip" app:layout_constraintWidth_percent="0.5" />
<com.discord.views.VoiceUserView android:id="@id/participant_voice_user_view" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="1:1" app:layout_constraintHeight_max="80.0dip" app:layout_constraintHeight_percent="0.5" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintWidth_max="80.0dip" app:layout_constraintWidth_percent="0.5" />
<com.discord.views.video.AppVideoStreamRenderer android:id="@id/participant_video_stream_renderer" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:vcpv_is_overlay="false" app:vcpv_match_video_orientation="false" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/participant_stream_preview_image" android:background="@color/primary_dark_700" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="0.0dip" android:alpha="0.3" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintDimensionRatio="16:9" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" app:placeholderImage="?drawable_stream_preview_not_available" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/participant_stream_preview_text" android:background="@drawable/bg_stream_preview_overlay_caption_opaque" android:padding="@dimen/uikit_spacing_medium" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/watch_stream" android:fontFamily="@font/whitney_semibold" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />

View file

@ -14,7 +14,7 @@
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout">
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:layout_goneMarginTop="72.0dip">
<com.discord.views.video.VideoCallParticipantView android:id="@id/guild_call_pip" android:layout_width="140.0dip" android:layout_height="79.0dip" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -2,9 +2,9 @@
<FrameLayout android:id="@id/widget_home_overlapping_panels_container" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/widget_main_panel_loading" />
<com.discord.widgets.main.HomePanelsLayout android:id="@id/widget_home_overlapping_panels_panels_layout" android:background="?colorBackgroundTertiary" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.discord.widgets.main.OverlappingPanelsLayout android:id="@id/widget_home_overlapping_panels_panels_layout" android:background="?colorBackgroundTertiary" android:layout_width="fill_parent" android:layout_height="fill_parent">
<include android:id="@id/main_panel_left" layout="@layout/widget_main_panel_left" />
<include layout="@layout/widget_main_panel_center" />
<include layout="@layout/widget_main_panel_right" />
</com.discord.widgets.main.HomePanelsLayout>
</com.discord.widgets.main.OverlappingPanelsLayout>
</FrameLayout>

View file

@ -23,7 +23,7 @@
<TextView android:text="@string/guild_template_selector_option_gaming" android:drawableStart="@drawable/drawable_guild_template_gaming" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_hobby" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_header_clubs" android:drawableStart="@drawable/drawable_guild_template_hobby" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
<TextView android:text="@string/guild_template_selector_option_hobby" android:drawableStart="@drawable/drawable_guild_template_hobby" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@id/nux_guild_template_action_creator" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/Nux.GuildTemplates.Card">
<TextView android:text="@string/guild_template_selector_option_creator" android:drawableStart="@drawable/drawable_guild_template_creator" android:drawableEnd="@drawable/icon_carrot" style="@style/Nux.GuildTemplates.Card.Action" />

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:background="?ptrn_shapes" android:fitsSystemWindows="true" android:keepScreenOn="true" style="@style/UiKit.ViewGroup.Page"
<androidx.constraintlayout.widget.ConstraintLayout android:background="?ptrn_shapes" android:keepScreenOn="true" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.utilities.view.grid.FrameGridLayout android:id="@id/private_call_video_streams" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
@ -11,7 +11,9 @@
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_400" android:id="@id/private_call_status_secondary" style="@style/UiKit.TextView" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/private_call_participant_list" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="?actionBarSize" />
<com.discord.views.video.VideoCallParticipantView android:id="@id/private_call_pip_participant" android:layout_width="140.0dip" android:layout_height="79.0dip" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:layout_goneMarginTop="72.0dip">
<com.discord.views.video.VideoCallParticipantView android:id="@id/private_call_pip_participant" android:layout_width="140.0dip" android:layout_height="79.0dip" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
</androidx.cardview.widget.CardView>
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
</com.google.android.material.appbar.AppBarLayout>

View file

@ -30,7 +30,6 @@
<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_noise_cancellation_toggle" app:cs_text="@string/user_settings_noise_cancellation" app:cs_view_type="switchview" style="@style/UiKit.CheckedSetting.Themed" />
<View style="@style/UiKit.Settings.Divider" />
<TextView android:text="@string/form_label_output" style="@style/UiKit.Settings.Item.Header" />
<LinearLayout android:orientation="vertical" android:id="@id/settings_voice_output_volume_wrap" android:background="@drawable/drawable_bg_settings_item" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="wrap_content">