apkfuckery/com.discord/res/layout/widget_incoming_share.xml

31 lines
4.7 KiB
XML
Raw Normal View History

2020-05-17 12:40:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<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">
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
<androidx.appcompat.widget.Toolbar app:navigationIcon="?ic_action_bar_close" app:title="@string/share" style="@style/AppTheme.Toolbar.Transparent" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView android:id="@id/scroll_view" style="@style/UiKit.ViewGroup.NestedScrollView.AppBarScrollingViewBehavior">
<LinearLayout android:paddingBottom="@dimen/padding_bottom_fab_screen" android:focusableInTouchMode="true" android:descendantFocusability="beforeDescendants" android:baselineAligned="false" android:animateLayoutChanges="true" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:paddingTop="@dimen/uikit_spacing_medium" android:text="@string/message_preview" android:textAllCaps="true" style="@style/UiKit.Search.Header" />
2020-07-08 16:44:49 +00:00
<androidx.cardview.widget.CardView android:id="@id/external_share_list_wrap" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" app:cardBackgroundColor="?colorBackgroundTertiary" app:cardCornerRadius="4.0dip" style="@style/UiKit.ViewGroup">
<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>
2020-05-17 12:40:10 +00:00
<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" />
2020-07-22 00:04:40 +00:00
<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">
2020-07-08 16:44:49 +00:00
<com.google.android.material.textfield.TextInputEditText style="@style/UiKit.TextInputLayout.EditText.MultiLine" />
</com.google.android.material.textfield.TextInputLayout>
2020-05-17 12:40:10 +00:00
<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">
2020-07-22 00:04:40 +00:00
<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" />
2020-07-08 16:44:49 +00:00
</com.google.android.material.textfield.TextInputLayout>
2020-05-17 12:40:10 +00:00
<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" />
<ImageView android:id="@id/widget_channel_search_item_remove" android:padding="@dimen/uikit_spacing_small" android:src="?ic_close_24dp" android:contentDescription="@string/remove" android:layout_marginEnd="@dimen/uikit_spacing_small" style="@style/UiKit.ImageView.Clickable" />
</LinearLayout>
</com.discord.app.AppViewFlipper>
<androidx.recyclerview.widget.RecyclerView android:id="@id/external_share_search_results" style="@style/UiKit.ViewGroup.RecyclerView" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<com.discord.utilities.dimmer.DimmerView style="@style/UiKit.DimmerView" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>