Skip to content

Commit

Permalink
fab appearance migration to md3
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jan 6, 2022
1 parent ac6b335 commit 9d049a0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
Binary file modified app/release/app-release.apk
Binary file not shown.
3 changes: 2 additions & 1 deletion app/src/main/res/layout-land/activity_second.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
android:src="@drawable/ic_baseline_shopping_cart_24"
app:fabSize="mini"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tabs" />
app:layout_constraintEnd_toStartOf="@+id/tabs"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</androidx.constraintlayout.widget.ConstraintLayout>

Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout-land/activity_third.xml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
android:layout_margin="20dp"
android:contentDescription="@string/none"
android:src="@drawable/ic_published_with_changes_black_24dp"
app:elevation="0dp" />
app:elevation="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</RelativeLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/layout-land/fragment_edit_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
android:layout_height="wrap_content"
android:contentDescription="@string/none"
android:src="@drawable/ic_round_edit_24"
app:elevation="0dp" />
app:elevation="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</com.skydoves.transformationlayout.TransformationLayout>

Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_second.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
android:visibility="gone"
app:fabSize="mini"
app:layout_anchor="@id/collapsingToolbar"
app:layout_anchorGravity="end|bottom" />
app:layout_anchorGravity="end|bottom"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_third.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
android:layout_margin="20dp"
android:contentDescription="@string/none"
android:src="@drawable/ic_published_with_changes_black_24dp"
app:elevation="0dp" />
app:elevation="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_edit_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
android:layout_height="wrap_content"
android:contentDescription="@string/none"
android:src="@drawable/ic_round_edit_24"
app:elevation="0dp" />
app:elevation="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" />

</com.skydoves.transformationlayout.TransformationLayout>

Expand Down

0 comments on commit 9d049a0

Please # to comment.