要旨
Android のビュー上に、分割線やグリッドラインのような、画面上の固定位置に直線を引くのは、Viewを使い、「1dpの幅」だと垂直線、「1dpの高さ」だと水平線、とやるのが便利です。
以下、画面中央に垂直線・水平線を引くレイアウト設定です。
layout/activity_main.xml
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
android:background="@color/colorPrimaryDark"/>
スクリーンショットです。

## 参考資料
* [Android Divider - How to Draw Vertical And Horizontal Lines](https://www.youtube.com/watch?v=SqnzChkVyyM)
本投稿の元ネタです。この動画の投稿元の”CodingDemo" も役に立ちそうです。
* [XMLで始めるConstraintLayout](https://qiita.com/nakker1218/items/0faa8c1ab504cc4cedea)
Android のレイアウト要素の配置を決めるための制約 "constraintLayout" について詳しく説明しています。