2012-03-29 13 views

答えて

0

幅と高さが変更された場合、そのカスタムビューを線形レイアウトに配置し、以下のような線形レイアウトプロパティを変更できます。背景色については

<LinearLayout 
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent" 
     android:layout_marginRight="50dp" 
     android:layout_marginLeft="20dp" 
     android:layout_marginTop="20dp" 
     android:layout_marginBottom="20dp" 
     android:layout_weight="1" 
     android:orientation="vertical" > 

     <com.mobinius.hungama.curl.CurlView 
      android:id="@+id/curl" 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" /> 

    </LinearLayout> 

mCurlView.setBackgroundColor(0xFF202830); 
関連する問題