-1

It appears that the actual game is "on top" the textview...

Here's layout:

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

tools:context=".MyActivity">


<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textAppearance="?android:attr/textAppearanceLarge"
    android:text="Large Text"
    android:id="@+id/textView"
    android:layout_centerVertical="true"
    android:layout_centerHorizontal="true" />

I draw everything else onDraw

user2088880
  • 39
  • 2
  • 8

1 Answers1

0

You can use canvas.drawText() and delete the TextView. I think that's easier. Look at this for an example: Android Canvas.drawText

Community
  • 1
  • 1
Jeff
  • 27
  • 2
  • 9