上一篇博客写的也是千辛万苦,第一次写很多格式也没有注意,出来的效果太渣,修改了好几次才弄好。上一篇说完了把用户输入的选项信息保存成0123335621这样的字符串保存在数据库的一个表格中,当我们要查看这些数据的时候要将这些选项还原并显示出来。
首先是显示数据的布局文件
显示查询数据的布局文件
1、patient_infomanage.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/shape2"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_cont