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

33 lines
5.3 KiB
XML
Raw Normal View History

2020-07-08 16:44:49 +00:00
<?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">
2020-07-14 22:43:59 +00:00
<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">
2020-07-23 01:06:17 +00:00
<androidx.cardview.widget.CardView android:id="@id/expression_tray_emoji_card" android:contentDescription="@string/expression_picker_open_emoji_picker_a11y_label" style="@style/ExpressionTrayTabCard">
2020-09-10 21:23:57 +00:00
<TextView android:id="@id/expression_tray_emoji_button" android:text="@string/expression_picker_emoji" style="@style/ExpressionTrayTab" />
2020-07-08 16:44:49 +00:00
</androidx.cardview.widget.CardView>
2020-07-23 01:06:17 +00:00
<androidx.cardview.widget.CardView android:id="@id/expression_tray_gif_card" android:contentDescription="@string/expression_picker_open_gif_picker_a11y_label" style="@style/ExpressionTrayTabCard">
2020-09-10 21:23:57 +00:00
<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">
<TextView android:id="@id/expression_tray_sticker_button" android:text="@string/expression_picker_sticker" style="@style/ExpressionTrayTab" />
2020-07-08 16:44:49 +00:00
</androidx.cardview.widget.CardView>
</LinearLayout>
2020-09-02 04:07:20 +00:00
<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" 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" />
2020-07-08 16:44:49 +00:00
</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" />
2020-09-10 21:23:57 +00:00
<androidx.fragment.app.FragmentContainerView android:id="@id/expression_tray_sticker_picker_content" android:layout_width="fill_parent" android:layout_height="fill_parent" />
2020-07-08 16:44:49 +00:00
</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>