Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将有一个具有两个或三个相对布局的页面。其中之一必须专门用于包含折线图。为了显示折线图,我使用 AChartEngine。我想知道相对布局如何容纳 AChartEngine?
如果不可能,请建议我解决方案。
如果你想在 AchartEngine 中显示一个图形作为整个屏幕的一部分,你需要GraphicalView
GraphicalView
private GraphicalView mChartView; //... mChartView = ChartFactory.getLineChartView(this, mDataset, mRenderer); RelativeLayout rlLayout=...; rlLayout.addView(mChartView);