--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/4f4bc112-3efa-4c6f-965b-d594efa3ddc6o%40android.com.
<ImageView
app:layout_constraintEnd_toEndOf="view_finder"
app:layout_constraintStart_toStartOf="view_finder"
app:layout_constraintTop_toTopOf="view_finder"
app:layout_constraintBottom_BottomOf="view_finder"
android:id="@+id/overlayView" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="visible" />
<androidx.camera.view.PreviewView android:id="@+id/view_finder" android:layout_width="match_parent" android:layout_height="match_parent" />
Hi Rob,Can you try to swap the order of <ImageView> and <PreviewView> ? Does it fix the problem ?
Scott
On Fri, Jun 19, 2020 at 8:28 PM Rob <r9o...@gmail.com> wrote:
--Hi All,We are trying to figure out how to overlay drawing ON the PreviewView on which the Camerax is displayed. We already know where the face is located so we don'tneed to use Firebase to get that information. We tried placing an ImageView over the PreviewView and creating a transparent bitmap displayed in the ImageView.We did this with Camera1 and Camera2 using a TextureView, for the camera display and ImageView for drawing but are having difficulty with CameraX.Does anyone have a sample, preferable in Java, but anything is fine or idea if this is the correct approach. We have seen a few, but they are done with the pre alpha07 update.<ImageViewandroid:id="@+id/overlayView"android:layout_width="match_parent"android:layout_height="match_parent"android:visibility="visible" /><androidx.camera.view.PreviewViewandroid:id="@+id/view_finder"android:layout_width="match_parent"android:layout_height="match_parent" />Thanks,Rob
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-developers+unsub...@android.com.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/4f4bc112-3efa-4c6f-965b-d594efa3ddc6o%40android.com.
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/0bc7aa27-0efb-4a60-bcf0-0a7e4993ba1do%40android.com.