Changes of com.discord v876

This commit is contained in:
root 2019-04-18 07:08:29 +02:00
parent 6bb027c410
commit d6a59c08fb
3960 changed files with 59097 additions and 57023 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="20.0" android:viewportHeight="20.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ff7289da" android:pathData="M10,17.955C10.086,17.961 10.167,17.964 10.241,17.963C11.008,17.852 11.884,17.635 12.281,17.211C12.606,16.865 12.895,16.438 13.005,16C13.988,16.722 15.629,16.456 16.5,15.527C17.331,14.64 16.818,13.307 16.5,12.5C16.765,12.37 17.042,12.131 17.261,11.898C17.771,11.353 18.017,10.707 18,10C18.017,9.293 17.771,8.647 17.261,8.102C17.042,7.869 16.765,7.63 16.5,7.5C16.818,6.693 17.331,5.361 16.5,4.473C15.629,3.544 13.988,3.278 13.005,4C12.895,3.562 12.606,3.135 12.281,2.789C11.884,2.365 11.007,2.103 10.24,2.021C10.166,1.991 10.085,1.994 10,2C9.903,1.994 9.815,1.991 9.74,1.992C9.111,2.117 8.106,2.377 7.719,2.789C7.395,3.135 7.106,3.562 6.996,4C6.012,3.278 4.371,3.544 3.501,4.473C2.669,5.361 3.183,6.693 3.501,7.5C3.235,7.63 2.959,7.869 2.74,8.102C2.23,8.647 1.984,9.293 2.001,10C1.984,10.707 2.23,11.353 2.74,11.898C2.959,12.131 3.235,12.37 3.501,12.5C3.183,13.307 2.669,14.64 3.501,15.527C4.371,16.456 6.012,16.722 6.996,16C7.106,16.438 7.395,16.865 7.719,17.211C8.106,17.623 9.113,17.838 9.741,17.927C9.816,17.964 9.903,17.961 10,17.955Z" android:fillType="evenOdd" />
<path android:fillColor="#ffffffff" android:pathData="M8.843,12.817C8.839,12.82 8.836,12.824 8.832,12.828C8.829,12.831 8.825,12.835 8.822,12.838L8.8,12.859C8.612,13.047 8.309,13.047 8.122,12.859C8.108,12.845 8.096,12.831 8.084,12.816L6.152,10.884C5.949,10.681 5.949,10.351 6.152,10.148C6.355,9.944 6.684,9.944 6.888,10.148L8.523,11.781L13.186,7.117C13.374,6.931 13.677,6.931 13.864,7.117C14.051,7.304 14.051,7.607 13.864,7.795L8.843,12.817Z" android:fillType="evenOdd" />
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#552f3136" android:endColor="@color/primary_630" android:angle="270.0" />
</shape>

View file

@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@color/primary_630" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RelativeLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:id="@id/channels_list_header_wrap" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="15.0sp" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/channels_list_header" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:drawableRight="@drawable/icon_more" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="@drawable/icon_more" style="@style/UiKit.TextView.Bold" />
<RelativeLayout android:id="@id/channels_list_search" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.RelativeLayout">
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white_alpha_20" android:gravity="start|center" android:background="@drawable/drawable_overlay_search" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="12.0dip" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.TextView.Semibold" />
</RelativeLayout>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/channels_list" android:paddingBottom="@dimen/uikit_spacing_medium" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" android:layout_below="@id/channels_list_header_wrap" android:overScrollMode="never" style="@style/UiKit.ViewGroup.RecyclerView" />
<ViewStub android:id="@id/channels_list_unreads_stub" android:layout="@layout/widget_channels_list_unreads" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</RelativeLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="@color/primary_630" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.views.CustomAppBarLayout android:id="@id/app_bar_layout" style="@style/AppTheme.AppBarLayout">
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@id/collapsing_toolbar" android:background="@color/primary_630" android:layout_width="fill_parent" android:layout_height="fill_parent" app:contentScrim="@color/primary_630" app:layout_scrollFlags="exitUntilCollapsed|scroll">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:foreground="@drawable/drawable_bottom_up_primary_630_gradient">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:maxHeight="150.0dip" app:actualImageScaleType="centerCrop" />
</FrameLayout>
<androidx.appcompat.widget.Toolbar android:background="@null" style="@style/AppTheme.Toolbar">
<TextView android:textSize="15.0sp" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:shadowColor="@color/primary_630" android:shadowDy="4.0" android:shadowRadius="2.0" android:drawableRight="@drawable/icon_more" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="@drawable/icon_more" style="@style/UiKit.TextView.Bold" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.CollapsingToolbarLayout>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white_alpha_20" android:gravity="start|center" android:id="@id/channels_list_search" android:background="@drawable/drawable_overlay_search" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="12.0dip" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.TextView.Semibold"
xmlns:android="http://schemas.android.com/apk/res/android" />
</com.discord.views.CustomAppBarLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/channels_list" android:paddingBottom="@dimen/uikit_spacing_medium" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" android:layout_below="@id/channels_list_search" android:overScrollMode="never" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
<ViewStub android:id="@id/channels_list_unreads_stub" android:layout="@layout/widget_channels_list_unreads" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_anchor="@id/channels_list" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:visibility="gone" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:text="@string/sample_number_99" android:layout_marginStart="30.0dip" style="@style/Icon.Mentions"
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:minWidth="16.0dip" android:text="@string/sample_number_99" android:layout_marginStart="30.0dip" style="@style/Icon.Mentions"
xmlns:android="http://schemas.android.com/apk/res/android" />

