在UI上画横竖线
来源:互联网 发布:网络渠道管理 编辑:程序博客网 时间:2024/05/09 01:44
1.画竖线 <ImageView
android:layout_width="1dip"
android:layout_height="match_parent"
android:background="@drawable/line_img"
/>
2. 画横线 <ImageView
android:layout_width="match_parent"
android:layout_height="1dip"
android:background="@drawable/line_img"
/>
3.在限制特定范围的竖线
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:visibility="gone"
>
<ImageView
android:id="@+id/draw_line_img"
android:layout_width="1dip"
android:layout_height="match_parent"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:background="@drawable/line_img"
android:visibility="gone"
/>
</LinearLayout>
drawable/line_img 是一个点的.9图片。
- 在UI上画横竖线
- 在做jquery mobile ui 的demo时发现字体在手机上横竖屏字体大小不一样
- cocos2d 在ios上设置横竖屏
- UI 横竖屏控制
- 在Cocos2d-x上实现横竖屏切换
- 在UI上使用BackgroundWorker
- 在UI上使用BackgroundWorker
- 在UI上显示Bitmap
- 在3D物体上创建UI
- unity3D 让粒子在UI上播放
- android 在UI上显示Bitmap
- 判读鼠标是否在UI上
- Unity UGUI 是否点击在UI上
- 在UI界面上加边框
- UE4播放在UI上播放视频
- UE4在UI上显示人物模型
- Displaying Bitmaps in Your UI[在UI上呈现Bitmap]
- 横竖屏切换设置不刷新UI
- J2EE 乱码两张解决方式--小结
- objective-c runtime安全措施之一:反调试
- 名词王国里的死刑
- 【热门主题:鬼泣5游戏xp主题】
- vtigercrm 5.4 安装database utf 8 support not enabled
- 在UI上画横竖线
- 操作系统基础知识
- Truth table for AND operator
- javascript笔记3
- null id in org.htss.messageservice.pojo.Task entry (don't flush the Session after an exception occur
- 一段JS代码,点击按钮显示一块区域,再点击则隐藏这块区域
- usb设备如何检测
- POJ 2492 并查集 注释版
- ssh登录很慢的问题