Changes of com.discord v1305

This commit is contained in:
root 2020-11-02 23:44:01 +00:00
parent 02cd2a5eee
commit 326ae51a92
3111 changed files with 53836 additions and 42451 deletions

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView style="@style/UiKit.ViewGroup.ScrollView">
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/premium_sticker_upsell_close" android:padding="16.0dip" android:src="@drawable/ic_close_white_18dp" android:layout_alignParentTop="true" android:contentDescription="@string/close_window" android:layout_alignParentEnd="true" style="@style/UiKit.ImageView.Clickable" />
<LinearLayout android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginTop="32.0dip" android:layout_marginBottom="12.0dip" android:src="@drawable/img_premium_stickers_upsell" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_sticker_upsell_description" android:layout_marginBottom="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<androidx.cardview.widget.CardView android:background="@color/transparent" android:layout_marginBottom="16.0dip" app:cardCornerRadius="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="?colorTextNormal" android:id="@id/premium_sticker_upsell_perk_free_pack" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_sticker_icon_20dp" app:drawableTint="#fffed648" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:id="@id/premium_sticker_upsell_perk_boost_discount" android:layout_width="fill_parent" android:text="@string/sticker_premium_tier_1_upsell_perk_premium_guild_subscription_discount" app:drawableStartCompat="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:layout_width="fill_parent" android:text="@string/premium_upsell_feature_stream" app:drawableStartCompat="@drawable/ic_nitro_perk_stream_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:layout_width="fill_parent" android:text="@string/sticker_premium_tier_1_upsell_perk_premium_subscription" app:drawableStartCompat="@drawable/ic_emoji_blue_24dp" style="@style/UiKit.TextView.Perk.Small" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.button.MaterialButton android:id="@id/premium_sticker_upsell_upgrade" android:layout_marginBottom="16.0dip" android:text="@string/premium_upsell_upgrade" android:backgroundTint="@color/status_green" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/premium_sticker_upsell_continue" android:text="@string/_continue" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</ScrollView>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView style="@style/UiKit.ViewGroup.ScrollView">
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/premium_sticker_upsell_close" android:padding="16.0dip" android:src="@drawable/ic_close_white_18dp" android:layout_alignParentTop="true" android:contentDescription="@string/close_window" android:layout_alignParentEnd="true" style="@style/UiKit.ImageView.Clickable" />
<LinearLayout android:layout_marginLeft="24.0dip" android:layout_marginRight="24.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_gravity="center" android:layout_width="fill_parent" android:layout_marginTop="32.0dip" android:layout_marginBottom="12.0dip" android:src="@drawable/img_premium_stickers_upsell" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_large" android:gravity="center" android:id="@id/premium_sticker_upsell_description" android:layout_marginBottom="16.0dip" android:lineSpacingMultiplier="1.0" style="@style/UiKit.TextView" />
<androidx.cardview.widget.CardView android:background="@color/transparent" android:layout_marginBottom="16.0dip" app:cardCornerRadius="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<LinearLayout android:background="?colorBackgroundSecondary" android:paddingLeft="16.0dip" android:paddingTop="8.0dip" android:paddingRight="16.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="?colorTextNormal" android:id="@id/premium_sticker_upsell_perk_sticker_discount" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_sticker_icon_20dp" app:drawableTint="#ffaec7ff" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:id="@id/premium_sticker_upsell_perk_free_pack" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_sticker_icon_20dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:id="@id/premium_sticker_upsell_perk_boost_discount" android:layout_width="fill_parent" app:drawableStartCompat="@drawable/ic_boosted_badge_24dp" style="@style/UiKit.TextView.Perk.Small" />
<View android:background="?colorBackgroundPrimary" style="@style/UiKit.Divider.Thick" />
<TextView android:layout_width="fill_parent" android:text="@string/sticker_premium_tier_2_upsell_perk_premium_subscription" app:drawableStartCompat="@drawable/ic_emoji_blue_24dp" app:drawableTint="#fffed648" style="@style/UiKit.TextView.Perk.Small" />
</LinearLayout>
</androidx.cardview.widget.CardView>
<LinearLayout android:layout_marginBottom="32.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.google.android.material.button.MaterialButton android:id="@id/premium_sticker_upsell_upgrade" android:layout_marginBottom="16.0dip" android:text="@string/premium_upsell_upgrade" android:backgroundTint="@color/status_green" style="@style/UiKit.Dialog.Button" />
<TextView android:id="@id/premium_sticker_upsell_continue" android:text="@string/_continue" style="@style/UiKit.Dialog.TextView.Dismiss" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</ScrollView>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:id="@id/notice_header_container" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:id="@id/notice_header" android:padding="16.0dip" android:layout_width="fill_parent" style="@style/UiKit.TextView.H1.Bold" />
<View style="@style/UiKit.Divider" />
</LinearLayout>
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
<LinearLayout android:gravity="center" android:id="@id/notice_body_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:layout_gravity="start" android:id="@id/notice_body_text" android:padding="16.0dip" android:layout_width="fill_parent" android:textAlignment="textStart" style="@style/UiKit.TextView" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<View style="@style/UiKit.Settings.Divider" />
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
<com.google.android.material.button.MaterialButton android:id="@id/notice_cancel" android:text="@string/cancel" style="?buttonBarNegativeButtonStyle" />
<com.google.android.material.button.MaterialButton android:id="@id/notice_ok" android:text="@string/okay" android:layout_marginStart="8.0dip" style="?buttonBarPositiveButtonStyle" />
</LinearLayout>
</LinearLayout>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout android:paddingLeft="12.0dip" android:paddingTop="16.0dip" android:paddingRight="12.0dip" android:paddingBottom="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<com.discord.views.LoadingButton android:id="@id/sticker_store_buy_button_premium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" android:layout_marginEnd="8.0dip" app:lb_background_color="@color/status_green" app:lb_icon="@drawable/ic_nitro_badge_white" app:lb_icon_gravity="textStart" app:lb_progress_color="@color/white" />
<com.discord.views.LoadingButton android:id="@id/sticker_store_buy_button" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" app:lb_background_color="?colorButtonSecondary" app:lb_progress_color="@color/white" />
<LinearLayout android:paddingLeft="12.0dip" android:paddingTop="16.0dip" android:paddingRight="12.0dip" android:paddingBottom="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<com.discord.views.LoadingButton android:id="@id/sticker_store_buy_button_premium" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" app:lb_background_color="@color/status_green" app:lb_icon="@drawable/ic_nitro_badge_white" app:lb_icon_gravity="textStart" app:lb_progress_color="@color/white" />
<com.discord.views.LoadingButton android:id="@id/sticker_store_buy_button" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" app:lb_background_color="?colorButtonSecondary" app:lb_progress_color="@color/white" />
</LinearLayout>
<View android:id="@id/sticker_store_buy_button_divider" style="@style/UiKit.Divider" />
</LinearLayout>

