Browse Source

Fix position of FAB

feature_fragments
vanitasvitae 5 years ago
parent
commit
28216a5c72
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
  1. 4
      app/src/main/res/layout/activity_main.xml
  2. 1
      app/src/main/res/values-v19/styles.xml

4
app/src/main/res/layout/activity_main.xml

@ -46,7 +46,9 @@
android:src="@drawable/ic_explore_white_48px"
app:fabSize="mini"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:layout_marginBottom="64dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_anchor="@id/container"

1
app/src/main/res/values-v19/styles.xml

@ -5,6 +5,7 @@
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="windowActionBarOverlay">false</item>

Loading…
Cancel
Save