Changes of com.discord v995

This commit is contained in:
root 2019-12-03 22:42:56 +01:00
parent da36a08a9c
commit b741cfe855
5451 changed files with 77843 additions and 75495 deletions

View file

@ -7,7 +7,7 @@
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channel_members_list_item_presence" android:layout_width="8.0dip" android:layout_height="8.0dip" app:placeholderImage="@drawable/ic_status_idle_16dp" />
</FrameLayout>
<TextView android:id="@id/channel_members_list_item_name" android:singleLine="true" android:shadowColor="@color/primary_light_100" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_bot" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toRightOf="@id/channel_members_list_item_avatar" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_bot" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_avatar" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="packed" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/channel_members_list_item_bot" android:background="@drawable/drawable_button_purple_neutral" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:text="@string/bot_tag" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_small" android:layout_marginEnd="@dimen/uikit_spacing_small" app:layout_constraintBaseline_toBaselineOf="@id/channel_members_list_item_name" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintHorizontal_weight="1.0" app:layout_constraintRight_toRightOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_name" style="@style/UiKit.TextView" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:id="@id/channel_members_list_item_bot" android:background="@drawable/drawable_tag_brand" android:paddingLeft="3.0dip" android:paddingTop="0.5dip" android:paddingRight="3.0dip" android:paddingBottom="0.5dip" android:text="@string/bot_tag" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_small" android:layout_marginEnd="@dimen/uikit_spacing_small" app:layout_constraintBaseline_toBaselineOf="@id/channel_members_list_item_name" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintHorizontal_weight="1.0" app:layout_constraintRight_toRightOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_name" style="@style/UiKit.TextView" />
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:textColor="?primary_400" android:id="@id/channel_members_list_item_game" android:singleLine="true" android:layout_marginStart="@dimen/uikit_spacing_large" app:layout_constrainedWidth="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_rich_presence_iv" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintLeft_toRightOf="@id/channel_members_list_item_avatar" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_rich_presence_iv" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_avatar" app:layout_constraintTop_toBottomOf="@id/channel_members_list_item_name" style="@style/UiKit.TextView.Subtext" />
<ImageView android:id="@id/channel_members_list_item_rich_presence_iv" android:src="@drawable/ic_rich_presence_grey_16dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="@id/channel_members_list_item_game" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintLeft_toRightOf="@id/channel_members_list_item_game" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_group_owner_indicator" app:layout_constraintStart_toEndOf="@id/channel_members_list_item_game" app:layout_constraintTop_toTopOf="@id/channel_members_list_item_game" style="@style/UiKit.ImageView" />
<ImageView android:id="@id/channel_members_list_item_group_owner_indicator" android:src="@drawable/ic_crown_24dp" android:contentDescription="@string/user_activity_header_playing" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/channel_members_list_item_boosted_indicator" app:layout_constraintRight_toLeftOf="@id/channel_members_list_item_boosted_indicator" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.ImageView" />

View file

@ -6,7 +6,10 @@
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_item_private_presence" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="1.5dip" app:placeholderImage="@color/status_grey_500" app:roundAsCircle="true" />
</FrameLayout>
<LinearLayout android:layout_centerVertical="true" android:layout_alignWithParentIfMissing="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_toStartOf="@id/channels_list_item_private_mentions" android:layout_toEndOf="@id/channels_list_item_private_avatar" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:id="@id/channels_list_item_private_name" android:singleLine="true" style="@style/UiKit.TextView.Semibold" />
<LinearLayout android:orientation="horizontal" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="@dimen/uikit_textsize_large" android:id="@id/channels_list_item_private_name" android:singleLine="true" style="@style/UiKit.TextView.Semibold" />
<TextView android:textSize="9.5sp" android:textColor="@color/white" android:layout_gravity="center" android:id="@id/channels_list_item_private_tag" android:background="@drawable/drawable_tag_brand" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/system_dm_tag_system" android:singleLine="true" android:layout_marginStart="6.0dip" style="@style/UiKit.TextView" />
</LinearLayout>
<com.discord.utilities.view.text.SimpleDraweeSpanTextView android:id="@id/channels_list_item_private_desc" android:singleLine="true" style="@style/UiKit.TextView.Subtext" />
</LinearLayout>
<TextView android:id="@id/channels_list_item_private_mentions" android:background="@drawable/drawable_overlay_mentions_primary_630" android:visibility="gone" android:minWidth="@dimen/uikit_spacing_large" android:layout_centerVertical="true" android:layout_marginEnd="@dimen/uikit_spacing_large" android:layout_alignParentEnd="true" style="@style/Icon.Mentions.Large" />

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.app.AppTextView android:id="@id/view_dialog_confirmation_header" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" style="@style/UiKit.TextView.H1.Bold" />
<View style="@style/UiKit.Divider" />
<com.discord.app.AppTextView android:id="@id/view_dialog_confirmation_text" android:text="@string/sample_confirmation" style="@style/UiKit.Settings.Item.SubText" />
<View style="@style/UiKit.Settings.Divider" />
<View style="@style/UiKit.Divider" />
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
<com.discord.views.LoadingButton android:id="@id/view_dialog_confirmation_confirm" android:background="@drawable/drawable_button_purple" android:padding="@dimen/uikit_spacing_medium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/uikit_spacing_medium" app:lb_progress_color="@color/white" app:lb_text="@string/okay" app:lb_text_color="@drawable/button_text_color_primary_100" />
</LinearLayout>
</LinearLayout>