activity_login.xml:26: error: No resource IDentifIEr found for attribute 'login_text' in package
我的按钮xml如下:
<com.facebook.Widget.Loginbutton xmlns:fb="http://schemas.androID.com/apk/res-auto" androID:ID="@+ID/facebookBtn" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:layout_margintop="25dp" androID:textcolor="@color/white" androID:textAppearance="@androID:style/TextAppearance.Small" androID:gravity="center" androID:onClick="facebookBtnClick" androID:paddingleft="30dp" fb:login_text="@string/loginWithFacebook" />
我也试过放入xmlns:fb =“http://schemas.androID.com/apk/res/com.facebook.Widget”
但这对我来说也不起作用,如果有人有任何建议我会非常感激
Style attr Tags are Now namespaced to avoID conflicts. Apps will need
to add the namespace “com_facebook_” to their existing facebook sdk
style attrs.
所以,现在使用fb:com_facebook_login_text.
总结以上是内存溢出为你收集整理的android – Facebook登录按钮小部件没有资源标识全部内容,希望文章能够帮你解决android – Facebook登录按钮小部件没有资源标识所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)