`
lizhuang
  • 浏览: 893206 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Buttons in button bars should be borderless;

 
阅读更多
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

文档看的好,大家都好。
分享到:
评论

相关推荐

    自己平时做的android相关的总结

    Buttons in button bars should be borderless android 支持的距离单位 使用adb shell命令进入手机后使用ls命令提示: opendir failed permission denied 使用adb pull 命令提示permission denied Button 中的...

    Navigation Buttons for button

    标题"Navigation Buttons for button"表明这是一个关于为Delphi按钮组件增添导航功能的资源。描述中的"a good navigation buttons for delphi best to try!"暗示这可能是一个高质量的导航按钮组件库,适用于Delphi...

    数学计算的mfc小程序

    The A window should provide two buttons: Start/Stop button and Pause/Continue button. 1. At the beginning, Only A window is visible, and there are two buttons on it: Start button is enabled, and ...

    Moving buttons. This effect can be done with labels as well.

    标题中的“Moving buttons”指的是在用户界面设计中,实现按钮移动效果的技术。这种效果不仅可以应用于按钮,还可以应用于标签(labels)。在编程和图形用户界面(GUI)开发中,动态效果可以提升用户体验,使得交互...

    button的js代码

    // This function renders a block of buttons function renderButtons(title){ Ext.getBody().createChild({tag: 'h2', html: title}); new ButtonPanel( 'Text Only', [{ text: 'Add User' },{ text: '...

    wpf radiobutton模版设计成button样式

    wpf radiobutton模版设计成button样式

    datatables HTML5 buttons插件

    Buttons提供一套给用户添加自定义按钮的特性,让按钮看起来和表格是一个整体。 Buttons提供了一些基本的按钮,比如打印,导出之类的按钮,也提供了API让用户自己扩展按钮,触发自定义的操作。 当在DataTable中显示...

    动态生成button并且实现分页

    foreach (var buttonElement in doc.Descendants("Button")) { Button btn = new Button(); btn.Text = buttonElement.Attribute("text").Value; this.Controls.Add(btn); } ``` 在实际项目中,我们可能还需要...

    Android按钮内带进度条Android Buttons With Built-in progress

    Android按钮内带进度条Android Buttons With Built-in progress 可以用于登陆按钮等地方

    Flutter-Sign-in-Button:Flutter的登录按钮帮助程序库

    import 'package:flutter_signin_button/flutter_signin_button.dart' ; 用于内置按钮。 SignInButton ( Buttons . Google , onPressed : () {}, ) // with custom text SignInButton ( Buttons . Google , ...

    Actual Title Buttons 3.6

    这不,一个名叫Actual Title Buttons的小工具就是专门用来对标题栏中的图标进行更改的,没想到吧。通过使用这一工具,你可以为普通窗口标题栏增加“最小化至系统托盘”和“总在最上面”两个特殊的按钮。

    AlphaControls 2014 xe6 full source

    AlphaControls :: history ... * Fixed error in TsSpeedButton when Action used and button is destroyed * Improved switching of the TsSlider component * TsSlider is improved in some skins

    Button.Shop.4.16网页按钮制作

    Button.Shop.4.16网页按钮制作 Button.Shop.4.16网页按钮制作

    Web按钮集合Buttons.zip

    Buttons 是基于 Sass 和 Compass 框架构建的各式各样的 Web 上的按钮集合。 标签:Buttons CSS框架

    xscrollbar

    customized scroll bar.It has the following features: Support for both horizontal and vertical scroll bars ...The scroll bar and its components should be sized according to the size of a specified rect

    css3 按钮简单10种颜色线性渐变web buttons网页按钮

    css3 按钮简单10种颜色线性渐变web buttons网页按钮 css3 按钮简单10种颜色线性渐变web buttons网页按钮

    一些漂亮的css3button

    【标题】:“一些漂亮的css3button” 在网页设计中,CSS3(层叠样式表第三版)已经成为一种不可或缺的技术,它极大地丰富了网页的表现力,尤其是对于按钮(button)的样式设计。本资源集合名为“一些漂亮的css3...

    Segmented Buttons.zip

    Segmented Buttons ,Segmented Buttons 是一个 iOS 控件,添加了类似 Tweet 风格的 iOS S...

    Buttons:Buttons是DataTables的扩展,它将控制按钮添加到表中

    纽扣DataTables的Buttons扩展提供了一组通用的选项,API方法和样式,以在将与DataTable交互的页面上显示按钮。 还提供了用于数据导出,打印和列可见性控制的模块。安装使用Buttons获得软件的主要方法是使用。 您还...

    CH08_FPGA_Button_FPGA实用示例BUTTON_thenls2_

    FPGA 按键实用示例 适合初学者 学习使用

Global site tag (gtag.js) - Google Analytics