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

14 lines
2.5 KiB
XML
Raw Normal View History

2020-07-08 16:44:49 +00:00
<?xml version="1.0" encoding="utf-8"?>
<com.discord.utilities.views.ContentResizingCoordinatorLayout android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="fill_parent"
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="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/AppTheme.AppBarLayout.Flat">
<com.google.android.material.appbar.CollapsingToolbarLayout android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_scrollFlags="enterAlways|scroll">
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
<ImageView android:id="@id/gif_category_back_button" android:background="?bg_pressed_highlight" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:src="@drawable/ic_chevron_left_24dp" android:paddingStart="12.0dip" android:paddingEnd="12.0dip" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:tint="?colorInteractiveActive" style="@style/UiKit.ImageView" />
<TextView android:textAppearance="@style/UiKit.TextAppearance.Bold" android:id="@id/gif_category_title" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" app:layout_constraintStart_toEndOf="@id/gif_category_back_button" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView" />
</LinearLayout>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView android:id="@id/gif_category_gif_recycler" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:visibility="gone" 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_category_loading_view" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_height="fill_parent" app:glv_is_staggered="true" app:layout_behavior="@string/appbar_scrolling_view_behavior" style="@style/UiKit.ViewGroup.RecyclerView" />
</com.discord.utilities.views.ContentResizingCoordinatorLayout>