View file

@ -5,9 +5,14 @@
<androidx.core.widget.NestedScrollView android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:paddingBottom="8.0dip" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
<LinearLayout android:orientation="vertical" android:id="@id/auth_login_container" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="24.0dip" app:stv_subtitle="@string/login_body" app:stv_title="@string/login_title" />
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_email_wrap" android:layout_marginBottom="12.0dip" android:hint="@string/form_label_email" app:endIconMode="clear_text" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:nextFocusForward="@id/auth_login_password" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Email" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout android:layout_width="fill_parent" android:layout_marginBottom="12.0dip" android:baselineAligned="false" android:animateLayoutChanges="true" style="@style/UiKit.User.Phone.Add.Number">
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_country_code_wrap" android:visibility="gone" android:layout_width="wrap_content" android:hint="@string/country_code" android:layout_marginEnd="8.0dip" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:layout_width="100.0dip" android:text="+1" style="@style/UiKit.TextInputLayout.EditText.SingleLine.CountryCode" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_login_wrap" android:layout_width="0.0dip" android:hint="@string/form_label_email" android:layout_weight="1.0" app:endIconMode="clear_text" style="@style/UiKit.TextInputLayout">
<com.google.android.material.textfield.TextInputEditText android:nextFocusForward="@id/auth_login_password" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Email" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout android:id="@id/auth_login_password_wrap" android:layout_marginBottom="4.0dip" android:hint="@string/form_label_password" style="@style/UiKit.TextInputLayout.Password">
<com.google.android.material.textfield.TextInputEditText android:imeOptions="actionDone" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Password" />
</com.google.android.material.textfield.TextInputLayout>

View file

