一.自定义View(该方法已经太过老旧)
<!--竖边框-->
<LinearLayout
android:layout_width="1px"
android:layout_height="match_parent">
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_text_gamesize" />
</LinearLayout>
<!--横边框-->
<LinearLayout
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_text_gamesize"
/>
android:layout_width="match_parent"
android:layout_height="1px">
</LinearLayout>
<!--竖线-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">