在這裏您可以看到我的旋轉木馬布局xml文件。獲取屏幕尺寸並將它們設置爲旋轉木馬視圖android
<com.touchmenotapps.carousel.simple.HorizontalCarouselLayout
android:id="@+id/carousel_layout_event"
android:layout_width="600dp"
android:layout_height="500dp"
android:layout_above="@+id/relativeLayout1"
android:layout_alignTop="@+id/carousel_layout" >
</com.touchmenotapps.carousel.simple.HorizontalCarouselLayout>
我想設置運行Android模擬器屏幕寬度&高度到Android:layout_width &安卓layout_height ...
誰能幫助我。感謝
什麼問題在於具有'layout_width'和''layout_height' match_parent's? – gunar