FileDocCategorySizeDatePackage
UniqueIds.javaAPI DocAndroid 5.1 API2852Thu Mar 12 22:22:44 GMT 2015com.android.transitiontests

UniqueIds

public class UniqueIds extends android.app.Activity

Fields Summary
android.view.ViewGroup
mSceneRoot
static android.transition.Scene
mCurrentScene
android.transition.TransitionManager
mTransitionManager
HashMap
mSceneMap
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle savedInstanceState)


    
        
        super.onCreate(savedInstanceState);
        setContentView(R.layout.unique_id_test);

        LinearLayout container = (LinearLayout) findViewById(R.id.container);
        LayoutInflater inflater = getLayoutInflater();
        Button button = (Button) inflater.inflate(R.layout.button_template, null);
        container.addView(button);
        ToggleScene scene = new ToggleScene(container, button);
        mSceneMap.put(button, scene);
        button = (Button) inflater.inflate(R.layout.button_template, null);
        container.addView(button);
        scene = new ToggleScene(container, button);
        mSceneMap.put(button, scene);
    
public voidsendMessage(android.view.View view)

        mSceneMap.get(view).changeToScene();