我有一个谷歌地图和一个SlidingUpPanelLayout ,我从按钮到顶部一切都工作正常除了我在布局幻灯片上有一条线像图像显示,我圈出让我发疯的线
主要布局:
<?xml version="1.0" encoding="utf-8"?>
<fr.****.SlidingUpPanelLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:shadowHeight="4dp"
android:divider="@null"
android:dividerHeight="0dp"
sothree:overlay="true">
...
<include
android:divider="@null"
android:dividerHeight="0dp"
layout="@layout/f_restaurant_info_screen" />
</fr.****.SlidingUpPanelLayout>
包含的f_restaurant_info_screen.xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical"
android:clickable="true"
android:background="@color/transparent"
android:divider="@null"
android:dividerHeight="0dp"
android:id="@+id/panel_root">
<LinearLayout
android:layout_marginTop="30dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical"
android:orientation="vertical"
android:clickable="true"
android:focusable="true"`
android:background="@color/fiche_resto_background">
....
问题是地图由我要删除的行组成
感谢您的帮助
简单地说:shadowHeight =“0dp”解决问题
答案 0 :(得分:0)
更改此sothree:shadowHeight =&#34; 4dp&#34;到这个
sothree:shadowHeight =&#34; 0dp&#34;