2018-06-05 21:51:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-06-20 17:01:15 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-17 23:08:29 +02: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"
|
2018-06-19 15:00:13 +02:00
|
|
|
android:orientation="vertical"
|
2018-06-20 12:34:20 +02:00
|
|
|
tools:context=".ui.MainActivity">
|
2018-06-17 23:08:29 +02:00
|
|
|
|
2019-02-15 18:32:17 +01:00
|
|
|
<android.support.design.widget.CoordinatorLayout
|
2018-06-17 23:08:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-02-15 18:32:17 +01:00
|
|
|
android:id="@+id/coordinator"
|
2018-06-19 15:00:13 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
2018-06-17 23:08:29 +02:00
|
|
|
|
2018-06-20 12:34:20 +02:00
|
|
|
<net.osmand.telegram.ui.views.LockableViewPager
|
2018-06-20 17:01:15 +02:00
|
|
|
android:id="@+id/view_pager"
|
2018-06-19 15:00:13 +02:00
|
|
|
android:layout_width="match_parent"
|
2018-06-27 10:26:15 +02:00
|
|
|
android:layout_height="match_parent"/>
|
2018-06-19 15:00:13 +02:00
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
2018-06-17 23:08:29 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-19 15:00:13 +02:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:scaleType="fitXY"
|
2018-06-20 17:01:15 +02:00
|
|
|
android:src="?attr/bottom_nav_shadow"/>
|
2018-06-17 23:08:29 +02:00
|
|
|
|
2019-02-15 18:32:17 +01:00
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
2018-06-19 15:00:13 +02:00
|
|
|
|
2019-04-10 17:00:45 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/bottom_buttons_bar"
|
2018-06-27 17:15:25 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-04-10 17:00:45 +02:00
|
|
|
android:layout_height="@dimen/buttons_bottom_bar_height" />
|
2018-06-27 17:15:25 +02:00
|
|
|
|
2018-06-19 15:00:13 +02:00
|
|
|
<android.support.design.widget.BottomNavigationView
|
|
|
|
android:id="@+id/bottom_navigation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-21 17:47:08 +02:00
|
|
|
android:background="?attr/card_bg_color"
|
2018-06-20 18:46:14 +02:00
|
|
|
app:itemBackground="?attr/card_bg_color"
|
2018-06-20 17:01:15 +02:00
|
|
|
app:menu="@menu/bottom_navigation_menu"/>
|
2018-06-17 23:08:29 +02:00
|
|
|
|
2018-06-20 17:01:15 +02:00
|
|
|
</LinearLayout>
|