This AR app generally show where things are in the real-world by indicating where the app thinks they are over the camera view when the user holds the phone up and moves it about.
MIT License
206
stars
85
forks
source link
Not able to add TextView using Relative Layout. #6
I am creating location based AR app using Kotlin, in which i used RelativeLayout and added TextView in that RelativeLayout as below code.
class AROverlayByViewGroup(context: Context) : RelativeLayout(context) { val TAG: String = "AROverlayByViewGroup" var rotatedProjectionMatrix: FloatArray = kotlin.FloatArray(16) private var currentLocation: Location? = null var arPoints: MutableList = ArrayList()
val cameraCoordinateVector: FloatArray = kotlin.FloatArray(4)
}
I am not getting any textview. What do i need to change for this?