button设置背景图片,有边框 sorry,现在没有代码,不过只有一个button一个背景图片,很简单的布局,但是不知道为什么会这样 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 设置button的background 不要这是src 能不能贴个代码看下 :)ic_launcher就是自带的机器人。白框还有可能是你的图自带的。<Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/ic_launcher" android:text="Button" /> 设置完背景图片,记得backgroud=@null。如果这样后还没边框,那说明背景图片有边框。 android 源代码make -j4 android客户端和pc服务端连接出错 android framebuffer 截屏操作问题 对ViewFlipper熟的说一下该怎么用 Android 2.3 如何编译.a的库文件 触屏问题 请教高手--关于气泡菜单的问题 android中的Animation在imageview上无效 Android radiogroup问题 SignalR for Android(SignalA),求相关api android5.0art模式不兼容NDK?? 关于播放器的seekto的方法
ic_launcher就是自带的机器人。
白框还有可能是你的图自带的。
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/ic_launcher"
android:text="Button" />