如上图。

//@null是去掉边框    <RadioGroup        android:layout_width="match_parent"        android:layout_height="wrap_content"        android:orientation="horizontal" >        <RadioButton             android:layout_width="wrap_content"            android:layout_height="wrap_content"            android:drawableLeft="@drawable/event_icon"            android:text="事件"            android:button="@null"            />        <EditText             android:layout_width="match_parent"            android:layout_height="wrap_content"            android:hint="请输入事件名称"            android:gravity="right"            android:background="@null"            />    RadioGroup>    <View                android:layout_width="match_parent"                android:layout_height="2dp"                android:layout_margin="5dp"                android:background="@android:color/darker_gray" />

更多相关文章

  1. android圆形图片显示效果,带边框
  2. android recovery模式选项中索引改进
  3. android 事件分发
  4. Android(安卓)Dialog 去除背景内容模糊
  5. Android通过PopupMenu定义弹出菜单的位置
  6. android studio 65536
  7. android 如何去掉状态栏和标题栏
  8. android实现双击事件的监听
  9. Android解析微博小尾巴

随机推荐

  1. Java设计模式之Command在Android中的应用
  2. Linux的CPU调速器
  3. Android之获得已安装程序列表
  4. Android精通:View与ViewGroup,LinearLayout
  5. 自动化代码检查优化Lint
  6. Ice Cream Sandwich 已非正式移植于 Nexu
  7. 第二章:Android,Getting start(二)
  8. Android(安卓)扩展-对任意的属性做动画
  9. 总结Android(安卓)App内存优化之图片优化
  10. Android(安卓)Studio 如何使用真机调试 (