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