-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathactivity_demo.xml
More file actions
31 lines (27 loc) · 1.17 KB
/
activity_demo.xml
File metadata and controls
31 lines (27 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="false"
android:orientation="vertical">
<View
android:id="@+id/view_state_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/state_bar_height"
android:background="@color/material_blue" />
<FrameLayout
android:layout_below="@+id/view_state_bar"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:ignore="MergeRootFrame" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_margin="16dp"
android:src="@drawable/ic_done"/>
</RelativeLayout>