在我的应用程序中,我想使用Spinner
,为此,我使用custom library
但是给我看一半文字!!!
为此,我在下面用XML编写代码:
<RelativeLayout
android:id="@+id/SerialReview_GenreLay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/SerialReview_SortByLay"
android:orientation="vertical">
<TextView
android:id="@+id/SerialReview_GenreTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/size15"
android:fontFamily="sans-serif-light"
android:text="@string/reviewType"
android:textSize="@dimen/font16" />
<fr.ganfra.materialspinner.MaterialSpinner
android:id="@+id/SerialReview_ReviewType"
android:layout_width="match_parent"
android:layout_height="@dimen/size50"
android:layout_below="@+id/SerialReview_GenreTitle"
android:layout_marginLeft="@dimen/padding10"
android:layout_marginRight="@dimen/padding10"
app:ms_alignLabels="true"
app:ms_arrowColor="@color/darkBlueGrey"
app:ms_arrowSize="@dimen/padding10"
app:ms_enableFloatingLabel="false"
app:ms_multiline="false"
app:ms_thickness="0dp" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/size0.2"
android:layout_below="@+id/SerialReview_ReviewType"
android:layout_marginLeft="@dimen/padding10"
android:layout_marginRight="@dimen/padding10"
android:layout_marginTop="@dimen/mines10"
android:background="@color/darkBlueGrey" />
</RelativeLayout>
如何解决此问题?请帮帮我