Changes of com.discord v844

This commit is contained in:
DisTok 2019-02-08 09:21:44 +01:00
parent 4ebc9533f9
commit 96f07b3254
1975 changed files with 38004 additions and 36248 deletions

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="?application_news_background" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/application_news_loading" android:padding="@dimen/uikit_spacing_large" android:visibility="gone" android:layout_width="fill_parent" android:src="?application_news_loading" android:scaleType="fitXY" android:contentDescription="@string/loading" style="@style/UiKit.ImageView" />
<LinearLayout android:gravity="center" android:id="@id/application_news_error_container" android:padding="@dimen/uikit_spacing_xlarge" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
<ImageView android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="?application_news_error" android:importantForAccessibility="no" style="@style/UiKit.ImageView" />
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?application_news_title_text_color" android:gravity="center" android:layout_width="fill_parent" android:text="@string/application_news_error_title" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?application_news_description_text_color" android:gravity="center" android:layout_width="fill_parent" android:text="@string/application_news_error_body" style="@style/UiKit.TextView" />
<Button android:id="@id/application_news_error_retry" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" android:text="@string/try_again" style="@style/UiKit.Button.Theme" />
</LinearLayout>
<LinearLayout android:id="@id/application_news_content" android:visibility="visible" style="@style/UiKit.ViewGroup.LinearLayout">
<FrameLayout android:id="@id/application_news_header_container" android:background="?application_news_top_strip_color" android:layout_width="fill_parent" android:layout_height="@dimen/application_news_header_strip_height">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/application_news_splash" android:layout_width="fill_parent" android:layout_height="fill_parent" app:actualImageScaleType="centerCrop" app:roundBottomLeft="false" app:roundBottomRight="false" app:roundedCornerRadius="4.0dip" />
</FrameLayout>
<TextView android:textColor="?application_news_title_text_color" android:id="@id/application_news_title" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:fontFamily="@font/whitney_semibold" style="@style/UiKit.TextView.Large" />
<TextView android:textColor="?application_news_description_text_color" android:id="@id/application_news_description" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
<View android:layout_marginTop="@dimen/uikit_spacing_medium" style="@style/UiKit.Divider.Thick" />
<RelativeLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup">
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?application_news_footer_text_color" android:id="@id/application_news_footer_text" android:layout_toLeftOf="@id/application_news_icon" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/UiKit.TextView.SingleLine" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/application_news_icon" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:layout_alignParentRight="true" app:placeholderImage="@color/primary_600" style="@style/Icon.Game.Small" />
</RelativeLayout>
</LinearLayout>
</FrameLayout>

View file

@ -8,7 +8,7 @@
<TextView android:textSize="9.5sp" android:textColor="@color/grey_1" android:id="@id/chat_list_item_embed_provider" android:background="?selectableItemBackground" android:visibility="gone" android:layout_width="0.0dip" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_author_icon" android:visibility="gone" android:layout_width="@dimen/embed_tiny_icon_size" android:layout_height="@dimen/embed_tiny_icon_size" app:layout_constraintBottom_toBottomOf="@id/chat_list_item_embed_author_text" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintTop_toTopOf="@id/chat_list_item_embed_author_text" app:placeholderImage="?theme_chat_divider_embed" app:roundedCornerRadius="2.0dip" />
<TextView android:textColor="?theme_chat_name" android:id="@id/chat_list_item_embed_author_text" android:visibility="gone" android:layout_width="0.0dip" android:layout_marginLeft="@dimen/embed_item_margin" android:layout_marginTop="@dimen/embed_item_margin" android:layout_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintEnd_toStartOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintLeft_toRightOf="@id/chat_list_item_embed_author_icon" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintStart_toEndOf="@id/chat_list_item_embed_author_icon" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_provider" app:layout_goneMarginLeft="0.0dip" app:layout_goneMarginStart="0.0dip" style="@style/UiKit.TextView.Semibold" />
<TextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="@color/link_500" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_title" style="@style/UiKit.TextView" />
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toRightOf="@id/uikit_chat_embed_guideline" app:layout_constraintRight_toLeftOf="@id/chat_list_item_embed_image_thumbnail" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_description, chat_list_item_embed_title, chat_list_item_embed_image_thumbnail, chat_list_item_embed_fields, chat_list_item_embed_author_text, chat_list_item_embed_provider" />