4
我試圖繪製一些圖表與AFreeChart和它的工作非常好。 但是圖表沒有填滿顯示屏上的所有可用空間。我怎樣才能做到這一點?AFreeChart圖表不填充母
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_gravity="center" >
<com.example.digitalfilter.DemoView
android:id="@+id/demoView1"
android:layout_width="match_parent"
android:layout_height="match_parent" />
@arulmr這也* *提供答案。它可以做更多的解釋,因此可能需要反對票。 –
雖然這個代碼塊可能會回答這個問題,但最好能提供一些解釋。 – DavidPostill