View file

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:visibility="gone" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:text="@string/sample_number_99" android:layout_marginStart="30.0dip" android:elevation="4.0dip" style="@style/Icon.Mentions"
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:minWidth="16.0dip" android:text="@string/sample_number_99" android:layout_marginStart="30.0dip" android:elevation="4.0dip" style="@style/Icon.Mentions"
xmlns:android="http://schemas.android.com/apk/res/android" />

View file

@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:background="@color/primary_630" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RelativeLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_vertical" android:id="@id/channels_list_header_wrap" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textSize="15.0sp" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/channels_list_header" android:background="?selectableItemBackground" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:drawableRight="@drawable/icon_more" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="@drawable/icon_more" style="@style/UiKit.TextView.Bold" />
<RelativeLayout android:id="@id/channels_list_search" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.RelativeLayout">
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white_alpha_20" android:gravity="start|center" android:background="@drawable/drawable_overlay_search" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="12.0dip" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" style="@style/UiKit.TextView.Semibold" />
</RelativeLayout>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/channels_list" android:paddingBottom="@dimen/uikit_spacing_medium" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" android:layout_below="@id/channels_list_header_wrap" android:overScrollMode="never" style="@style/UiKit.ViewGroup.RecyclerView" />
<ViewStub android:id="@id/channels_list_unreads_stub" android:layout="@layout/widget_channels_list_unreads" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</RelativeLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="@color/primary_630" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.discord.views.CustomAppBarLayout android:id="@id/app_bar_layout" style="@style/AppTheme.AppBarLayout">
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@id/collapsing_toolbar" android:background="@color/primary_630" android:layout_width="fill_parent" android:layout_height="fill_parent" app:contentScrim="@color/primary_630" app:layout_scrollFlags="exitUntilCollapsed|scroll">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:foreground="@drawable/drawable_bottom_up_primary_630_gradient">
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_list_banner" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" android:maxHeight="150.0dip" app:actualImageScaleType="centerCrop" />
</FrameLayout>
<androidx.appcompat.widget.Toolbar android:background="@null" style="@style/AppTheme.Toolbar">
<TextView android:textSize="15.0sp" android:textColor="@color/white" android:gravity="center_vertical" android:id="@id/channels_list_header" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="?actionBarSize" android:singleLine="true" android:shadowColor="@color/primary_630" android:shadowDy="4.0" android:shadowRadius="2.0" android:drawableRight="@drawable/icon_more" android:drawablePadding="@dimen/uikit_spacing_small" android:drawableEnd="@drawable/icon_more" style="@style/UiKit.TextView.Bold" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.CollapsingToolbarLayout>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/white_alpha_20" android:gravity="start|center" android:id="@id/channels_list_search" android:background="@drawable/drawable_overlay_search" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="12.0dip" android:paddingRight="@dimen/uikit_spacing_large" android:paddingBottom="12.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/dm_search_placeholder" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.TextView.Semibold"
xmlns:android="http://schemas.android.com/apk/res/android" />
</com.discord.views.CustomAppBarLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/channels_list" android:paddingBottom="@dimen/uikit_spacing_medium" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" android:layout_below="@id/channels_list_search" android:overScrollMode="never" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
<ViewStub android:id="@id/channels_list_unreads_stub" android:layout="@layout/widget_channels_list_unreads" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_anchor="@id/channels_list" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:visibility="gone" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:text="@string/sample_number_99" style="@style/Icon.Mentions"
<TextView android:gravity="center" android:id="@id/main_toolbar_unread_count" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_marginLeft="30.0dip" android:layout_marginTop="30.0dip" android:minWidth="16.0dip" android:text="@string/sample_number_99" style="@style/Icon.Mentions"
xmlns:android="http://schemas.android.com/apk/res/android" />

View file

@ -73,6 +73,7 @@
<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="app_bar_layout" />
<item type="id" name="application_news_content" />
<item type="id" name="application_news_description" />
<item type="id" name="application_news_error_container" />
@ -296,8 +297,8 @@
<item type="id" name="channels_list_actions_leave_server_confirm" />
<item type="id" name="channels_list_actions_leave_server_header" />
<item type="id" name="channels_list_actions_leave_server_text" />
<item type="id" name="channels_list_banner" />
<item type="id" name="channels_list_header" />
<item type="id" name="channels_list_header_wrap" />
<item type="id" name="channels_list_item_friends_icon" />
<item type="id" name="channels_list_item_friends_mentions" />
<item type="id" name="channels_list_item_header" />
@ -408,6 +409,7 @@
<item type="id" name="client_outdated_anchor_wrap" />
<item type="id" name="client_outdated_update" />
<item type="id" name="close" />
<item type="id" name="collapsing_toolbar" />
<item type="id" name="color_picker_done" />
<item type="id" name="color_picker_gridview" />
<item type="id" name="color_picker_reset" />

File diff suppressed because it is too large Load diff

View file

@ -983,7 +983,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">05c788a4-681a-4106-acc8-81fcfadc4afb</string>
<string name="com.crashlytics.android.build_id">6e8b6ee3-657a-41a4-a9f5-0f71e65db28f</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>