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>
|
||||
|
||||
<include layout="@layout/divider" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/list"
|
||||
android:layout_width="match_parent"
|
||||
<FrameLayout
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="0dp"
|
||||
android:drawSelectorOnTop="true" />
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1">
|
||||
|
||||
<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" />
|
||||
|
||||
|
|
|
@ -103,8 +103,6 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/divider" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
|
@ -129,6 +127,16 @@
|
|||
app:srcCompat="@drawable/bg_shadow_onmap"
|
||||
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>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -234,7 +234,7 @@ public class QuickSearchCustomPoiFragment extends DialogFragment {
|
|||
|
||||
}
|
||||
});
|
||||
|
||||
view.findViewById(R.id.topBarShadow).setVisibility(View.VISIBLE);
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue