29 lines
No EOL
4.6 KiB
XML
29 lines
No EOL
4.6 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/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/gif" style="@style/ExpressionTrayTab" />
|
|
</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" />
|
|
</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> |