Bug起因,要写两个并排的按钮,登录按钮和注册按钮,因为没有背景图,美工在忙别的事,没空理。所以就出了这个问题
Buttons in button bars should be borderless; use style="?android:attr/buttonBarButtonStyle" (and ?android:attr/buttonBarStyle on the parent)
解决办法:
<Button
android:id="@+id/button_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send"
android:onClick="sendMessage"
style="?android:attr/borderlessButtonStyle" />
http://developer.android.com/guide/topics/ui/controls/button.html
文档看的好,大家都好。
Buttons in button bars should be borderless;
猜你喜欢
转载自lizhuang.iteye.com/blog/2008597
今日推荐
周排行