apkfuckery/com.discord/res/layout-v22/widget_expression_tray.xml
2020-11-12 02:11:44 +00:00

36 lines
No EOL
5.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/expression_tray_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.discord.utilities.views.ContentResizingCoordinatorLayout android:id="@id/expression_tray_landing_page" style="@style/UiKit.ViewGroup.Page">
<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_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" android:contentDescription="@string/expression_picker_open_emoji_picker_a11y_label" style="@style/ExpressionTrayTabCard">
<TextView android:id="@id/expression_tray_emoji_button" android:text="@string/expression_picker_emoji" style="@style/ExpressionTrayTab" />
</androidx.cardview.widget.CardView>
<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/expression_picker_gif" style="@style/ExpressionTrayTab" />
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView android:id="@id/expression_tray_sticker_card" android:visibility="gone" android:contentDescription="@string/expression_picker_open_sticker_picker_a11y_label" style="@style/ExpressionTrayTabCard">
<LinearLayout android:gravity="center" android:layout_centerVertical="true" android:layout_alignParentEnd="true" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<TextView android:id="@id/expression_tray_sticker_button" android:layout_width="wrap_content" android:text="@string/expression_picker_sticker" android:paddingStart="8.0dip" android:paddingEnd="4.0dip" style="@style/ExpressionTrayTab" />
<TextView android:id="@id/expression_tray_sticker_button_new" android:background="@drawable/drawable_overlay_mentions" android:visibility="gone" android:layout_marginEnd="4.0dip" style="@style/Icon.Mentions" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
<com.discord.utilities.view.rounded.RoundedRelativeLayout android:id="@id/expression_tray_search_bar" android:background="?colorBackgroundTertiary" 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="8.0dip" android:foreground="?bg_pressed_highlight" android:animateLayoutChanges="true" android:layout_marginHorizontal="12.0dip" app:bottomLeftRadius="4.0dip" app:bottomRightRadius="4.0dip" app:topLeftRadius="4.0dip" app:topRightRadius="4.0dip">
<TextView android:gravity="center_vertical" android:id="@id/expression_tray_search_button" android:paddingTop="8.0dip" android:paddingBottom="8.0dip" android:layout_height="wrap_content" android:hint="@string/search_for_emoji" style="@style/ExpressionSearchInput" />
<ImageView android:id="@id/expression_tray_search_icon" android:padding="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_search_white_24dp" android:layout_centerVertical="true" android:contentDescription="@string/search_emojis" android:layout_alignParentEnd="true" app:tint="?colorTextMuted" />
</com.discord.utilities.view.rounded.RoundedRelativeLayout>
</LinearLayout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<FrameLayout android:id="@id/expression_tray_content_container" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/expression_tray_toolbar" app:layout_behavior="@string/appbar_scrolling_view_behavior">
<androidx.fragment.app.FragmentContainerView android:id="@id/expression_tray_emoji_picker_content" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<androidx.fragment.app.FragmentContainerView android:id="@id/expression_tray_gif_picker_content" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<androidx.fragment.app.FragmentContainerView android:id="@id/expression_tray_sticker_picker_content" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
</com.discord.utilities.views.ContentResizingCoordinatorLayout>
<androidx.fragment.app.FragmentContainerView android:id="@id/expression_tray_detail_page" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>