2016-10-17 02:05:07 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2016-10-17 02:05:07 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@+id/giphy_logo"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2016-10-17 02:05:07 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.giph.ui.GiphyActivityToolbar
|
|
|
|
android:id="@+id/giphy_toolbar"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:theme="?attr/actionBarStyle"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"/>
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
2016-10-17 02:05:07 +00:00
|
|
|
android:id="@+id/tab_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-13 04:29:06 +00:00
|
|
|
android:theme="@style/Session.DarkTabLayout"
|
|
|
|
app:tabRippleColor="@color/cell_selected"
|
|
|
|
app:tabIndicatorColor="@color/accent"
|
2016-10-17 02:05:07 +00:00
|
|
|
android:scrollbars="horizontal"/>
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2016-10-17 02:05:07 +00:00
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.viewpager.widget.ViewPager
|
2016-10-17 02:05:07 +00:00
|
|
|
android:id="@+id/giphy_pager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2016-10-17 02:05:07 +00:00
|
|
|
|
|
|
|
<ImageView android:id="@+id/giphy_logo"
|
|
|
|
android:src="@drawable/poweredby_giphy"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:background="@color/black"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|