Changes of com.discord v1282
This commit is contained in:
parent
be0f520a93
commit
a292c45b09
8819 changed files with 322018 additions and 320813 deletions
|
@ -7,5 +7,4 @@
|
|||
<TextView android:textColor="?colorTextLink" android:id="@id/premium_settings_google_play_manage" android:layout_width="fill_parent" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" android:text="@string/billing_manage_on_google_play" style="@style/UiKit.TextView" />
|
||||
<View android:id="@id/premium_settings_billing_divider" android:background="?colorBackgroundPrimary" android:layout_height="1.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Divider" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/active_subscriptions_bottom_button" android:layout_marginLeft="16.0dip" android:layout_marginRight="16.0dip" android:layout_marginBottom="16.0dip" style="@style/UiKit.Material.Button.Secondary" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/status_red_500" android:id="@id/active_subscription_error_text" android:visibility="gone" android:layout_margin="16.0dip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<ImageView android:id="@id/sticker_view_imageview" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/sticker_view_imageview" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
<com.discord.rlottie.RLottieImageView android:id="@id/sticker_view_lottie" android:background="?selectableItemBackgroundBorderless" android:padding="4.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" app:actualImageScaleType="fitCenter" app:placeholderImage="?theme_expression_picker_item_placeholder" app:placeholderImageScaleType="fitCenter" />
|
||||
<ImageView android:id="@id/sticker_view_placeholder" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="?theme_expression_picker_item_placeholder" />
|
||||
</merge>
|
|
@ -11,7 +11,7 @@
|
|||
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?primary_100" android:id="@id/chat_list_item_embed_title" android:background="?selectableItemBackground" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_author_text" style="@style/UiKit.TextView.Semibold" />
|
||||
<androidx.constraintlayout.widget.Barrier android:id="@id/chat_list_item_embed_barrier_header" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_title, chat_list_item_embed_author_text, chat_list_item_embed_provider" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:id="@id/chat_list_item_embed_description" android:background="?selectableItemBackground" android:layout_width="wrap_content" android:layout_marginTop="4.0dip" android:text="@string/sample_channel_message" android:lineSpacingMultiplier="1.0" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier_header" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="fill_parent" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_description" style="@style/UiKit.ViewGroup.LinearLayout" />
|
||||
<LinearLayout android:id="@id/chat_list_item_embed_fields" android:layout_width="fill_parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" 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_data" android:layout_width="0.0dip" android:layout_height="0.0dip" app:barrierDirection="bottom" app:constraint_referenced_ids="chat_list_item_embed_barrier_header, chat_list_item_embed_description, chat_list_item_embed_fields" />
|
||||
<androidx.cardview.widget.CardView android:id="@id/embed_image_container" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="4.0dip" app:cardBackgroundColor="@color/transparent" app:cardCornerRadius="8.0dip" app:cardElevation="0.0dip" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/chat_list_item_embed_barrier_data" style="@style/UiKit.ViewGroup">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_list_item_embed_image" app:overlayImage="@drawable/drawable_overlay_image_square" app:placeholderImage="?colorBackgroundModifierAccent" app:roundedCornerRadius="2.0dip" style="@style/UiKit.ImageView" />
|
||||
|
|
|
@ -4,14 +4,12 @@
|
|||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar android:background="?colorBackgroundSecondary" app:navigationIcon="?ic_action_bar_back" app:title="@string/premium_choose_plan_title" style="@style/AppTheme.Toolbar" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/settings_gifting_flipper" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:gravity="center" android:background="?colorBackgroundSecondary" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_plans_button" android:text="@string/premium" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
|
||||
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_and_premium_guild_plans_button" android:text="@string/premium_and_premium_guild_subscription" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
|
||||
<com.google.android.material.button.MaterialButton android:textColor="?colorTextMuted" android:id="@id/premium_guild_plans_button" android:text="@string/premium_guild_subscription" android:layout_weight="1.0" style="@style/UiKit.Material.Button.Transparent" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/choose_plan_recycler" android:background="?colorBackgroundPrimary" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<com.discord.app.AppViewFlipper android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/choose_plan_recycler" android:background="?colorBackgroundPrimary" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<LinearLayout android:gravity="center" android:id="@id/choose_plan_empty_container" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<ImageView android:layout_height="90.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/img_clyde_empty" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:layout_marginBottom="8.0dip" android:text="@string/premium_no_plans_header" android:textAlignment="center" style="@style/UiKit.TextView.H1" />
|
||||
<com.discord.utilities.view.text.LinkifiedTextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?primary_300" android:id="@id/choose_plan_empty_description" android:lineSpacingMultiplier="1.0" android:textAlignment="center" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</com.discord.app.AppViewFlipper>
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:id="@id/select_subscription_header_text" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:text="@string/billing_switch_plan_current_plan" android:singleLine="true" style="@style/UiKit.TextView.Bold" />
|
||||
</FrameLayout>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:id="@id/select_subscription_header_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:singleLine="true" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorHeaderSecondary" android:id="@id/select_subscription_header_text" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip" android:singleLine="true" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
|
||||
</FrameLayout>
|
Loading…
Add table
Add a link
Reference in a new issue