Skip to content

Commit

Permalink
move the postion of text down.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmiAde committed Apr 27, 2020
1 parent 7a83975 commit 7f463eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
1 change: 1 addition & 0 deletions ucrop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ dependencies {
implementation "androidx.exifinterface:exifinterface:${androidx_exifinterface_version}"
implementation "androidx.transition:transition:${androidx_transition_version}"
implementation "com.squareup.okhttp3:okhttp:3.12.1"
implementation 'com.google.android.material:material:1.1.0'
}
29 changes: 22 additions & 7 deletions ucrop/src/main/res/layout/ucrop_layout_rotate_wheel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@
<TextView
android:id="@+id/text_view_rotate"
style="@style/ucrop_TextViewWidgetText"
android:layout_above="@+id/rotate_scroll_wheel"
android:layout_marginBottom="0dp"
tools:text="100°" />

<com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
android:id="@+id/rotate_scroll_wheel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/text_view_rotate"
android:layout_width="311dp"
android:layout_height="58dp"
android:layout_alignTop="@+id/wrapper_rotate_by_angle"
android:layout_alignParentBottom="true"
android:layout_marginStart="1dp"
android:layout_marginLeft="1dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="0dp"
android:layout_marginRight="0dp"
android:layout_marginBottom="0dp"
android:layout_toStartOf="@+id/wrapper_rotate_by_angle"
android:layout_toLeftOf="@+id/wrapper_rotate_by_angle"
android:layout_toEndOf="@+id/wrapper_reset_rotate"
Expand All @@ -26,8 +35,10 @@
<FrameLayout
android:id="@+id/wrapper_reset_rotate"
style="@style/ucrop_WrapperRotateButton"
android:layout_centerVertical="true"
android:background="?attr/selectableItemBackground">
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"
android:background="?attr/selectableItemBackground"
android:paddingTop="20dp">

<ImageView
style="@style/ucrop_ImageViewWidgetIcon"
Expand All @@ -40,8 +51,12 @@
style="@style/ucrop_WrapperRotateButton"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="?attr/selectableItemBackground">
android:layout_alignParentBottom="true"
android:layout_marginEnd="0dp"
android:layout_marginRight="0dp"
android:layout_marginBottom="20dp"
android:background="?attr/selectableItemBackground"
android:paddingTop="20dp">

<ImageView
style="@style/ucrop_ImageViewWidgetIcon"
Expand Down

0 comments on commit 7f463eb

Please sign in to comment.