<?xml version="1.0" enCoding="utf-8"?><linearLayout xmlns:androID="http://schemas.androID.com/apk/res/androID"androID:ID="@+ID/navigation_root"androID:layout_wIDth="match_parent"androID:layout_height="wrap_content"androID:orIEntation="vertical" ><TextVIEw androID:ID="@+ID/navigation_text" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:padding="5dp" androID:text="TextVIEw" androID:textAppearance="?androID:attr/textAppearanceLarge" ></TextVIEw><Seekbar androID:ID="@+ID/navigation_seekbar" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:layout_gravity="center_vertical" androID:layout_weight="1" androID:padding="5dp" ></Seekbar><linearLayout androID:ID="@+ID/linearLayout1" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:padding="5dp" > <Imagebutton androID:ID="@+ID/part_select_button" androID:layout_wIDth="wrap_content" androID:layout_height="wrap_content" androID:src="@drawable/chapter_select" > </Imagebutton> <button androID:ID="@+ID/navigation_ok_button" androID:layout_wIDth="75dp" androID:layout_height="match_parent" androID:layout_weight="1" androID:text="@string/ok" > </button> <button androID:ID="@+ID/navigation_cancel_button" androID:layout_wIDth="75dp" androID:layout_height="match_parent" androID:layout_weight="1" androID:text="@string/cancel" > </button></linearLayout>
图像@ drawable / chapter_select是一个相当小的(41 * 41)png文件,位于res / drawable文件夹中.
解决方法 似乎这是一个androID的错误,有时可绘制文件夹中的第一个图像不会显示.在drawable文件夹中添加了一个名为aaaa.png的虚拟图像,问题解决了.在这里找到答案: ImageButton does not display a particular drawable 总结以上是内存溢出为你收集整理的Android:Drawable没有显示出来全部内容,希望文章能够帮你解决Android:Drawable没有显示出来所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)