2021-05-26 10:47:14 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-06-02 22:11:39 -04:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-05-26 10:47:14 -03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-06-06 13:08:17 -03:00
|
|
|
tools:background="?mediaKeyboardBackgroundColor">
|
2021-05-26 10:47:14 -03:00
|
|
|
|
2021-06-02 22:11:39 -04:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2021-05-26 10:47:14 -03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-06-06 13:08:17 -03:00
|
|
|
android:background="?mediaKeyboardBackgroundColor"
|
2021-06-02 22:11:39 -04:00
|
|
|
app:elevation="0dp">
|
2021-05-26 10:47:14 -03:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.keyboard.emoji.KeyboardPageSearchView
|
|
|
|
android:id="@+id/gif_keyboard_search_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
app:click_only="true"
|
2021-06-03 11:32:47 -04:00
|
|
|
app:layout_scrollFlags="scroll|snap"
|
2021-05-26 10:47:14 -03:00
|
|
|
app:search_hint="@string/KeyboardPagerFragment_search_giphy"
|
2021-06-02 22:11:39 -04:00
|
|
|
app:show_always="true" />
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2021-05-26 10:47:14 -03:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/gif_keyboard_giphy_frame"
|
|
|
|
android:layout_width="match_parent"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2021-05-26 10:47:14 -03:00
|
|
|
|
2021-06-02 22:11:39 -04:00
|
|
|
<LinearLayout
|
2021-05-26 10:47:14 -03:00
|
|
|
android:id="@+id/gif_keyboard_packs_background"
|
|
|
|
android:layout_width="match_parent"
|
2021-07-13 19:37:30 -04:00
|
|
|
android:layout_height="@dimen/keyboard_toolbar_height"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:layout_gravity="bottom"
|
2022-06-06 13:08:17 -03:00
|
|
|
android:background="?mediaKeyboardBottomBarBackgroundColor"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:gravity="center_vertical"
|
2021-05-26 10:47:14 -03:00
|
|
|
android:orientation="horizontal"
|
2021-06-02 22:11:39 -04:00
|
|
|
app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior">
|
2021-05-26 10:47:14 -03:00
|
|
|
|
2021-06-02 22:11:39 -04:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/gif_keyboard_search"
|
2021-07-13 19:37:30 -04:00
|
|
|
android:layout_width="@dimen/keyboard_toolbar_height"
|
|
|
|
android:layout_height="@dimen/keyboard_toolbar_height"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:contentDescription="@string/KeyboardPagerFragment_open_gif_search"
|
2021-07-13 19:37:30 -04:00
|
|
|
android:padding="11dp"
|
2021-06-02 22:11:39 -04:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
app:srcCompat="@drawable/ic_search_24"
|
|
|
|
app:tint="@color/icon_tab_selector" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/gif_keyboard_quick_search_recycler"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
tools:itemCount="10"
|
|
|
|
tools:listitem="@layout/keyboard_pager_category_icon" />
|
|
|
|
</LinearLayout>
|
2021-05-26 10:47:14 -03:00
|
|
|
|
2021-06-02 22:11:39 -04:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|