Home | History | Annotate | Download | only in dreamtheater
      1 package com.android.dreamtheater;
      2 
      3 import android.app.Activity;
      4 import android.content.Intent;
      5 import android.graphics.Canvas;
      6 
      7 import android.widget.ViewFlipper;
      8 import android.widget.ImageView;
      9 import android.view.View;
     10 
     11 import android.support.v13.dreams.BasicDream;
     12 
     13 public class Demos {
     14     public static class Demo1 extends BasicDream {
     15     }
     16 
     17     public static class Demo2 extends BasicDream {
     18         @Override
     19         public void onStart() {
     20             super.onStart();
     21             setContentView(R.layout.slideshow);
     22         }
     23 
     24         @Override
     25         public void onAttachedToWindow() {
     26             final ViewFlipper flipper = (ViewFlipper) findViewById(R.id.faster_than_lightning);
     27             flipper.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);
     28             flipper.startFlipping();
     29         }
     30     }
     31 }
     32