Skip to content

Commit

Permalink
Update multiple_fabs.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-krushna authored Apr 11, 2024
1 parent 355c7e4 commit 4e3cb02
Showing 1 changed file with 42 additions and 43 deletions.
85 changes: 42 additions & 43 deletions app/src/main/res/layout/multiple_fabs.xml
Original file line number Diff line number Diff line change
@@ -1,43 +1,42 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/linear1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="right"
android:orientation="vertical">
<LinearLayout
android:id="@+id/linear2"
android:layout_width="60dp"
android:layout_height="match_parent"
android:layout_marginRight="14dp"
android:gravity="center_horizontal|bottom"
android:orientation="vertical">
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/linear_fab2"
android:layout_width="56dp"
android:layout_height="56dp"
android:background="#F44336"
android:gravity="center_horizontal|center_vertical"
app:srcCompat="@drawable/ic_clear" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/linear_fab1"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_marginTop="10dp"
android:gravity="center_horizontal|center_vertical"
app:srcCompat="@drawable/ic_select_rest" />
<LinearLayout
android:id="@+id/fab_default"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_margin="16dp"
android:orientation="horizontal" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/linear_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="right"
android:orientation="vertical">
<LinearLayout
android:id="@+id/linear2"
android:layout_width="60dp"
android:layout_height="match_parent"
android:layout_marginRight="14dp"
android:gravity="center_horizontal|bottom"
android:orientation="vertical">
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_clear"
android:layout_width="56dp"
android:layout_height="56dp"
android:gravity="center_horizontal|center_vertical"
app:srcCompat="@drawable/ic_clear" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_select_rest"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_marginTop="10dp"
android:gravity="center_horizontal|center_vertical"
app:srcCompat="@drawable/ic_select_rest" />
<LinearLayout
android:id="@+id/fab_default"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_margin="16dp"
android:orientation="horizontal" />
</LinearLayout>
</LinearLayout>
</LinearLayout>

0 comments on commit 4e3cb02

Please sign in to comment.