mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 00:56:57 -04:00
Fix[control popup]: Increase width
This commit is contained in:
@@ -101,7 +101,7 @@ public class EditControlPopup {
|
||||
|
||||
mColorSelector = new ColorSelector(context, parent, null);
|
||||
mColorSelector.getRootView().setElevation(11);
|
||||
mColorSelector.getRootView().setX(-context.getResources().getDimensionPixelOffset(R.dimen._230sdp));
|
||||
mColorSelector.getRootView().setX(-context.getResources().getDimensionPixelOffset(R.dimen._280sdp));
|
||||
|
||||
mEditPopupAnimator = ObjectAnimator.ofFloat(mScrollView, "x", 0).setDuration(1000);
|
||||
mColorEditorAnimator = ObjectAnimator.ofFloat(mColorSelector.getRootView(), "x", 0).setDuration(1000);
|
||||
@@ -110,7 +110,7 @@ public class EditControlPopup {
|
||||
mColorEditorAnimator.setInterpolator(decelerate);
|
||||
|
||||
mScrollView.setElevation(10);
|
||||
mScrollView.setX(-context.getResources().getDimensionPixelOffset(R.dimen._230sdp));
|
||||
mScrollView.setX(-context.getResources().getDimensionPixelOffset(R.dimen._280sdp));
|
||||
|
||||
bindLayout();
|
||||
loadAdapter();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="@dimen/_230sdp"
|
||||
android:layout_width="@dimen/_280sdp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/background_app"
|
||||
android:paddingHorizontal="@dimen/_5sdp"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<com.kdt.DefocusableScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="@dimen/_230sdp"
|
||||
android:layout_width="@dimen/_280sdp"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@color/background_app"
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editSize_editTextX"
|
||||
android:layout_width="140dp"
|
||||
android:layout_width="@dimen/_138sdp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:imeOptions="flagNoExtractUi"
|
||||
|
||||
Reference in New Issue
Block a user