Skip to content

Commit 558b8a6

Browse files
committed
Fix transparent view allign
1 parent b057d8c commit 558b8a6

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

app/src/main/res/layout/activity_nearby.xml

+2-21
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
android:layout_width="match_parent"
66
android:layout_height="match_parent">
77

8-
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
8+
<android.support.design.widget.CoordinatorLayout
99
xmlns:app="http://schemas.android.com/apk/res-auto"
1010
android:id="@+id/coordinator_layout"
1111
android:layout_width="match_parent"
@@ -39,32 +39,13 @@
3939
android:layout_width="match_parent"
4040
android:layout_height="match_parent" />
4141
</LinearLayout>
42-
<android.support.design.widget.FloatingActionButton
43-
android:id="@+id/fab_list"
44-
android:layout_width="wrap_content"
45-
android:layout_height="wrap_content"
46-
app:fabSize="mini"
47-
android:layout_alignBottom="@id/toolbar"
48-
android:layout_alignParentRight="true"
49-
android:layout_marginRight="28dp"
50-
android:layout_marginBottom="-96dp"
51-
android:visibility="invisible"
52-
app:elevation="6dp"
53-
app:pressedTranslationZ="12dp"
54-
app:backgroundTint="@color/button_blue"
55-
android:clickable="true"
56-
app:srcCompat="@drawable/ic_list_white_24dp"
57-
android:scaleType="center"
58-
/>
5942

6043
<View
6144
android:id="@+id/transparentView"
6245
android:layout_width="match_parent"
6346
android:layout_height="match_parent"
6447
android:layout_alignParentLeft="true"
65-
android:layout_alignParentStart="true"
66-
android:layout_alignParentTop="true"
67-
android:layout_marginTop="18dp"
48+
android:layout_below="@id/toolbar"
6849
android:background="#aa969696"
6950
android:elevation="6dp">
7051

0 commit comments

Comments
 (0)