我有这个活动:
public final class CaptureActivity extends Activity implements
SurfaceHolder.Callback {
}
此活动捕获QR码(来自zxing lib)。我需要将其改为Fragment。我需要在扫描QR码时看到标签和状态栏。我想要这样的东西:
public final class CaptureActivity extends SherlockFragment implements
SurfaceHolder.Callback {
}
如何做到最小的改变?