卓-表格布局 及 边框

原创  2015年08月19日 19:08:37
  • 1768

[html]  view plain  copy
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:id="@+id/LinearLayout1"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical"
  7. >
  8. <TableLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:stretchColumns="0,1,2"
  12. android:background="#000000"
  13. android:layout_margin="2dp"
  14. >
  15. <TableRow>
  16. <TextView
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:layout_margin="0.5dp"
  20. android:background="#ffffffff"
  21. android:text="姓名" />
  22. <TextView
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:layout_margin="0.5dp"
  26. android:background="#ffffffff"
  27. android:text="联系方式" />
  28. <TextView
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:layout_margin="0.5dp"
  32. android:background="#ffffffff"
  33. android:text="工作" />
  34. </TableRow>
  35. <TableRow>
  36. <TextView
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:layout_margin="0.5dp"
  40. android:background="#ffffffff"
  41. android:text="张三" />
  42. <TextView
  43. android:layout_width="match_parent"
  44. android:layout_height="match_parent"
  45. android:layout_margin="0.5dp"
  46. android:background="#ffffffff"
  47. android:text="12345678909" />
  48. <TextView
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:layout_margin="0.5dp"
  52. android:background="#ffffffff"
  53. android:text="程序员" />
  54. </TableRow>
  55. <TableRow>
  56. <TextView
  57. android:layout_width="match_parent"
  58. android:layout_height="match_parent"
  59. android:layout_margin="0.5dp"
  60. android:background="#ffffffff"
  61. android:text="岑金" />
  62. <TextView
  63. android:layout_width="match_parent"
  64. android:layout_height="match_parent"
  65. android:layout_margin="0.5dp"
  66. android:background="#ffffffff"
  67. android:text="13245647867" />
  68. <TextView
  69. android:layout_width="match_parent"
  70. android:layout_height="match_parent"
  71. android:layout_margin="0.5dp"
  72. android:background="#ffffffff"
  73. android:text="画家" />
  74. </TableRow>
  75. <TableRow>
  76. <TextView
  77. android:layout_width="match_parent"
  78. android:layout_height="match_parent"
  79. android:layout_margin="0.5dp"
  80. android:background="#ffffffff"
  81. android:text="薛琳" />
  82. <TextView
  83. android:layout_width="match_parent"
  84. android:layout_height="match_parent"
  85. android:layout_margin="0.5dp"
  86. android:background="#ffffffff"
  87. android:text="13889655896" />
  88. <TextView
  89. android:layout_width="match_parent"
  90. android:layout_height="match_parent"
  91. android:layout_margin="0.5dp"
  92. android:background="#ffffffff"
  93. android:text="作家" />
  94. </TableRow>
  95. </TableLayout>
  96. </LinearLayout>

安卓-表格布局 及 边框颜色设置相关推荐

  1. 修改el-table表格单元格边框颜色

    修改el-table表格单元格边框颜色 第一步:设置除表头单元格边框样式 :cell-style="{borderColor:'#C0C0C0'}" 第二步:设置表头单元格边框样式 ...

  2. DIV遮罩层、弹框、设置颜色、边框颜色设置等功能实现

    文章目录 DIV遮罩层.弹框.设置颜色.边框颜色设置等功能实现 一.DIV是什么? 二.功能实现 1.静态页面 2.弹框 3.边框设置 三.参考代码 DIV遮罩层.弹框.设置颜色.边框颜色设置等功能实 ...

  3. HTML快速入门5——不规则表格、表格背景、边框颜色

    不规则表格 例子: <table border=1> <tr><td>1,1</td><td>1,2</td><td> ...

  4. php边框的颜色 怎么设置,网页中table表格如何修改边框颜色

    table表格是网页制作中以前较常使用的一种布局方式,但随着DIV+CSS的兴起,table表格已辉煌不在.但它在我们制作网页中也是时有用到.table表格也可以使用DIV一样随意的设置它的边框颜色. ...

  5. html表格线条颜色怎么改变颜色,网页中table表格如何修改边框颜色

    table表格是网页制作中以前较常使用的一种布局方式,但随着DIV+CSS的兴起,table表格已辉煌不在.但它在我们制作网页中也是时有用到.table表格也可以使用DIV一样随意的设置它的边框颜色. ...

  6. html表格内图片填充颜色设置,使用HTML添加表格4(行颜色与表格嵌套)——零基础自学网页制作...

    行颜色设置的简便方法 昨天我们在<使用HTML添加表格3(间距与颜色)--零基础自学网页制作>中学习了设置单元格以及其中内容的空间间距和背景颜色. 其中添加列向单元格背景颜色只需要修改对应 ...

  7. html中div边框老是置顶,div三条边边框颜色设置

    div三条边的边框颜色配置,不必要径自设置装备摆设三边边框技俩,否则会浪掷代码,一样平常我们会设置四条边的边框(设置border就可),再设置装备摆设哪条边不有边框那就再设置装备摆设对应那条边边框为0 ...

  8. 怎么修改网页边框html,DIV+CSS网页布局之边框的设置方法

    CSS Borders 边框 边框可以运用到body里的大部分HTML元素. 制作一个元素的边框,你需要border-style边框样式.值可以是: solid, dotted, dashed, do ...

  9. 如何设置html中按钮边框颜色,CSS-为什么我的电子邮件按钮边框显示两种颜色,而边框颜色设置为仅显示一种颜色?...

    从上图可以看到,当border-color设置为显示白色边框时,我的电子邮件按钮边框同时显示灰色和白色.我已经发布了以下代码: SCSS @mixin border-radius($radius) { ...

最新文章

  1. linux根文件系统配置,嵌入式Linux的Cramfs根文件系统配置的解决方案
  2. 【咸鱼教程】基于系统时间的计时器DateTimer(不受FPS影响)
  3. java生成验证码工具类_Java生成图形验证码工具类
  4. java 切面获取参数_每天分享一点Java知识(spring-aop)
  5. VC++的dll中接收消息
  6. 云服务器定时启动程序_过去、现在和未来:开发一款微信小程序的技术迭代全过程...
  7. 未来金融科技宣布已完成mBTC系统和技术升级,消费者可用比特币进行在线支付
  8. 《TCP/IP详解卷1:协议》第12章 广播和多播---读书笔记
  9. 记一次spirngMVC整合HttpPrinter的过程
  10. ant design 时间控件清空值
  11. svn将本地项目传到svn
  12. 新人Unity下载安装
  13. 国内外常用计算机杀毒软件,国外杀毒软件排行榜(国内的不要)
  14. 计算机主机爆炸,意外:插入计算机后,主机的电源就会烧断。发生了什么?计算机电源爆炸了吗?...
  15. 使用广和通L610模块搭配RT-Thread操作系统连接onenet云
  16. SAP总账科目增强写入客商(BAPI导入)
  17. Django 中 models 用法及参数详解
  18. 2022最新综述 | 面向大规模场景的小目标检测:综述和 benchmark
  19. c语言输入任意长度字符串,读取不定长字符串输入
  20. 有网络时yum无法安装,报错:Loading mirror speeds from cached hostfile

热门文章

  1. Mac 键盘同步苹果键盘,鼠标滑动方向与Windows的一致
  2. 公司年会脱口秀《家》
  3. SetWindowLongPtr之GWLP_USERDATA
  4. TomcatJSON parse error: Invalid UTF-8 解决办法
  5. Missing return statement
  6. 暴雪娱乐推首个免费游戏 支持iPad平板电脑
  7. python怎么快速打括号_三分钟,让你弄清楚Python中函数的括号使用
  8. 芒果互娱与淘宝内容生态达成合作,进一步升级台网融合模式
  9. 【Wannafly Camp day 2】【Legilimens Contest 3】
  10. 【极简壁纸】桌面壁纸美图推荐_2019/01/23