Changes of com.discord v1202

This commit is contained in:
root 2020-07-21 23:05:34 +00:00
parent 20579acee0
commit f5b3431acc
386 changed files with 10658 additions and 9037 deletions

View file

@ -5,6 +5,6 @@
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/voice_bottom_sheet_header_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:includeFontPadding="false" android:fontFamily="@font/whitney_semibold" app:layout_constraintBottom_toTopOf="@id/voice_bottom_sheet_header_subtitle" app:layout_constraintLeft_toRightOf="@id/voice_bottom_sheet_header_icon" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderSecondary" android:id="@id/voice_bottom_sheet_header_subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:includeFontPadding="false" android:fontFamily="@font/whitney_medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="@id/voice_bottom_sheet_header_title" app:layout_constraintTop_toBottomOf="@id/voice_bottom_sheet_header_title" />
<ImageView android:id="@id/voice_bottom_sheet_header_invite" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginRight="16.0dip" android:src="@drawable/ic_guild_invite_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/invite_friends" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/voice_bottom_sheet_header_noise_cancellation" app:layout_constraintTop_toTopOf="parent" />
<ImageView android:id="@id/voice_bottom_sheet_header_noise_cancellation" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginRight="16.0dip" android:src="@drawable/ic_noise_cancellation_active_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/invite_friends" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/voice_bottom_sheet_header_settings" app:layout_constraintTop_toTopOf="parent" />
<ImageView android:id="@id/voice_bottom_sheet_header_noise_cancellation" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_marginRight="16.0dip" android:src="@drawable/ic_noise_cancellation_active_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/user_settings_noise_cancellation" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toLeftOf="@id/voice_bottom_sheet_header_settings" app:layout_constraintTop_toTopOf="parent" />
<ImageView android:id="@id/voice_bottom_sheet_header_settings" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="32.0dip" android:layout_height="32.0dip" android:src="@drawable/ic_settings_24dp" android:tint="?colorInteractiveNormal" android:contentDescription="@string/voice_settings" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:background="?colorBackgroundPrimary" 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:gravity="center_horizontal" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_width="280.0dip" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" android:src="@drawable/img_krisp_onboarding" android:contentDescription="@string/mobile_noise_cancellation_popout_title" style="@style/UiKit.ImageView" />
<com.discord.views.ScreenTitleView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_xlarge" app:stv_subtitle="@string/mobile_noise_cancellation_popout_description" app:stv_title="@string/mobile_noise_cancellation_popout_title" />
<TextView android:textColor="@color/link" android:gravity="center_vertical" android:id="@id/noise_cancellation_learn_more" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/learn_more_link" android:drawablePadding="16.0dip" android:drawableStart="?ic_krisp_logo" />
<com.google.android.material.button.MaterialButton android:id="@id/noise_cancellation_enable_button" android:layout_height="fill_parent" android:text="@string/enable_noise_cancellation" style="@style/UiKit.AuthButton.Material" />
</LinearLayout>
</LinearLayout>