Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|end"
- android:layout_margin="16dp"
- android:clickable="true"
- android:src="@drawable/ic_add"
- app:layout_anchorGravity="bottom|right|end" />
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/colorPrimary"
- app:layout_scrollFlags="snap"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
- </android.support.design.widget.AppBarLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="?attr/actionBarSize"
- android:orientation="vertical">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recycler_view_cards"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbars="none"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
- <TextView
- android:id="@+id/text_view_no_cards"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:lines="1"
- android:text="@string/text_view_no_cards"
- android:textAppearance="@style/Base.TextAppearance.AppCompat.Large"
- android:textColor="@color/color_text" />
- </RelativeLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement