OsmAnd/OsmAnd-telegram/res/layout/activity_main.xml

47 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<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"
android:orientation="vertical"
2018-06-17 23:08:29 +02:00
tools:context=".MainActivity">
<FrameLayout
2018-06-17 23:08:29 +02:00
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
2018-06-17 23:08:29 +02:00
<android.support.v7.widget.RecyclerView
android:id="@+id/groups_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-06-17 23:08:29 +02:00
android:scrollbars="vertical" />
<net.osmand.telegram.views.LockableViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
<android.support.v7.widget.AppCompatImageView
2018-06-17 23:08:29 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:scaleType="fitXY"
android:src="?attr/bottom_nav_shadow" />
2018-06-17 23:08:29 +02:00
</FrameLayout>
<android.support.design.widget.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="visible"
app:itemBackground="?attr/bg_color"
app:menu="@menu/bottom_navigation_menu"
tools:itemIconTint="@color/ctrl_active_color_light"
tools:itemTextColor="@color/ctrl_active_color_light"
tools:visibility="visible" />
2018-06-17 23:08:29 +02:00
</LinearLayout>