Using painting In PhotoEditorView , drawing mode is working on "ImageView" and "RelativeLayout" both instead of only "ImageView"
See original GitHub issueProblems Preview (watch PaintFragment)
Updated preview Link
Problems :
- In PaintFragment Although
ja.burhanrashid52.photoeditor.PhotoEditorView
width isandroid:layout_width="match_parent"
but it is not stretch width as parent width - We know
PhotoEditorView
is combination ofImageView
andRelativeLayout
, Soja.burhanrashid52.photoeditor.PhotoEditorView
width is not as parent then when Draw upon onImageView
then it’s ok but when draw outside of ImageView meansRelativeLayout
then Drawing is Also working
PhotoEditorView
in PaintFragment
`<ja.burhanrashid52.photoeditor.PhotoEditorView
android:id="@+id/paint_view"
ImgTransitionName="@{@string/img_transition_unique_name}"
android:layout_width="match_parent"
android:layout_height="450dp"
android:layout_marginTop="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:photo_src="@drawable/suv" />`
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Should disallow drawing on left or right of the image · Issue #379
Describe the bug Currently, it is possible to draw on the outside (right and left only) of the selected image, due to the...
Read more >Android ImageView Is Not Displaying Image? - Stack Overflow
In my case, all my fragment's imageViews are not showing when I run my application. The problem is, I extend my "Activity" class...
Read more >Drawables overview | Android Developers
The following code snippet demonstrates how to build an ImageView that uses an image created from a drawable resource and adds it to...
Read more >6.Creating and Working with Image View using Android Studio
Learn how to create imageview UI element using android studio.
Read more >How can I overlay an imageView on another ... - Quora
Use a RelativeLayout as the parent view at that position. Put both imageviews as the child of this relativelayout. Imageview length and height...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@burhanrashid52 but same problem with adding Sticker and Text (Edited Comment)
This issue was closed because it has been stalled for 5 days with no activity.