Это мои первые приложения, пожалуйста, помогите мне исправить этот код. Настройка Кнопка не работаетИдентификатор ресурса не найден для атрибута 'onclick' в пакете 'android'
<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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:onclick='buttonBtn'
></Button>
возможный дубликат [Нет идентификатора ресурса найдено для атрибута 'onClick' в пакете 'android'] (http://stackoverflow.com/questions/13596244/no-resource-identifier-found-for-attribute-onclick-in-package-android) –
Этот вопрос не соответствует теме, потому что это опечатка. http://meta.stackexchange.com/questions/167342/close-all-the-typo-questions – laalto