Skip to content

Commit

Permalink
Fix[cropper]: use named dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Jan 31, 2024
1 parent bb16bff commit 79eacac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions app_pojavlauncher/src/main/res/layout/dialog_cropper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
android:id="@+id/crop_dialog_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp" />
android:layout_marginTop="@dimen/padding_moderate"
android:layout_marginStart="@dimen/padding_medium"
android:layout_marginEnd="@dimen/padding_medium"
android:layout_marginBottom="@dimen/padding_moderate" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp">
android:layout_marginTop="@dimen/padding_medium"
android:layout_marginStart="@dimen/padding_medium"
android:layout_marginEnd="@dimen/padding_medium"
android:layout_marginBottom="@dimen/padding_medium">
<ToggleButton
android:id="@+id/crop_dialog_hlock"
android:layout_weight="1"
Expand Down
2 changes: 1 addition & 1 deletion app_pojavlauncher/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
<!-- Fragment padding -->
<dimen name="fragment_padding_medium">@dimen/_10sdp</dimen>
<!-- Misc paddings -->
<dimen name="profile_editor_image_padding">2dp</dimen>
<dimen name="profile_editor_image_padding">@dimen/padding_small</dimen>
</resources>

0 comments on commit 79eacac

Please sign in to comment.