question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using painting In PhotoEditorView , drawing mode is working on "ImageView" and "RelativeLayout" both instead of only "ImageView"

See original GitHub issue

Problems Preview (watch PaintFragment)

Updated preview Link

Problems :

  1. In PaintFragment Although ja.burhanrashid52.photoeditor.PhotoEditorView width is android:layout_width="match_parent" but it is not stretch width as parent width
  2. We know PhotoEditorView is combination of ImageView and RelativeLayout , So ja.burhanrashid52.photoeditor.PhotoEditorView width is not as parent then when Draw upon on ImageView then it’s ok but when draw outside of ImageView means RelativeLayout 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:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wasim15185commented, Aug 6, 2021

@burhanrashid52 but same problem with adding Sticker and Text (Edited Comment)

0reactions
github-actions[bot]commented, Nov 3, 2021

This issue was closed because it has been stalled for 5 days with no activity.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found