Created
June 9, 2020 12:04
-
-
Save franciscofranco/6110b64a42313ab67a4c94c1c6b032b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LinearLayout | |
android:id="@+id/bottom_navigation_container" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:elevation="1dp" | |
android:fitsSystemWindows="true" | |
android:orientation="vertical" | |
app:behavior_hideable="false" | |
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> | |
<com.google.android.material.appbar.AppBarLayout | |
android:id="@+id/app_bar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@android:color/transparent" | |
android:minHeight="?attr/actionBarSize" | |
app:elevation="0dp"> | |
<androidx.appcompat.widget.Toolbar | |
android:id="@+id/my_toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/transparent" | |
app:contentInsetEnd="0dp" | |
app:contentInsetStart="0dp" /> | |
<androidx.recyclerview.widget.RecyclerView | |
android:id="@+id/drawer" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:paddingBottom="8dp" | |
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> | |
</com.google.android.material.appbar.AppBarLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment