GraphicsActivity.java :  » UnTagged » yghealthcare » com » ssadagu » health » graphics » Android Open Source

Android Open Source » UnTagged » yghealthcare 
yghealthcare » com » ssadagu » health » graphics » GraphicsActivity.java
package com.ssadagu.health.graphics;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;

public class GraphicsActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void setContentView(View view) {
        if (false) { // set to true to test Picture
            ViewGroup vg = new PictureLayout(this);
            vg.addView(view);
            view = vg;
        }
        
        super.setContentView(view);
    }
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.