1
0
mirror of https://github.com/sismics/docs.git synced 2026-01-06 05:19:35 +00:00

Android: floating action button

This commit is contained in:
jendib
2014-11-26 02:08:20 +01:00
parent 824e37b8ea
commit 5666d9b8b5
6 changed files with 285 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout 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">
@@ -37,4 +37,17 @@
android:textSize="16sp"
android:layout_centerInParent="true"/>
<com.sismics.docs.ui.view.FloatingActionButton
android:id="@+id/addDocumentButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="20dp"
android:src="@drawable/ic_add_white_24dp"
app:floatingActionButtonColor="#263238"/>
</RelativeLayout>