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

How can we add text below frame ? #186

Open
kartikterralogic opened this issue Jun 29, 2023 · 1 comment
Open

How can we add text below frame ? #186

kartikterralogic opened this issue Jun 29, 2023 · 1 comment

Comments

@kartikterralogic
Copy link

kartikterralogic commented Jun 29, 2023

There is no property to add text (up, down, right,left). Similar like whatsApp. Please help

@ninjia0
Copy link

ninjia0 commented Jun 30, 2023

if you are using android studio you can use RelativeLayout.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

<com.budiyev.android.codescanner.CodeScannerView
    android:id="@+id/scanner_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerHorizontal="true"
    android:layout_marginTop="550dp"
    android:text="800362145621"
    android:textSize="24sp" />

</RelativeLayout>

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