Skip to content

Commit

Permalink
change add record button
Browse files Browse the repository at this point in the history
  • Loading branch information
Razeeman committed Jul 6, 2024
1 parent 1b2a72c commit c4e4a8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="16dp"
android:layout_marginVertical="8dp"
android:contentDescription="Add record"
android:src="@drawable/add"
app:backgroundTint="?appInactiveColor"
app:fabSize="normal"
app:layout_constraintBottom_toTopOf="@id/btnRecordsContainerToday"
app:layout_constraintEnd_toEndOf="parent"
app:shapeAppearanceOverlay="@style/AppFabButton"
app:tint="@color/white"
app:useCompatPadding="false" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
android:id="@+id/rvRecordsList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="36dp"
tools:itemCount="15"
tools:listitem="@layout/item_record_layout" />

Expand Down
5 changes: 5 additions & 0 deletions features/feature_views/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,9 @@
<item name="autoSizeTextType">uniform</item>
</style>

<style name="AppFabButton" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">@dimen/button_corner_radius</item>
</style>

</resources>

0 comments on commit c4e4a8e

Please sign in to comment.