Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The size of photoeditor view (Imageview)is fixed? I tried to change it but it does not change #6

Closed
vishalkohad2202 opened this issue Feb 16, 2018 · 4 comments

Comments

@vishalkohad2202
Copy link

No description provided.

@burhanrashid52
Copy link
Owner

PhotoEditorView is subclass of RelativeLayout in which ImageView is set in CENTER with height/width as wrap_content. So yes you can change the height of RelativeLayout which will effect the size of ImageView too

@vishalkohad2202
Copy link
Author

I am using the dependency so i am unable to change in the class i.e photoeditor view extends relative layout

@burhanrashid52
Copy link
Owner

You can directly change from xml layout like this

<ja.burhanrashid52.photoeditor.PhotoEditorView
        android:id="@+id/photoEditorView"
        android:layout_width="100dp"
        android:layout_height="100dp"
        app:src="@drawable/got_s" />

@burhanrashid52
Copy link
Owner

Its working as expected.Closing the issue due to inactivity

Agfct added a commit to Agfct/PhotoEditor that referenced this issue Oct 26, 2018
burhanrashid52 added a commit that referenced this issue Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants