Changes of com.discord v1201
This commit is contained in:
parent
8df276e428
commit
20579acee0
15354 changed files with 1144536 additions and 1081569 deletions
5
com.discord/res/layout/cameraview_gl_view.xml
Normal file
5
com.discord/res/layout/cameraview_gl_view.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:gravity="center" android:layout_gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<android.opengl.GLSurfaceView android:id="@id/gl_surface_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
</FrameLayout>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:id="@id/focusMarkerContainer" android:layout_width="55.0dip" android:layout_height="55.0dip" android:alpha="0.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:id="@id/focusMarkerFill" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/cameraview_focus_marker_fill" />
|
||||
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/cameraview_focus_marker_outline" />
|
||||
</FrameLayout>
|
5
com.discord/res/layout/cameraview_surface_view.xml
Normal file
5
com.discord/res/layout/cameraview_surface_view.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout android:gravity="center" android:layout_gravity="center" android:id="@id/surface_view_root" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<SurfaceView android:id="@id/surface_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
||||
</FrameLayout>
|
3
com.discord/res/layout/cameraview_texture_view.xml
Normal file
3
com.discord/res/layout/cameraview_texture_view.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextureView android:gravity="center" android:layout_gravity="center" android:id="@id/texture_view" android:background="@null" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<RelativeLayout android:id="@id/camera_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
<com.camerakit.CameraKitView android:gravity="center" android:layout_gravity="center" android:id="@id/camera_view" android:layout_width="fill_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" app:camera_facing="back" app:camera_flash="auto" app:camera_focus="continuous" app:camera_imageJpegQuality="100" />
|
||||
<ImageButton android:id="@id/camera_flash_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/FlexInput.Input.Button.Camera.Flash" />
|
||||
<ImageButton android:id="@id/camera_facing_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/camera_switch" style="@style/FlexInput.Input.Button.Camera.Facing" />
|
||||
<RelativeLayout android:id="@id/camera_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RelativeLayout">
|
||||
<com.otaliastudios.cameraview.CameraView android:id="@id/camera_view" android:layout_width="fill_parent" android:layout_height="fill_parent" app:cameraAudio="off" app:cameraEngine="camera2" app:cameraFlash="auto" app:cameraGestureTap="autoFocus" app:cameraRequestPermissions="false" />
|
||||
<ImageButton android:id="@id/camera_flash_btn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/flash_off" style="@style/FlexInput.Input.Button.Camera.Flash" />
|
||||
<ImageButton android:id="@id/camera_facing_btn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/camera_switch" style="@style/FlexInput.Input.Button.Camera.Facing" />
|
||||
<ImageView android:id="@id/take_photo_btn" android:layout_width="56.0dip" android:layout_height="56.0dip" android:contentDescription="@string/take_a_photo" style="@style/FlexInput.Input.Button.Camera.Capture" />
|
||||
<ImageButton android:id="@id/launch_camera_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/FlexInput.Input.Button.Camera.Launcher" />
|
||||
<ImageButton android:id="@id/launch_camera_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/camera" style="@style/FlexInput.Input.Button.Camera.Launcher" />
|
||||
</RelativeLayout>
|
||||
<FrameLayout android:id="@id/permissions_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/FlexInput.AddContent.Permissions" />
|
||||
<ViewStub android:id="@id/permissions_view_stub" android:layout="@layout/view_permissions_required" android:layout_marginTop="@dimen/uikit_spacing_xxlarge" style="@style/UiKit.ViewGroup" />
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -7,8 +7,8 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView android:textSize="@dimen/uikit_textsize_large" android:textColor="@color/white" android:id="@id/test" android:layout_width="0.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:text="@string/channel_select" android:layout_weight="1.0" style="@style/UiKit.TextView.Semibold" />
|
||||
<ImageView android:id="@id/close" android:background="?selectableItemBackground" android:padding="@dimen/uikit_spacing_large" android:src="@drawable/ic_close_24dp" android:contentDescription="@string/close_window" app:tint="@color/white" style="@style/UiKit.ImageView" />
|
||||
</LinearLayout>
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/overlay_channel_search" android:hint="@string/search_channels" app:boxBackgroundColor="@color/primary_dark_700" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/overlay_channel_search" app:boxBackgroundColor="@color/primary_dark_700" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/search_channels" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<androidx.appcompat.widget.AppCompatTextView android:textColor="@color/white" android:gravity="center" android:id="@id/empty_results" android:visibility="gone" android:layout_width="fill_parent" android:layout_marginLeft="@dimen/uikit_spacing_xxlarge" android:layout_marginTop="@dimen/uikit_spacing_xxxlarge" android:layout_marginRight="@dimen/uikit_spacing_xxlarge" android:text="@string/overlay_no_results" android:drawableBottom="@drawable/img_quick_switcher_empty" android:drawablePadding="@dimen/uikit_spacing_medium" android:layout_weight="1.0" android:textAlignment="center" app:autoSizeMinTextSize="8.0sp" app:autoSizeTextType="uniform" style="@style/UiKit.TextView.Large" />
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/results_rv" android:padding="@dimen/uikit_spacing_medium" android:clipToPadding="false" android:layout_weight="1.0" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<TextView android:gravity="center" android:clickable="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/camera_permission_denied" style="@style/TextAppearance.MaterialComponents.Headline5" />
|
||||
<com.google.android.material.button.MaterialButton android:layout_gravity="center" android:id="@id/permissions_req_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/enable_permission" />
|
||||
</LinearLayout>
|
7
com.discord/res/layout/view_permissions_required.xml
Normal file
7
com.discord/res/layout/view_permissions_required.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:gravity="center_horizontal" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView android:src="@drawable/img_permission_prime" android:contentDescription="@string/system_permission_request_files" style="@style/UiKit.ImageView" />
|
||||
<androidx.appcompat.widget.AppCompatTextView android:gravity="center" android:id="@id/permissions_required_text" android:padding="@dimen/uikit_spacing_large" style="@style/UiKit.TextView" />
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/permissions_required_action_btn" android:text="@string/system_permission_grant" style="@style/UiKit.Material.Button.Fit" />
|
||||
</LinearLayout>
|
|
@ -3,8 +3,8 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/channel_settings_permissions_add_member_name_search" android:hint="@string/members_search_placeholder" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/channel_settings_permissions_add_member_name_search" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/members_search_placeholder" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/channel_settings_permissions_add_member_view_flipper" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<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" />
|
||||
<ImageView android:id="@id/emoji_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/search_for_emoji" android:layout_alignParentEnd="true" app:tint="?colorTextMuted" />
|
||||
<ImageView android:id="@id/emoji_search_clear" android:src="@drawable/ic_search_16dp" android:layout_centerVertical="true" android:contentDescription="@string/search_for_emoji" android:layout_alignParentEnd="true" app:tint="?colorTextMuted" style="@style/ExpressionSearchInputClear" />
|
||||
</RelativeLayout>
|
||||
</androidx.appcompat.widget.Toolbar>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<?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">
|
||||
<LinearLayout android:id="@id/enable_two_factor_password_header_container" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:id="@id/enable_two_factor_password_header" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:text="@string/two_fa_enable" style="@style/UiKit.TextView.H1.Bold" />
|
||||
<View style="@style/UiKit.Divider" />
|
||||
</LinearLayout>
|
||||
<androidx.core.widget.NestedScrollView style="@style/UiKit.ViewGroup.NestedScrollView">
|
||||
<LinearLayout android:gravity="center" android:id="@id/enable_two_factor_password_body_container" style="@style/UiKit.ViewGroup.LinearLayout">
|
||||
<TextView android:layout_gravity="start" android:id="@id/enable_two_factor_password_body_text" android:padding="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:text="@string/user_settings_edit_account_password_label" android:textAlignment="textStart" style="@style/UiKit.TextView" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/enable_two_factor_password_view_input" android:layout_margin="@dimen/uikit_spacing_medium" android:hint="@string/form_label_password" style="@style/UiKit.TextInputLayout.Primary">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Password" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<View style="@style/UiKit.Settings.Divider" />
|
||||
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
|
||||
<com.google.android.material.button.MaterialButton android:id="@id/enable_two_factor_password_cancel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cancel" style="?buttonBarNegativeButtonStyle" />
|
||||
<com.discord.views.LoadingButton android:id="@id/enable_two_factor_password_ok" 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/confirm" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
|
@ -6,10 +6,10 @@
|
|||
<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_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">
|
||||
<androidx.cardview.widget.CardView android:id="@id/expression_tray_emoji_card" android:contentDescription="@string/expression_picker_open_emoji_picker_a11y_label" style="@style/ExpressionTrayTabCard">
|
||||
<TextView android:id="@id/expression_tray_emoji_button" android:text="@string/emoji" style="@style/ExpressionTrayTab" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<androidx.cardview.widget.CardView android:id="@id/expression_tray_gif_card" style="@style/ExpressionTrayTabCard">
|
||||
<androidx.cardview.widget.CardView android:id="@id/expression_tray_gif_card" android:contentDescription="@string/expression_picker_open_gif_picker_a11y_label" style="@style/ExpressionTrayTabCard">
|
||||
<TextView android:id="@id/expression_tray_gif_button" android:text="@string/gif" style="@style/ExpressionTrayTab" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout android:background="?colorBackgroundSecondary" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.LinearLayout"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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" />
|
||||
<ImageView android:id="@id/gif_search_clear" android:src="@drawable/ic_search_16dp" android:layout_centerVertical="true" android:contentDescription="@string/reset" android:layout_alignParentEnd="true" app:tint="?colorTextMuted" style="@style/ExpressionSearchInputClear" />
|
||||
</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>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/gif_search_view_flipper" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
<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" />
|
||||
<com.discord.widgets.chat.input.gifpicker.GifLoadingView android:id="@id/gif_search_loading_view" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_height="fill_parent" app:glv_is_staggered="true" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</com.discord.app.AppViewFlipper>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.google.android.material.appbar.AppBarLayout android:background="?primary_630" style="@style/AppTheme.AppBarLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/global_search_bar" style="@style/UiKit.TextInputLayout.Search.ActionBar.Filter">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/quickswitcher_placeholder" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search">
|
||||
<requestFocus />
|
||||
</com.google.android.material.textfield.TextInputEditText>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
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="?primary_630" style="@style/AppTheme.AppBarLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/guild_search_bar" style="@style/UiKit.TextInputLayout.Search.ActionBar">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/premium_guild_subscribe_search_guild_placeholder" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_search_recycler" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_xxxlarge" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" app:layout_behavior="com.discord.app.AppScrollingViewBehavior" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
<androidx.recyclerview.widget.RecyclerView android:orientation="horizontal" android:id="@id/external_share_list" android:clipToPadding="false" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" style="@style/UiKit.ViewGroup.RecyclerView" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
<com.discord.widgets.chat.list.ViewEmbedGameInvite android:id="@id/external_share_activity_action_preview" android:background="?chat_embed_bg" android:visibility="visible" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:animateLayoutChanges="true" android:elevation="@dimen/app_elevation" style="@style/UiKit.ViewGroup.LinearLayout" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/external_share_comment" android:layout_margin="@dimen/uikit_spacing_large" android:hint="@string/add_a_comment_optional" app:startIconDrawable="?ic_edit" style="@style/UiKit.TextInputLayout">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/external_share_comment" 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_large" android:hint="@string/add_a_comment_optional" app:startIconDrawable="?ic_edit" style="@style/UiKit.TextInputLayout">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.MultiLine" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<TextView android:text="@string/share_to" android:textAllCaps="true" style="@style/UiKit.Search.Header" />
|
||||
<com.discord.app.AppViewFlipper android:id="@id/search_flipper" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/external_share_search" android:layout_margin="0.0dip" android:hint="@string/select_channel_or_category" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/external_share_search" android:layout_margin="0.0dip" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/select_channel_or_category" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="?container_bg_dark_a60" android:elevation="@dimen/app_elevation" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.discord.widgets.user.search.ViewGlobalSearchItem android:id="@id/widget_channel_search_item" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/uikit_spacing_medium" android:clipChildren="false" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" />
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
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="?primary_630" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/guild_notifications_channel_search" android:hint="@string/search_channels" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/guild_notifications_channel_search" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/search_channels" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_notifications_channel_list" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingBottom="@dimen/list_bottom_padding" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView.AppBarScrollingViewBehavior" />
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
||||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/server_settings_bans_search" android:hint="@string/members_search_placeholder" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/server_settings_bans_search" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText android:hint="@string/members_search_placeholder" style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
<com.discord.app.AppViewFlipper android:id="@id/server_settings_bans_view_flipper" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit.ViewGroup.AppViewFlipper.InCoordinatorLayout">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
||||
<androidx.cardview.widget.CardView android:layout_margin="@dimen/uikit_spacing_medium" app:cardBackgroundColor="?colorBackgroundTertiary" style="@style/UiKit.ViewGroup">
|
||||
<LinearLayout android:gravity="center_vertical" android:id="@id/server_settings_members_header_container" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/server_settings_members_name_search" android:layout_width="0.0dip" android:layout_margin="0.0dip" android:hint="@string/members_search_placeholder" android:layout_weight="2.0" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputLayout android:id="@id/server_settings_members_name_search" android:layout_width="0.0dip" android:layout_margin="0.0dip" android:hint="@string/members_search_placeholder" android:layout_weight="2.0" app:boxBackgroundColor="?colorBackgroundTertiary" style="@style/UiKit.TextInputLayout.Search">
|
||||
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.SingleLine.Search" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<Spinner android:gravity="center" android:id="@id/server_settings_members_roles_spinner" android:background="?colorBackgroundTertiary" android:layout_width="0.0dip" android:layout_height="fill_parent" android:popupBackground="?colorBackgroundTertiary" android:layout_weight="1.0" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue