【发布时间】:2015-11-29 20:27:00
【问题描述】:
我目前有这个布局。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="2"
android:orientation="vertical">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:background="?attr/colorPrimary">
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1.5"
android:background="#E5E8EC"></LinearLayout>
但我希望在蓝色标题上重叠另一个布局,类似于此。如您所见,白色框与标题重叠。
虽然我不知道该怎么做。
【问题讨论】:
标签: android