mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
55 lines
2.4 KiB
XML
55 lines
2.4 KiB
XML
<?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">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@+id/giphy_logo"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
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"/>
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/Widget.Session.TabLayout"
|
|
app:tabRippleColor="@color/cell_selected"
|
|
app:tabIndicatorColor="@color/accent"
|
|
android:scrollbars="horizontal"/>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/giphy_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<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>
|