Advertisement
urksiful

Activity.xml

May 17th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.68 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     tools:context="pro.izcali.u4drawing.MainActivity">
  8.  
  9.     <android.support.design.widget.AppBarLayout
  10.         android:layout_width="match_parent"
  11.         android:layout_height="wrap_content"
  12.         android:theme="@style/AppTheme.AppBarOverlay">
  13.  
  14.         <android.support.v7.widget.Toolbar
  15.             android:id="@+id/toolbar"
  16.             android:layout_width="match_parent"
  17.             android:layout_height="?attr/actionBarSize"
  18.             android:background="?attr/colorPrimary"
  19.             app:popupTheme="@style/AppTheme.PopupOverlay" />
  20.  
  21.     </android.support.design.widget.AppBarLayout>
  22.  
  23.     <include layout="@layout/content_main" />
  24.  
  25.     <android.support.design.widget.FloatingActionButton
  26.         android:id="@+id/fab"
  27.         android:layout_width="wrap_content"
  28.         android:layout_height="wrap_content"
  29.         android:layout_gravity="bottom|end"
  30.         android:layout_margin="@dimen/fab_margin"
  31.         app:srcCompat="@android:drawable/ic_dialog_email" />
  32.     <android.support.design.widget.FloatingActionButton
  33.         android:id="@+id/fd"
  34.         android:layout_width="wrap_content"
  35.         android:layout_height="wrap_content"
  36.         android:layout_gravity="bottom"
  37.         android:layout_margin="@dimen/fab_margin"
  38.         app:srcCompat="@android:drawable/ic_delete" />
  39.  
  40. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement