shadow below search box
This commit is contained in:
parent
8ba8881cc4
commit
04dc5e6332
3 changed files with 33 additions and 12 deletions
|
@ -102,18 +102,31 @@
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<include layout="@layout/divider" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<ListView
|
<FrameLayout
|
||||||
android:id="@+id/list"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_width="match_parent"
|
||||||
android:divider="@null"
|
android:layout_weight="1">
|
||||||
android:dividerHeight="0dp"
|
|
||||||
android:drawSelectorOnTop="true" />
|
<ListView
|
||||||
|
android:id="@+id/list"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:divider="@null"
|
||||||
|
android:dividerHeight="0dp"
|
||||||
|
android:drawSelectorOnTop="true" />
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:id="@+id/topBarShadow"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="top"
|
||||||
|
android:rotation="180"
|
||||||
|
android:scaleType="fitXY"
|
||||||
|
app:srcCompat="@drawable/bg_shadow_onmap" />
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
<include layout="@layout/divider" />
|
<include layout="@layout/divider" />
|
||||||
|
|
||||||
|
|
|
@ -103,8 +103,6 @@
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<include layout="@layout/divider" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
@ -129,6 +127,16 @@
|
||||||
app:srcCompat="@drawable/bg_shadow_onmap"
|
app:srcCompat="@drawable/bg_shadow_onmap"
|
||||||
android:visibility="gone"/>
|
android:visibility="gone"/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:id="@+id/topBarShadow"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="top"
|
||||||
|
android:rotation="180"
|
||||||
|
android:scaleType="fitXY"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:srcCompat="@drawable/bg_shadow_onmap" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
@ -234,7 +234,7 @@ public class QuickSearchCustomPoiFragment extends DialogFragment {
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
view.findViewById(R.id.topBarShadow).setVisibility(View.VISIBLE);
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue