Android用户界面-带边框的圆桌
有谁能帮助我实现android的这种风格吗Android用户界面-带边框的圆桌,android,user-interface,Android,User Interface,有谁能帮助我实现android的这种风格吗 我还没有在android上做过很多用户界面设计。我可以使用表格布局本身吗?将此xml文件保存在可绘制文件夹中,并在表格布局的后台使用它: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <c
我还没有在android上做过很多用户界面设计。我可以使用表格布局本身吗?将此xml文件保存在可绘制文件夹中,并在表格布局的后台使用它:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<corners
android:topLeftRadius="6dp"
android:topRightRadius="6dp"
android:bottomLeftRadius="6dp"
android:bottomRightRadius="6dp" />
<solid
android:color="#ffffff"/>
<padding
android:left="1dp"
android:right="1dp"
android:top="1dp"
android:bottom="1dp"/>
<stroke
android:width="1dp"
android:color="#c7c7c7" />
</shape>
您可以根据需要更改边框颜色和纯色
注意:有关上述代码的详细说明,请参阅此。您可以使用html代替,并在webview中显示数据
我做过类似的工作。是的,这给了我形状。谢谢。对于中间的那些行,我只需要使用表格单元格,并为其设置正确的边框。。。。