30 lines
965 B
XML
30 lines
965 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
id="@+id/custom_spinner"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="50dp"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp">
|
||
|
<Spinner
|
||
|
gravity="center_horizontal"
|
||
|
layout_gravity="center"
|
||
|
id="@+id/spinner"
|
||
|
background="#ffffff"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_centerVertical="true"
|
||
|
spinnerMode="dropdown"
|
||
|
layout_marginStart="8dp"
|
||
|
layout_marginEnd="8dp"/>
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/ic_expand_more_black_24dp"
|
||
|
layout_alignParentRight="true"
|
||
|
layout_centerVertical="true"
|
||
|
contentDescription="@null"
|
||
|
layout_alignParentEnd="true"/>
|
||
|
</RelativeLayout>
|