这里写图片描述

如上图。

//@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. 背景及边框处理
  2. android framework 输入事件分析
  3. android hover监控鼠标移动事件
  4. Android按钮事件响应顺序
  5. 【Android View】Android中View对触摸事件的处理和传递dispatchT

随机推荐

  1. Android的Launcher成为系统中第一个启动
  2. 基于Android的计算器(代码行数足够用来交
  3. android中listView下拉刷新
  4. 我是如何自学Android,资料分享
  5. 【Android】手写优化-更为平滑的签名效果
  6. ANDROID 开机启动VNC SERVER
  7. Android(安卓)button去掉背影阴影效果
  8. Android的隐私保护利器
  9. 读取联系人 2.0
  10. Android手机搭建Linux服务器