Я новичок в Android, и это мой первый вопрос.
Я пытаюсь добавить цветную вертикальную границу в начале карты. Как я могу добиться этого на xml? Я попробовал добавить его с пустым текстовым просмотром, но он испортил всю картографию. Пожалуйста, ознакомьтесь с приведенной ниже ссылкой на изображение.
activity_main.xml
<android.support.v7.widget.CardView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
card_view:contentPadding="16dp"
card_view:cardElevation="2dp"
card_view:cardCornerRadius="5dp">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Title" />
<TextView
style="@style/Base.TextAppearance.AppCompat.Body1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Content here" />
</LinearLayout>
</android.support.v7.widget.CardView>
Большое спасибо