@ -1,22 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/call_container" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.Page"
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/call_container" android:background="@color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.recyclerview.widget.RecyclerView android:id="@id/call_video_recycler" android:background="@color/black" 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" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/call_video_recycler" 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" />
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/call_participants_hidden" android:background="@color/black" 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">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:src="@drawable/video_call_illustration" android:importantForAccessibility="no" />
<TextView android:textColor="@color/white" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:text="@string/mobile_stream_participants_hidden" android:textAlignment="center" style="@style/UiKit.TextAppearance.Semibold" />
<com.google.android.material.button.MaterialButton android:id="@id/call_participants_show_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/stream_show_all_participants" android:backgroundTint="@color/primary_500" app:cornerRadius="100.0dip" style="@style/UiKit.Material.Button" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/call_streaming_active" android:background="@color/black" 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">
<ImageView android:layout_width="130.0dip" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:src="@drawable/screen_share_illustration" android:importantForAccessibility="no" />
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="@color/white" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:text="@string/mobile_stream_active_header" android:textAlignment="center" style="@style/UiKit.TextAppearance.Bold" />
<TextView android:textColor="@color/primary_dark_300" android:id="@id/call_streaming_active_body" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:text="@string/mobile_stream_active_body" android:textAlignment="center" style="@style/UiKit.TextAppearance" />
<com.google.android.material.button.MaterialButton android:id="@id/call_stop_streaming_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/mobile_stream_stop_sharing" android:backgroundTint="@color/primary_500" app:cornerRadius="100.0dip" style="@style/UiKit.Material.Button" />
</LinearLayout>
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<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.constraintlayout.widget.ConstraintLayout android:id="@id/call_streaming_active" android:background="@color/black" android:padding="16.0dip" 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_toBottomOf="@id/action_bar_toolbar_layout">
<include layout="@layout/widget_call_fullscreen_audio_share_warning" />
<androidx.constraintlayout.widget.Barrier android:id="@id/call_audio_share_warning_barrier" android:layout_width="fill_parent" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="call_streaming_audio_share_warning" />
<ImageView android:id="@id/call_streaming_active_illustration" android:layout_width="130.0dip" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:src="@drawable/screen_share_illustration" android:importantForAccessibility="no" app:layout_constraintBottom_toTopOf="@id/call_streaming_active_header" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_audio_share_warning_barrier" app:layout_constraintVertical_chainStyle="packed" />
<TextView android:textSize="@dimen/uikit_textsize_xlarge" android:textColor="@color/white" android:id="@id/call_streaming_active_header" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:text="@string/mobile_stream_active_header" android:textAlignment="center" app:layout_constraintBottom_toTopOf="@id/call_streaming_active_body" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_illustration" style="@style/UiKit.TextAppearance.Bold" />
<TextView android:textColor="@color/primary_dark_300" android:id="@id/call_streaming_active_body" android:paddingLeft="64.0dip" android:paddingRight="64.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="16.0dip" android:text="@string/mobile_stream_active_body" android:textAlignment="center" app:layout_constraintBottom_toTopOf="@id/call_stop_streaming_button" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_header" style="@style/UiKit.TextAppearance" />
<com.google.android.material.button.MaterialButton android:id="@id/call_stop_streaming_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/mobile_stream_stop_sharing" android:backgroundTint="@color/primary_500" app:cornerRadius="100.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/call_streaming_active_body" style="@style/UiKit.Material.Button" />
</androidx.constraintlayout.widget.ConstraintLayout>
<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.calls.VideoCallParticipantView android:id="@id/call_pip" android:visibility="gone" 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>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView android:id="@id/call_streaming_audio_share_warning" android:layout_width="0.0dip" android:layout_height="wrap_content" android:elevation="0.0dip" app:cardBackgroundColor="@color/status_yellow_500_alpha_10" app:cardCornerRadius="4.0dip" app:layout_constraintBottom_toTopOf="@id/call_audio_share_warning_barrier" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.0" app:strokeColor="@color/status_yellow" app:strokeWidth="1.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_medium" android:textColor="@color/white" android:padding="8.0dip" android:text="@string/mobile_stream_active_soundshare_warning_android" android:drawablePadding="16.0dip" app:drawableStartCompat="@drawable/ic_warning_circle_24dp" style="@style/UiKit.TextView" />
</com.google.android.material.card.MaterialCardView>

View file

@ -35,9 +35,10 @@
</LinearLayout>
<LinearLayout android:id="@id/channel_permissions_voice_container" style="@style/UiKit.ViewGroup.LinearLayout">
<View style="@style/UiKit.Settings.Divider" />
<TextView android:text="@string/voice_settings" style="@style/UiKit.Settings.Item.Header" />
<TextView android:text="@string/voice_permissions" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_connect" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/connect" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_speak" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/speak" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_video" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/video" app:tcs_subtext="@string/stream_channel_description" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_mute_members" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/mute_members" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_deafen_members" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/deafen_members" />
<com.discord.views.TernaryCheckBox android:id="@id/channel_permission_voice_move_members" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/move_members" app:tcs_subtext="@string/move_members_description" />

View file

