activity_toolbar.xml (1146B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:tools="http://schemas.android.com/tools" 7 android:layout_width="match_parent" 8 android:layout_height="match_parent" 9 android:orientation="vertical" 10 tools:context=".ToolbarActivity"> 11 12 <mozilla.components.browser.toolbar.BrowserToolbar 13 android:id="@+id/toolbar" 14 android:layout_width="match_parent" 15 android:layout_height="wrap_content" /> 16 17 <androidx.compose.ui.platform.ComposeView 18 android:id="@+id/composeToolbar" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:visibility="gone" /> 22 23 <androidx.recyclerview.widget.RecyclerView 24 android:id="@+id/recyclerView" 25 android:layout_width="match_parent" 26 android:layout_height="0dp" 27 android:layout_weight="1" /> 28 29 </LinearLayout>