2017-12-02 9 views

答えて

0

はい、あなたはあなたのスピナーのアダプタ内のカスタム列の項目を使用することによって、これを達成することができます。

レイアウトファイルを作成し、android.R.layout.spinner_itemの代わりにこのファイルアダプタの使用中scrollable_text.xml

scrollable_text.xml

<HorizontalScrollView 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_marginTop="50dp" > 

     <TextView/>  // this will be your text where you will set your values 

    </HorizontalScrollView> 

、その後を言います。