@ -7,6 +7,7 @@
<TextView android:id="@id/dialog_chat_actions_manage_reactions" android:text="@string/reactions" app:drawableStartCompat="?ic_reactions" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_remove_all_reactions" android:text="@string/remove_all_reactions" app:drawableStartCompat="?ic_delete_sweep" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_edit" android:text="@string/edit" app:drawableStartCompat="?ic_edit" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_publish" android:visibility="gone" android:text="@string/news_channel_publish" app:drawableStartCompat="@drawable/ic_channel_announcements" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_quote" android:text="@string/quote" app:drawableStartCompat="?ic_quote" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_reply" android:text="@string/message_action_reply" app:drawableStartCompat="@drawable/ic_reply_24dp" app:drawableTint="?colorInteractiveNormal" style="@style/UiKit.Settings.Item.Icon" />
<TextView android:id="@id/dialog_chat_actions_pin" android:text="@string/pin" app:drawableStartCompat="@drawable/ic_pin_24dp" app:drawableTint="?colorInteractiveNormal" style="@style/UiKit.Settings.Item.Icon" />

View file

@ -54,6 +54,7 @@
<TextView android:text="@string/voice_permissions" style="@style/UiKit.Settings.Item.Header" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_connect" app:cs_text="@string/connect" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_speak" app:cs_text="@string/speak" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_video" app:cs_text="@string/video" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_mute_members" app:cs_text="@string/mute_members" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_deafen_members" app:cs_text="@string/deafen_members" style="@style/UiKit.CheckedSetting.Themed" />
<com.discord.views.CheckedSetting android:id="@id/role_settings_voice_move_members" app:cs_subtext="@string/move_members_description" app:cs_text="@string/move_members" style="@style/UiKit.CheckedSetting.Themed" />

View file

@ -2,7 +2,7 @@
<androidx.core.widget.NestedScrollView android:background="?colorBackgroundPrimary" style="@style/UiKit.ViewGroup.NestedScrollView"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:padding="16.0dip" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_width="160.0dip" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/screen_share_illustration" android:importantForAccessibility="no" />
<ImageView android:layout_width="300.0dip" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/screen_share_nfx_illustration" android:importantForAccessibility="no" />
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:layout_marginBottom="8.0dip" android:text="@string/screen_share_nfx_title" style="@style/UiKit.TextView" />
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderSecondary" android:layout_marginBottom="8.0dip" android:text="@string/screen_share_nfx_body" android:textAlignment="center" style="@style/UiKit.TextView" />
<com.google.android.material.button.MaterialButton android:id="@id/screen_share_nfx_cta" android:layout_marginBottom="8.0dip" android:text="@string/screen_share_nfx_try" style="@style/UiKit.Material.Button" />

View file

@ -20,8 +20,8 @@
</com.discord.app.AppViewFlipper>
<View android:layout_gravity="bottom" android:id="@id/sticker_picker_bottom_bar_divider" android:background="?colorBackgroundTertiary" android:layout_marginBottom="@dimen/expression_picker_category_bar_height" android:layout_above="@id/sticker_picker_bottom_bar" style="@style/UiKit.Divider" />
<androidx.constraintlayout.widget.ConstraintLayout android:layout_gravity="bottom" android:id="@id/sticker_picker_bottom_bar" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="@dimen/expression_picker_category_bar_height" android:paddingStart="8.0dip" android:paddingEnd="8.0dip" android:elevation="8.0dip" style="@style/UiKit.ViewGroup.ConstraintLayout">
<androidx.recyclerview.widget.RecyclerView android:id="@id/sticker_picker_category_recycler" android:layout_width="0.0dip" android:layout_height="fill_parent" android:contentDescription="@string/categories" app:layout_constraintEnd_toStartOf="@id/sticker_picker_category_barrier" app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.Barrier android:id="@id/sticker_picker_category_barrier" android:layout_width="0.0dip" android:layout_height="fill_parent" app:barrierDirection="start" />
<androidx.recyclerview.widget.RecyclerView android:id="@id/sticker_picker_category_recycler" android:layout_width="0.0dip" android:layout_height="fill_parent" android:contentDescription="@string/categories" app:layout_constraintEnd_toStartOf="@id/sticker_picker_store_icon" app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.Barrier android:id="@id/sticker_picker_category_barrier" android:layout_width="0.0dip" android:layout_height="fill_parent" app:barrierDirection="start" app:layout_constraintEnd_toStartOf="@id/sticker_picker_store_icon" />
<FrameLayout android:id="@id/sticker_picker_store_icon" app:layout_constraintEnd_toEndOf="parent" style="@style/ExpressionPickerCategoryItem">
<ImageView android:layout_gravity="center" android:layout_width="32.0dip" android:layout_height="32.0dip" android:src="@drawable/ic_sticker_pack_store_32dp" android:scaleType="fitCenter" android:contentDescription="@string/sticker_purchase_modal_header" />
<include android:id="@id/sticker_picker_store_hightlight" layout="@layout/expression_picker_category_selection_overline_view" />