activity_receive:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://www.easck.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="10dp" android:text="所有短信" android:textColor="#fff" android:background="#000" android:textSize="23sp" android:textStyle="bold"/> <ListView android:id="@+id/list_receive" android:layout_width="match_parent" android:layout_height="match_parent"></ListView> </LinearLayout>
activity_receive_show:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://www.easck.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#000" android:padding="12dp" android:text="短信解密" android:textColor="#fff" android:textSize="25sp" android:textStyle="bold" /> <TableLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:padding="10dp" android:stretchColumns="1" android:shrinkColumns="1"> <TableRow android:layout_marginTop="10dp" android:layout_width="match_parent" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:text="号码:" android:textColor="#000" android:textSize="20sp" /> <TextView android:id="@+id/address_show" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:background="@drawable/edit_text_style" android:maxLines="1" android:singleLine="true" android:textSize="18sp" /> </TableRow > <TableRow android:layout_width="match_parent" android:layout_marginBottom="10dp" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:text="时间:" android:textColor="#000" android:textSize="20sp" /> <TextView android:id="@+id/time_show" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:background="@drawable/edit_text_style" android:maxLines="1" android:textSize="18sp" /> </TableRow> <TableRow android:layout_marginBottom="10dp" android:layout_width="match_parent"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:text="原文本:" android:textColor="#000" android:textSize="20sp" /> <TextView android:id="@+id/early_body_show" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/edit_text_style" android:minLines="6" android:maxLines="6" android:textSize="18sp" /> </TableRow> <TableRow android:layout_width="match_parent"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:text="解析后:" android:textColor="#000" android:textSize="20sp" /> <TextView android:id="@+id/late_body_show" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/edit_text_style" android:minLines="6" android:maxLines="6" android:singleLine="false" android:textSize="18sp" /> </TableRow> </TableLayout> </LinearLayout>










