Вы можете добавить вид между двумя макетами с высотой 1dp :
<view
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/black" />
Итак, измените ваш код на:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/commerce_divider"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@color/apple"
android:orientation="vertical"></LinearLayout>
<view
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/black" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@color/white"></LinearLayout>
</LinearLayout>