Changes of com.discord v1197
This commit is contained in:
parent
2e0ee2fb8b
commit
f400ce7398
9559 changed files with 375689 additions and 349457 deletions
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorTextNormal" android:background="@drawable/rounded_rectangle_8dp_radius" android:paddingLeft="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_small" android:paddingRight="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_small" android:layout_marginLeft="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_small" android:layout_marginRight="@dimen/uikit_spacing_small" android:layout_marginBottom="@dimen/uikit_spacing_small" android:backgroundTint="?colorBackgroundTertiary" style="@style/UiKit.TextView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
6
com.discord/res/layout/gif_suggested_term_view.xml
Normal file
6
com.discord/res/layout/gif_suggested_term_view.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center" android:id="@id/gif_search_suggested_terms_container" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:id="@id/gif_search_suggested_terms_icon_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_gif_search_results" android:drawableTop="?theme_expression_tray_search_icon_empty" android:drawablePadding="@dimen/uikit_spacing_large" android:textAlignment="center" style="@style/UiKit.TextView" />
|
||||
<com.google.android.flexbox.FlexboxLayout android:id="@id/gif_search_suggested_terms_flex_box" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" app:alignItems="center" app:flexWrap="wrap" app:justifyContent="center" app:layout_minHeight="24.0dip" app:layout_minWidth="48.0dip" />
|
||||
</LinearLayout>
|
5
com.discord/res/layout/sparkle_view.xml
Normal file
5
com.discord/res/layout/sparkle_view.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/sparkle_view_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="fitCenter" android:elevation="16.0dip" />
|
||||
</merge>
|
|
@ -1,10 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<TextView android:id="@id/user_profile_admin_edit_member" android:visibility="gone" android:text="@string/manage_user" android:drawableStart="?ic_settings" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_server_mute" android:visibility="gone" android:text="@string/server_voice_mute" android:drawableStart="?ic_mic_grey" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_server_deafen" android:visibility="gone" android:text="@string/server_deafen" android:drawableStart="?ic_headset_grey" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_server_move" android:visibility="gone" android:text="@string/move_to" android:drawableStart="@drawable/ic_transfer_red_24dp" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_server_disconnect" android:visibility="gone" android:text="@string/disconnect" android:drawableStart="@drawable/ic_call_disconnect_24dp" app:drawableTint="@color/status_red" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_kick" android:visibility="gone" android:text="@string/kick" android:drawableStart="@drawable/ic_remove_friend_red_24dp" style="@style/UiKit.ListItem.Icon" />
|
||||
<TextView android:id="@id/user_profile_admin_ban" android:visibility="gone" android:text="@string/ban" android:drawableStart="@drawable/ic_ban_red_24dp" style="@style/UiKit.ListItem.Icon" />
|
||||
</LinearLayout>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout android:orientation="horizontal" android:layout_height="24.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
<RelativeLayout android:orientation="horizontal" android:background="?bg_pressed_highlight" android:layout_height="24.0dip" android:layout_marginBottom="8.0dip" style="@style/UiKit.ViewGroup.RelativeLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/channels_item_voice_user_avatar" android:layout_centerVertical="true" android:layout_marginStart="36.0dip" android:layout_marginEnd="8.0dip" style="@style/Avatar.Small" />
|
||||
<TextView android:textColor="?colorChannelDefault" android:id="@id/channels_item_voice_user_name" android:singleLine="true" android:layout_centerVertical="true" android:layout_marginEnd="4.0dip" android:layout_toStartOf="@id/indicators_container" android:layout_toEndOf="@id/channels_item_voice_user_avatar" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:id="@id/emoji_picker_container" android:background="?colorBackgroundSecondary" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout android:id="@id/emoji_app_bar" android:background="@color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/emoji_toolbar" android:layout_height="wrap_content" android:minHeight="0.0dip" style="@style/AppTheme.Toolbar.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/emoji_toolbar" android:layout_height="wrap_content" android:minHeight="0.0dip" app:contentInsetStart="0.0dip" style="@style/AppTheme.Toolbar.Transparent">
|
||||
<RelativeLayout android:id="@id/emoji_search_bar" android:background="@drawable/drawable_bg_corners_4dp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="12.0dip" android:layout_marginRight="12.0dip" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:animateLayoutChanges="true" android:backgroundTint="?colorBackgroundTertiary">
|
||||
<TextView android:gravity="center_vertical" android:id="@id/emoji_inline_search_button" android:background="?bg_pressed_highlight" android:layout_height="wrap_content" android:hint="@string/search_for_emoji" style="@style/ExpressionSearchInput" />
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@id/emoji_search_input" android:background="@null" android:visibility="gone" android:layout_height="wrap_content" android:hint="@string/search_for_emoji" style="@style/ExpressionSearchInput" />
|
||||
|
@ -12,7 +12,7 @@
|
|||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/chat_input_emoji_picker_view_flipper" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/chat_input_emoji_picker_recycler" android:clipToPadding="false" android:layout_marginLeft="12.0dip" android:layout_marginRight="12.0dip" android:layout_marginBottom="@dimen/emoji_picker_category_bar_height" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_emoji_search_results" android:drawableTop="?theme_emoji_search_icon_empty" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_emoji_search_results" android:drawableTop="?theme_expression_tray_search_icon_empty" android:drawablePadding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
</com.discord.app.AppViewFlipper>
|
||||
<View android:layout_gravity="bottom" android:id="@id/emoji_picker_bottom_bar_divider" android:background="?colorBackgroundTertiary" android:layout_marginBottom="@dimen/emoji_picker_category_bar_height" android:layout_above="@id/emoji_picker_bottom_bar" style="@style/UiKit.Divider" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout android:layout_gravity="bottom" android:id="@id/emoji_picker_bottom_bar" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="@dimen/emoji_picker_category_bar_height" android:paddingStart="@dimen/uikit_spacing_medium" android:paddingEnd="@dimen/uikit_spacing_medium" android:elevation="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.ConstraintLayout">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<com.google.android.material.appbar.AppBarLayout android:id="@id/expression_tray_toolbar_layout" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<com.google.android.material.appbar.CollapsingToolbarLayout android:id="@id/expression_tray_toolbar" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_scrollFlags="enterAlways|scroll">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<LinearLayout android:id="@id/expression_tray_segmented_control" android:background="@drawable/drawable_bg_corners_8dp" android:layout_marginLeft="12.0dip" android:layout_marginTop="12.0dip" android:layout_marginRight="12.0dip" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<LinearLayout android:id="@id/expression_tray_segmented_control" android:background="@drawable/drawable_bg_corners_4dp" android:layout_marginLeft="12.0dip" android:layout_marginTop="12.0dip" android:layout_marginRight="12.0dip" android:backgroundTint="?colorBackgroundSecondaryAlt" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.cardview.widget.CardView android:id="@id/expression_tray_emoji_card" style="@style/ExpressionTrayTabCard">
|
||||
<TextView android:id="@id/expression_tray_emoji_button" android:text="@string/emoji" style="@style/ExpressionTrayTab" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:gravity="center" android:background="?colorBackgroundPrimary" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<com.airbnb.lottie.LottieAnimationView android:id="@id/nearby_friends_searching_lottie" android:layout_width="wrap_content" android:layout_height="wrap_content" app:lottie_autoPlay="false" app:lottie_fileName="animations/anim_friends_add_nearby_looking.json" app:lottie_loop="true" />
|
||||
<com.discord.rlottie.RLottieImageView android:id="@id/nearby_friends_searching_lottie" android:layout_width="wrap_content" android:layout_height="wrap_content" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?colorHeaderPrimary" android:gravity="center" android:id="@id/nearby_friends_searching_title" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" android:text="@string/add_friend_nearby_title" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_textsize_medium" android:textColor="?colorHeaderSecondary" android:gravity="center" android:id="@id/nearby_friends_searching_body" android:layout_marginTop="@dimen/uikit_spacing_medium" android:text="@string/add_friend_nearby_body" style="@style/UiKit.TextView" />
|
||||
<TextView android:textSize="@dimen/uikit_settings_item_header_size" android:layout_gravity="center" android:id="@id/nearby_friends_learn_more" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="@dimen/uikit_spacing_small" android:text="@string/learn_more" app:fontFamily="@font/whitney_semibold" style="@style/UiKit.TextView.Link" />
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.discord.utilities.views.ContentResizingCoordinatorLayout android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
<com.discord.utilities.views.ContentResizingCoordinatorLayout android:id="@id/gif_category_container" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?colorBackgroundSecondary" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<com.google.android.material.appbar.CollapsingToolbarLayout android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_scrollFlags="enterAlways|scroll">
|
||||
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<ImageView android:id="@id/gif_category_back_button" android:background="?bg_pressed_highlight" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="@drawable/ic_chevron_left_24dp" android:paddingStart="12.0dip" android:paddingEnd="12.0dip" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:tint="?colorInteractiveActive" style="@style/UiKit.ImageView" />
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:id="@id/gif_category_title" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constraintStart_toEndOf="@id/gif_category_back_button" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance.Semibold" android:textSize="@dimen/uikit_textsize_large" android:gravity="center_vertical" android:id="@id/gif_category_title" android:background="?bg_pressed_highlight" android:padding="12.0dip" android:layout_width="fill_parent" android:minHeight="56.0dip" android:drawableStart="@drawable/ic_chevron_left_24dp" app:drawableTint="?colorInteractiveNormal" style="@style/UiKit.TextView" />
|
||||
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/gif_category_gif_recycler" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:visibility="gone" android:layout_height="fill_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:id="@id/gif_picker_container" android:background="?colorBackgroundSecondary" android:paddingStart="12.0dip" android:paddingEnd="12.0dip" style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/gif_picker_category_recycler" android:paddingTop="12.0dip" android:visibility="gone" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/gif_picker_category_recycler" android:paddingTop="@dimen/uikit_spacing_small" android:visibility="gone" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
<com.discord.widgets.chat.input.gifpicker.GifLoadingView android:id="@id/gif_picker_loading_view" android:paddingTop="12.0dip" android:layout_height="fill_parent" app:glv_is_staggered="false" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</FrameLayout>
|
17
com.discord/res/layout/widget_gif_picker_search.xml
Normal file
17
com.discord/res/layout/widget_gif_picker_search.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?colorBackgroundSecondary" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<com.google.android.material.appbar.AppBarLayout android:id="@id/gif_search_app_bar" android:background="@color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar android:id="@id/gif_search_toolbar" android:layout_height="wrap_content" android:minHeight="0.0dip" app:contentInsetStart="0.0dip" style="@style/AppTheme.Toolbar.Transparent">
|
||||
<RelativeLayout android:id="@id/gif_search_bar" android:background="@drawable/drawable_bg_corners_4dp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginRight="12.0dip" android:layout_marginBottom="@dimen/uikit_spacing_large" android:backgroundTint="?colorBackgroundTertiary">
|
||||
<com.google.android.material.textfield.TextInputEditText android:id="@id/gif_search_input" android:background="@null" android:visibility="visible" android:layout_height="wrap_content" android:hint="@string/search_tenor" style="@style/ExpressionSearchInput" />
|
||||
<ImageView android:id="@id/gif_search_clear" android:layout_width="16.0dip" android:layout_height="16.0dip" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_medium" android:src="@drawable/ic_search_16dp" android:layout_centerVertical="true" android:contentDescription="@string/reset" android:layout_alignParentEnd="true" app:tint="?colorTextMuted" />
|
||||
</RelativeLayout>
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<LinearLayout android:gravity="center" android:id="@id/gif_search_suggested_terms_container" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:visibility="gone" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textAppearance="@style/UiKit.TextAppearance" android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderSecondary" android:id="@id/gif_search_suggested_terms_icon_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_gif_search_results" android:drawableTop="?theme_expression_tray_search_icon_empty" android:drawablePadding="@dimen/uikit_spacing_large" android:textAlignment="center" style="@style/UiKit.TextView" />
|
||||
<com.google.android.flexbox.FlexboxLayout android:id="@id/gif_search_suggested_terms_flex_box" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/uikit_spacing_large" app:alignContent="center" app:alignItems="center" app:flexWrap="wrap" app:justifyContent="center" app:layout_minHeight="24.0dip" app:layout_minWidth="48.0dip" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/gif_search_gif_recycler" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_height="fill_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</LinearLayout>
|
3
com.discord/res/layout/widget_gif_picker_sheet.xml
Normal file
3
com.discord/res/layout/widget_gif_picker_sheet.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.fragment.app.FragmentContainerView android:name="com.discord.widgets.chat.input.gifpicker.WidgetGifPickerSearch" android:id="@id/gif_search_sheet_content" android:tag="WidgetGifPickerSearchTag" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
12
com.discord/res/layout/widget_guild_context_menu.xml
Normal file
12
com.discord/res/layout/widget_guild_context_menu.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView android:id="@id/guild_context_menu_card" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardBackgroundColor="?colorBackgroundFloating" app:cardCornerRadius="4.0dip" app:cardElevation="4.0dip" app:cardUseCompatPadding="true"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="240.0dip">
|
||||
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?colorHeaderPrimary" android:id="@id/guild_context_menu_header" android:paddingTop="14.0dip" android:paddingBottom="14.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFamily="@font/whitney_bold" android:paddingStart="@dimen/uikit_spacing_large" android:paddingEnd="@dimen/uikit_spacing_large" />
|
||||
<View android:id="@id/guild_context_menu_header_divider" android:background="?colorBackgroundModifierAccent" android:layout_width="fill_parent" android:layout_height="1.0dip" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/guild_context_menu_mark_as_read" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/mark_as_read" android:drawableStart="@drawable/ic_mail_24dp" style="@style/ContextMenuTextOption" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/guild_context_menu_notifications" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/notifications" android:drawableStart="@drawable/ic_guild_notifications_24dp" style="@style/ContextMenuTextOption" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/status_red_500" android:id="@id/guild_context_menu_leave_guild" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/leave_server" android:drawableStart="@drawable/ic_exit_24dp" app:drawableTint="@color/status_red_500" style="@style/ContextMenuTextOption" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:id="@id/guild_context_menu_more_options" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/more_options" android:drawableStart="@drawable/ic_settings_24dp" style="@style/ContextMenuTextOption" />
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
|
@ -11,7 +11,7 @@
|
|||
<LinearLayout android:gravity="center" android:layout_width="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:textSize="18.0sp" android:id="@id/invite_title" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.TextView" />
|
||||
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<androidx.cardview.widget.CardView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" app:cardBackgroundColor="@color/transparent" app:cardCornerRadius="23.0dip">
|
||||
<androidx.cardview.widget.CardView android:layout_gravity="center_vertical" android:id="@id/invite_avatar_small_card" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/uikit_spacing_medium" app:cardBackgroundColor="@color/transparent" app:cardCornerRadius="23.0dip">
|
||||
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/invite_avatar_small" style="@style/Avatar.Large" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<TextView android:textSize="26.0sp" android:textColor="?primary_100" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/invite_message" android:drawablePadding="@dimen/uikit_spacing_small" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<TextView android:text="@string/form_label_last_seen" style="@style/UiKit.Settings.Item.Header" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/prune_users_history_1_radio" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/prune_users_history_2_radio" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/prune_users_history_3_radio" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<RelativeLayout android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginTop="@dimen/uikit_spacing_medium" android:layout_marginRight="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
<ProgressBar android:id="@id/prune_users_loading_progressbar" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="fill_parent" android:indeterminate="true" android:layout_alignTop="@id/prune_users_estimate_text" android:layout_alignBottom="@id/prune_users_estimate_text" android:layout_centerInParent="true" />
|
||||
<com.discord.app.AppTextView android:textSize="@dimen/uikit_textsize_small" android:id="@id/prune_users_estimate_text" android:layout_centerInParent="true" style="@style/UiKit.TextView" />
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ScrollView android:layout_height="fill_parent" android:layout_above="@id/user_phone_add_anchor" style="@style/UiKit.ViewGroup.ScrollView">
|
||||
<LinearLayout style="@style/UiKit.Copy.Container">
|
||||
<com.airbnb.lottie.LottieAnimationView style="@style/UiKit.Anim.Verify.By.Phone.Frozen" />
|
||||
<com.airbnb.lottie.LottieAnimationView android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" style="@style/UiKit.Anim.Verify.By.Phone.Frozen" />
|
||||
<LinearLayout style="@style/UiKit.Copy">
|
||||
<TextView android:text="@string/enter_phone_title" style="@style/UiKit.TextView.H1" />
|
||||
<TextView android:gravity="center" android:layout_marginTop="16.0dip" android:text="@string/enter_phone_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:gravity="center" android:id="@id/user_phone_add_description" android:layout_marginTop="16.0dip" android:text="@string/enter_phone_description" style="@style/UiKit.TextView" />
|
||||
<TextView android:gravity="center" android:id="@id/user_phone_add_description_note" android:layout_marginTop="16.0dip" style="@style/UiKit.TextView" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
@ -19,11 +20,10 @@
|
|||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Phone" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<com.google.android.material.button.MaterialButton android:enabled="false" android:id="@id/user_phone_add_next" android:text="@string/next" style="@style/UiKit.Material.Button" />
|
||||
<com.google.android.material.button.MaterialButton android:enabled="false" android:id="@id/user_phone_add_next" android:text="@string/next" style="@style/UiKit.User.Phone.Add.Confirm" />
|
||||
</LinearLayout>
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<ImageView android:id="@id/close" android:padding="@dimen/uikit_spacing_large" android:foreground="?selectableItemBackgroundBorderless" android:src="?ic_close_24dp" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:contentDescription="@string/close" style="@style/UiKit.ImageView" />
|
||||
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
|
||||
</RelativeLayout>
|
|
@ -19,6 +19,7 @@
|
|||
<RadioGroup android:id="@id/set_custom_status_expiration" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.discord.views.CheckedSetting android:id="@id/set_custom_status_expiration_never" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/custom_status_dont_clear" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/set_custom_status_expiration_30_minutes" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/custom_status_clear_in_minutes" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/set_custom_status_expiration_1_hour" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/custom_status_clear_in_hours" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/set_custom_status_expiration_4_hours" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/custom_status_clear_in_hours" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
<com.discord.views.CheckedSetting android:id="@id/set_custom_status_expiration_tomorrow" android:layout_width="fill_parent" android:layout_height="wrap_content" app:cs_text="@string/custom_status_clear_tomorrow" app:cs_view_type="radio" style="@style/UiKit.CheckedSetting.Themed" />
|
||||
</RadioGroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue