xamarin.android - How can I resolve "No resource identifier found" for attributes in my Android project? -


i'm trying implement simple gridlayout in xamarin studio, outlined in example:

http://mobile.tutsplus.com/tutorials/android/android-user-interface-design-creating-a-numeric-keypad-with-gridlayout/

<gridlayout xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_gravity="center"     android:columncount="4"     android:orientation="horizontal" >     <button         android:layout_column="3"         android:text="/" />     <button android:text="1" />     <button android:text="2" />     <button android:text="3" />     <button android:text="*" />     <button android:text="4" />     <button android:text="5" />     <button android:text="6" />     <button android:text="-" />     <button android:text="7" />     <button android:text="8" />     <button android:text="9" />     <button         android:layout_gravity="fill"         android:layout_rowspan="3"         android:text="+" />     <button         android:layout_columnspan="2"         android:layout_gravity="fill"         android:text="0" />     <button android:text="00" />     <button         android:layout_columnspan="3"         android:layout_gravity="fill"         android:text="=" /> </gridlayout> 

but won't build. i'm getting following errors:

 error: no resource identifier found attribute 'columncount' in package 'android' (androidapplication1)  error: no resource identifier found attribute 'layout_rowspan' in package 'android' (androidapplication1)  error: no resource identifier found attribute 'layout_columnspan' in package 'android' (androidapplication1)  error: no resource identifier found attribute 'layout_columnspan' in package 'android' (androidapplication1) 

what need change make work?

try add explicitly dependency support:gridlayout-v7, have dependency support:preference-v7.

if using gradle, should looks in build.gradle (module app) : compile 'com.android.support:gridlayout-v7:23.0.+'


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -