亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

定義了topbar之后不能顯示出來111

<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:paddingLeft="@dimen/activity_horizontal_margin"
? ? ? ? ? ? ? ?android:paddingRight="@dimen/activity_horizontal_margin"
? ? ? ? ? ? ? ?android:paddingTop="@dimen/activity_vertical_margin"
? ? ? ? ? ? ? ?android:paddingBottom="@dimen/activity_vertical_margin"
? ? ? ? ? ? ? ?tools:context=".MainActivity">

?<com.lst.liusitong.mytopbar.TopBar
? ? ?android:layout_width="wrap_content"
? ? ?android:layout_height="40dp">


?</com.lst.liusitong.mytopbar.TopBar>

</RelativeLayout>

? ?



錯誤? ???

正在回答

1 回答

RelativeLayout里面加入一行xmlns:topbar="http://schemas.android.com/apk/res/com.lst.liusitong.mytopbar"

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Android UI模板設計
  • 參與學習       76032    人
  • 解答問題       233    個

快來學習如何在Android中自定義View,本次課程一定會讓你獲益匪淺

進入課程

定義了topbar之后不能顯示出來111

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號