直播间搭建,按钮左滑出现删除等操作按钮
直播间搭建,按钮左滑出现删除等操作按钮
1 | <?xml version= "1.0" encoding= "utf-8" ?><br><RelativeLayout<br> android:layout_width= "match_parent" <br> android:layout_height= "wrap_content" <br> xmlns:android= "http://schemas.android.com/apk/res/android" <br> android:layout_marginTop= "10dp" ><br> <TextView<br> android:id= "@+id/SideText" <br> android:layout_width= "100dp" <br> android:layout_height= "60dp" <br> android:text= "选择车位" <br> android:textSize= "15sp" <br> android:background= "#DD2248" <br> android:gravity= "center" <br> android:textColor= "#ffffff" <br> android:layout_marginRight= "10dp" <br> android:layout_centerInParent= "true" <br> android:layout_alignParentRight= "true" /><br> <!--大--><br> <LinearLayout<br> android:id= "@+id/SideLayout" <br> android:layout_width= "match_parent" <br> android:layout_height= "70dp" <br> android:orientation= "horizontal" <br> android:background= "@drawable/btn_style" <br> android:gravity= "center" <br> android:padding= "10dp" ><br> <!--小--><br> <LinearLayout<br> android:layout_weight= "1" <br> android:layout_width= "0dp" <br> android:layout_height= "wrap_content" <br> android:orientation= "vertical" <br> android:layout_marginLeft= "5dp" ><br> <TextView<br> android:id= "@+id/SimplePlace" <br> android:layout_width= "wrap_content" <br> android:layout_height= "wrap_content" <br> android:text= "工人文化宫停车场" <br> android:textColor= "#000000" <br> android:textSize= "15sp" <br> android:singleLine= "true" <br> android:ellipsize= "end" <br> /><br> <TextView<br> android:id= "@+id/detailPlace" <br> android:layout_width= "wrap_content" <br> android:layout_height= "wrap_content" <br> android:text= "田心大道52号附件" <br> android:textSize= "10sp" <br> android:layout_marginTop= "10dp" <br> android:singleLine= "true" <br> android:ellipsize= "end" <br> /><br> </LinearLayout><br> <!--小--><br> <LinearLayout<br> android:layout_weight= "1" <br> android:layout_width= "0dp" <br> android:layout_height= "wrap_content" <br> android:orientation= "vertical" <br> android:layout_marginLeft= "10dp" <br> android:layout_gravity= "center" <br> android:gravity= "center" ><br> <ImageView<br> android:id= "@+id/ParkingIcon" <br> android:layout_width= "30dp" <br> android:layout_height= "30dp" <br> android:src= "@drawable/road_sign" <br> android:scaleType= "fitCenter" /><br> <TextView<br> android:id= "@+id/ParkingDistance" <br> android:layout_width= "wrap_content" <br> android:layout_height= "wrap_content" <br> android:text= "201m" <br> android:textSize= "10sp" /><br> </LinearLayout><br> <LinearLayout<br> android:layout_width= "0dp" <br> android:layout_height= "wrap_content" <br> android:layout_weight= "1" <br> android:layout_gravity= "center" <br> android:gravity= "center" ><br> <TextView<br> android:layout_width= "wrap_content" <br> android:layout_height= "wrap_content" <br> android:text= "空余车位:" <br> android:textColor= "#000000" <br> android:textSize= "15sp" /><br> <TextView<br> android:id= "@+id/ParkingNumber" <br> android:layout_width= "wrap_content" <br> android:layout_height= "wrap_content" <br> android:text= "10个" <br> android:textColor= "#ff0000" <br> android:textSize= "15sp" /><br> </LinearLayout><br> </LinearLayout><br></RelativeLayout> |
以上就是 直播间搭建,按钮左滑出现删除等操作按钮,更多内容欢迎关注之后的文章
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】
2021-08-09 短视频app搭建获取手机图库最新一个视频或照片的缩略图
2021-08-09 实现直播带货系统开发通知栏显示下载图片的进度条
2021-08-09 XML动态加载如何在直播视频网站源码中实现