Android Wear: CardScrollView не может прокручиваться?

Я использую CardScrollView и CardFrame в своем проекте, но CardScrollView не может прокручивать, вот мой код, любое предложение?

CardScrollViewActivity.java

public class CardScrollViewActivity extends Activity { private CardFrame cardFrame; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.card_scroll_view); cardFrame=(CardFrame)findViewById(R.id.card_frame); cardFrame.setExpansionDirection(CardFrame.EXPAND_UP); cardFrame.setExpansionEnabled(true); cardFrame.setExpansionFactor(CardFrame.NO_EXPANSION); } } 

card_scroll_view.xml

 <android.support.wearable.view.CardScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content"> <android.support.wearable.view.CardFrame android:id="@+id/card_frame" android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="5dp" android:text="TestTextView\nTestTextView\nTestTextView\nTestTextView\nTestTextView\nTestTextView\nTestTextView\nTestTextView"/> </android.support.wearable.view.CardFrame> </android.support.wearable.view.CardScrollView> 

CardScrollView, похоже, не работает, как ScrollView.

Вы можете просто обернуть CardFrame с помощью ScrollView.

 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <android.support.wearable.view.CardFrame android:id="@+id/cardFrame" android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </android.support.wearable.view.CardFrame> </FrameLayout> </ScrollView>