Changes of com.discord v844
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="208.0dip" android:width="288.0dip" android:viewportWidth="288.0" android:viewportHeight="208.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ff36393f" android:pathData="M0,4C0,1.791 1.791,0 4,0H284C286.209,0 288,1.791 288,4V116C288,118.209 286.209,120 284,120H4C1.791,120 0,118.209 0,116V4Z" />
|
||||
<path android:fillColor="#ff36393f" android:pathData="M0,138C0,136.895 0.895,136 2,136H118C119.105,136 120,136.895 120,138V142C120,143.105 119.105,144 118,144H2C0.895,144 0,143.105 0,142V138Z" />
|
||||
<path android:fillColor="#ff36393f" android:pathData="M0,154C0,152.895 0.895,152 2,152H286C287.105,152 288,152.895 288,154V158C288,159.105 287.105,160 286,160H2C0.895,160 0,159.105 0,158V154Z" />
|
||||
<path android:fillColor="#ff36393f" android:pathData="M0,170C0,168.895 0.895,168 2,168H158C159.105,168 160,168.895 160,170V174C160,175.105 159.105,176 158,176H2C0.895,176 0,175.105 0,174V170Z" />
|
||||
<path android:fillColor="#ff36393f" android:pathData="M0,194C0,192.895 0.895,192 2,192H118C119.105,192 120,192.895 120,194V198C120,199.105 119.105,200 118,200H2C0.895,200 0,199.105 0,198V194Z" />
|
||||
</vector>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="208.0dip" android:width="288.0dip" android:viewportWidth="288.0" android:viewportHeight="208.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffe3e5e8" android:pathData="M0,4C0,1.791 1.791,0 4,0H284C286.209,0 288,1.791 288,4V116C288,118.209 286.209,120 284,120H4C1.791,120 0,118.209 0,116V4Z" />
|
||||
<path android:fillColor="#ffe3e5e8" android:pathData="M0,138C0,136.895 0.895,136 2,136H118C119.105,136 120,136.895 120,138V142C120,143.105 119.105,144 118,144H2C0.895,144 0,143.105 0,142V138Z" />
|
||||
<path android:fillColor="#ffe3e5e8" android:pathData="M0,154C0,152.895 0.895,152 2,152H286C287.105,152 288,152.895 288,154V158C288,159.105 287.105,160 286,160H2C0.895,160 0,159.105 0,158V154Z" />
|
||||
<path android:fillColor="#ffe3e5e8" android:pathData="M0,170C0,168.895 0.895,168 2,168H158C159.105,168 160,168.895 160,170V174C160,175.105 159.105,176 158,176H2C0.895,176 0,175.105 0,174V170Z" />
|
||||
<path android:fillColor="#ffe3e5e8" android:pathData="M0,194C0,192.895 0.895,192 2,192H118C119.105,192 120,192.895 120,194V198C120,199.105 119.105,200 118,200H2C0.895,200 0,199.105 0,198V194Z" />
|
||||
</vector>
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 608 B |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 838 B |
After Width: | Height: | Size: 831 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 6.5 KiB |
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/primary_700" />
|
||||
<corners android:radius="3.0dip" />
|
||||
</shape>
|
6
com.discord/res/drawable/drawable_bg_news_header.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/primary_800" />
|
||||
<corners android:topLeftRadius="4.0dip" android:topRightRadius="4.0dip" />
|
||||
</shape>
|
23
com.discord/res/layout-v17/view_application_news.xml
Normal 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" android:layout_toStartOf="@id/application_news_icon" android:layout_alignParentStart="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" android:layout_marginStart="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" app:placeholderImage="@color/primary_600" style="@style/Icon.Game.Small" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
|
@ -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" android:layout_marginStart="@dimen/embed_item_margin" android:layout_toEndOf="@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" />
|
||||
|
|
|
@ -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" android:layout_marginStart="@dimen/embed_item_margin" android:layout_toEndOf="@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" />
|
||||
|
|
23
com.discord/res/layout/view_application_news.xml
Normal 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>
|
|
@ -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" />
|
||||
|
|
|
@ -83,6 +83,13 @@
|
|||
<flag name="SHIFT" value="0x00000001" />
|
||||
<flag name="SYM" value="0x00000004" />
|
||||
</attr>
|
||||
<attr name="application_news_background" format="reference" />
|
||||
<attr name="application_news_description_text_color" format="reference|color" />
|
||||
<attr name="application_news_error" format="reference" />
|
||||
<attr name="application_news_footer_text_color" format="reference|color" />
|
||||
<attr name="application_news_loading" format="reference" />
|
||||
<attr name="application_news_title_text_color" format="reference|color" />
|
||||
<attr name="application_news_top_strip_color" format="reference|color" />
|
||||
<attr name="arrowHeadLength" format="dimension" />
|
||||
<attr name="arrowShaftLength" format="dimension" />
|
||||
<attr name="as_title" format="reference|string" />
|
||||
|
|
|
@ -77,6 +77,9 @@
|
|||
<dimen name="abc_text_size_title_material_toolbar">20.0dip</dimen>
|
||||
<dimen name="add_content_viewpager_bottom_margin">76.0dip</dimen>
|
||||
<dimen name="app_elevation">4.0dip</dimen>
|
||||
<dimen name="application_news_header_default_height">64.0dip</dimen>
|
||||
<dimen name="application_news_header_max_height">200.0dip</dimen>
|
||||
<dimen name="application_news_header_strip_height">4.0dip</dimen>
|
||||
<dimen name="attachment_preview_dimen">48.0dip</dimen>
|
||||
<dimen name="avatar_overlap">14.0dip</dimen>
|
||||
<dimen name="avatar_size_chat">38.0dip</dimen>
|
||||
|
|
|
@ -60,6 +60,16 @@
|
|||
<item type="id" name="alert_verify_email_change_email" />
|
||||
<item type="id" name="alert_verify_email_change_password" />
|
||||
<item type="id" name="alert_verify_email_resend" />
|
||||
<item type="id" name="application_news_content" />
|
||||
<item type="id" name="application_news_description" />
|
||||
<item type="id" name="application_news_error_container" />
|
||||
<item type="id" name="application_news_error_retry" />
|
||||
<item type="id" name="application_news_footer_text" />
|
||||
<item type="id" name="application_news_header_container" />
|
||||
<item type="id" name="application_news_icon" />
|
||||
<item type="id" name="application_news_loading" />
|
||||
<item type="id" name="application_news_splash" />
|
||||
<item type="id" name="application_news_title" />
|
||||
<item type="id" name="attachment_clear_btn" />
|
||||
<item type="id" name="attachment_preview_container" />
|
||||
<item type="id" name="attachment_preview_list" />
|
||||
|
|
|
@ -659,7 +659,7 @@
|
|||
<string name="billing_history">Billing History</string>
|
||||
<string name="billing_is_gift_purchase">Is this a gift?</string>
|
||||
<string name="billing_legal_mumbo_jumbo">Legal Mumbo Jumbo</string>
|
||||
<string name="billing_legal_mumbo_jumbo_label">I agree to the [Discord Store Terms of Service](%1$s)</string>
|
||||
<string name="billing_legal_mumbo_jumbo_label">I agree to the [Discord Terms of Service](%1$s)</string>
|
||||
<string name="billing_no_payment_method">No payment method saved</string>
|
||||
<string name="billing_no_payment_method_description">Checkout faster by saving a payment method</string>
|
||||
<string name="billing_pay_for_it_with">Pay for it With</string>
|
||||
|
@ -673,8 +673,8 @@
|
|||
<string name="billing_payment_filter_tab_store">Store Transactions</string>
|
||||
<string name="billing_payment_history">Transaction History</string>
|
||||
<string name="billing_payment_premium">Your Subscription</string>
|
||||
<string name="billing_payment_premium_legalese_monthly">By purchasing a %1$s subscription, you agree to our [Store Terms of Service](%2$s). %1$s is an auto-recurring subscription. You authorize Discord to immediately charge the payment method provided at %3$s and to continue to do so automatically monthly until you cancel. You may cancel anytime.</string>
|
||||
<string name="billing_payment_premium_legalese_yearly">By purchasing a %1$s subscription, you agree to our [Store Terms of Service](%2$s). %1$s is an auto-recurring subscription. You authorize Discord to immediately charge the payment method provided at %3$s and to continue to do so automatically yearly until you cancel. You may cancel anytime.</string>
|
||||
<string name="billing_payment_premium_legalese_monthly">By purchasing a %1$s subscription, you agree to our [Terms of Service](%2$s). %1$s is an auto-recurring subscription. You authorize Discord to immediately charge the payment method provided at %3$s and to continue to do so automatically monthly until you cancel. You may cancel anytime.</string>
|
||||
<string name="billing_payment_premium_legalese_yearly">By purchasing a %1$s subscription, you agree to our [Terms of Service](%2$s). %1$s is an auto-recurring subscription. You authorize Discord to immediately charge the payment method provided at %3$s and to continue to do so automatically yearly until you cancel. You may cancel anytime.</string>
|
||||
<string name="billing_payment_source_invalid">This payment source is invalid.</string>
|
||||
<string name="billing_payment_sources">Payment Methods</string>
|
||||
<string name="billing_payment_table_header_amount">AMOUNT</string>
|
||||
|
@ -898,7 +898,7 @@ HERE ARE MORE THINGS {progress}
|
|||
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
||||
<string name="cloud_sync_modal_or">OR</string>
|
||||
<string name="collapse_category">Collapse Category</string>
|
||||
<string name="com.crashlytics.android.build_id">265e2fdb-c0a2-457b-b56d-c791e400356f</string>
|
||||
<string name="com.crashlytics.android.build_id">f51ebf65-2f2b-41d0-8c48-68b2dd4b6322</string>
|
||||
<string name="coming_soon">Coming Soon</string>
|
||||
<string name="coming_soon_notifications">Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings.</string>
|
||||
<string name="coming_soon_title">COMING SOON!</string>
|
||||
|
@ -3023,7 +3023,7 @@ To keep your sub, go to Settings and update your payment."</string>
|
|||
<string name="premium_not_claimed_body">Hey friend! If you want to buy Nitro, you’ll need to claim your account first so you don’t lose your stuff.</string>
|
||||
<string name="premium_not_verified">Verify your email first</string>
|
||||
<string name="premium_not_verified_body">Hey friend! If you want to buy Nitro, you’ll need to verify your email first. Check your email or request a new one.</string>
|
||||
<string name="premium_past_due">Your subscription is past due. Please add or update your payment info.</string>
|
||||
<string name="premium_past_due">Your subscription is past due. Please add or update your payment info or your subscription will end on **%1$s**.</string>
|
||||
<string name="premium_payment_applications_os_warning">Nitro games are only supported on Windows.</string>
|
||||
<string name="premium_payment_confirmation_blurb_iap">"You can now claim %1$s using your Nitro subscription. Let's get this bread!!!"</string>
|
||||
<string name="premium_payment_confirmation_blurb_regular">You now have gained the power of enhanced chat perks. Stop reading this and get to chattin!!!</string>
|
||||
|
@ -3566,8 +3566,8 @@ To keep your sub, go to Settings and update your payment."</string>
|
|||
<string name="stop_ringing">Stop Ringing</string>
|
||||
<string name="storage_permission_denied_msg">Storage permissions required</string>
|
||||
<string name="store">Store</string>
|
||||
<string name="store_payment_legalese_monthly">"Hey! By purchasing %1$s, you agree to our [Store Terms of Service](%2$s). %1$s is a recurring subscription, which means that we'll charge you today and continue to charge you monthly until you cancel your subscription. You may cancel anytime on your User Settings screen."</string>
|
||||
<string name="store_payment_legalese_yearly">"Hey! By purchasing %1$s, you agree to our [Store Terms of Service](%2$s). %1$s is a recurring subscription, which means that we'll charge you today and continue to charge you yearly until you cancel your subscription. You may cancel anytime on your User Settings screen."</string>
|
||||
<string name="store_payment_legalese_monthly">"Hey! By purchasing %1$s, you agree to our [Terms of Service](%2$s). %1$s is a recurring subscription, which means that we'll charge you today and continue to charge you monthly until you cancel your subscription. You may cancel anytime on your User Settings screen."</string>
|
||||
<string name="store_payment_legalese_yearly">"Hey! By purchasing %1$s, you agree to our [Terms of Service](%2$s). %1$s is a recurring subscription, which means that we'll charge you today and continue to charge you yearly until you cancel your subscription. You may cancel anytime on your User Settings screen."</string>
|
||||
<string name="streamer_mode">Streamer Mode</string>
|
||||
<string name="streamer_mode_enabled">Streamer Mode Enabled</string>
|
||||
<string name="streamer_playing">playing %1$s</string>
|
||||
|
|
|
@ -181,6 +181,13 @@
|
|||
<item name="theme_name">dark</item>
|
||||
</style>
|
||||
<style name="AppTheme.Dark.Base" parent="@style/AppTheme.NoActionBar">
|
||||
<item name="application_news_background">@drawable/drawable_bg_card_primary_700</item>
|
||||
<item name="application_news_description_text_color">@color/primary_300</item>
|
||||
<item name="application_news_error">@drawable/img_poop_dark</item>
|
||||
<item name="application_news_footer_text_color">@color/primary_400</item>
|
||||
<item name="application_news_loading">@drawable/drawable_application_news_loading_dark</item>
|
||||
<item name="application_news_title_text_color">@color/primary_100</item>
|
||||
<item name="application_news_top_strip_color">@color/primary_500</item>
|
||||
<item name="auth_bg">@color/auth_dark</item>
|
||||
<item name="auth_bg_button">@color/brand_500</item>
|
||||
<item name="auth_bg_card">@drawable/drawable_uikit_primary_600_bg_dark</item>
|
||||
|
@ -531,6 +538,13 @@
|
|||
<item name="theme_name">light</item>
|
||||
</style>
|
||||
<style name="AppTheme.Light.Base" parent="@style/AppTheme.NoActionBar">
|
||||
<item name="application_news_background">@drawable/drawable_bg_card_white</item>
|
||||
<item name="application_news_description_text_color">@color/primary_500</item>
|
||||
<item name="application_news_error">@drawable/img_poop_light</item>
|
||||
<item name="application_news_footer_text_color">@color/primary_600</item>
|
||||
<item name="application_news_loading">@drawable/drawable_application_news_loading_light</item>
|
||||
<item name="application_news_title_text_color">@color/primary_700</item>
|
||||
<item name="application_news_top_strip_color">@color/primary_300</item>
|
||||
<item name="auth_bg">@color/auth_light</item>
|
||||
<item name="auth_bg_button">@color/primary_500</item>
|
||||
<item name="auth_bg_card">@drawable/drawable_uikit_primary_100_bg_dark</item>
|
||||
|
@ -2336,7 +2350,11 @@
|
|||
<style name="Icon.Game" parent="">
|
||||
<item name="android:layout_width">50.0dip</item>
|
||||
<item name="android:layout_height">50.0dip</item>
|
||||
<item name="roundedCornerRadius">3.0dip</item>
|
||||
<item name="roundedCornerRadius">4.0dip</item>
|
||||
</style>
|
||||
<style name="Icon.Game.Small" parent="@style/Icon.Game">
|
||||
<item name="android:layout_width">24.0dip</item>
|
||||
<item name="android:layout_height">24.0dip</item>
|
||||
</style>
|
||||
<style name="Icon.Mentions" parent="@style/UiKit.TextView.Bold">
|
||||
<item name="android:textSize">10.0sp</item>
|
||||
|
@ -3248,6 +3266,9 @@
|
|||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">0.25dip</item>
|
||||
</style>
|
||||
<style name="UiKit.Divider.Thick" parent="@style/UiKit.Divider">
|
||||
<item name="android:layout_height">1.0dip</item>
|
||||
</style>
|
||||
<style name="UiKit.Divider.Vertical" parent="">
|
||||
<item name="android:background">?colorPrimaryDivider</item>
|
||||
<item name="android:layout_width">0.5dip</item>
|
||||
|
@ -3731,6 +3752,11 @@
|
|||
<style name="UiKit.TextView.Semibold" parent="@style/UiKit.TextView">
|
||||
<item name="fontFamily">@font/whitney_semibold</item>
|
||||
</style>
|
||||
<style name="UiKit.TextView.SingleLine" parent="@style/UiKit.TextView">
|
||||
<item name="android:ellipsize">end</item>
|
||||
<item name="android:maxLines">1</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
</style>
|
||||
<style name="UiKit.TextView.Subtext" parent="@style/UiKit.TextView">
|
||||
<item name="android:textSize">@dimen/uikit_textsize_small</item>
|
||||
<item name="android:textColor">?primary_400</item>
|
||||
|
|