Android.widget,textView cannot be cast to android.widget,button
问题 I keep getting a runtime error when launching my activity and it says android.widget.textview cannot be cast to android.widget.button? XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout1" android:layout_width="fill_parent" android:layout_height="match_parent" android:orientation="vertical" tools:ignore="HardcodedText" > <TextView android:id="@+id