Example usage for android.widget ViewFlipper addView

List of usage examples for android.widget ViewFlipper addView

Introduction

In this page you can find the example usage for android.widget ViewFlipper addView.

Prototype

public void addView(View child) 

Source Link

Document

Adds a child view.

Usage

From source file:Main.java

public static ViewFlipper creativeFlipper(Context context, ArrayList<View> addView, int in_ani, int out_ani) {
    ViewFlipper flipper = creativeFlipper(context);
    for (int i = 0; i < addView.size(); i++)
        flipper.addView(addView.get(i));
    setAnimation(context, flipper, in_ani, out_ani);
    return flipper;
}

From source file:com.aqnote.app.wifianalyzer.wifi.graph.time.TimeGraphFragment.java

private void addGraphViews(View view, TimeGraphAdapter timeGraphAdapter) {
    ViewFlipper viewFlipper = (ViewFlipper) view.findViewById(R.id.graphFlipper);
    for (GraphView graphView : timeGraphAdapter.getGraphViews()) {
        viewFlipper.addView(graphView);
    }/*from   w  w w.jav a2  s  . c  o  m*/
}

From source file:com.aqnote.app.wifianalyzer.wifi.graph.channel.ChannelGraphFragment.java

private void addGraphViews(View view, ChannelGraphAdapter channelGraphAdapter) {
    ViewFlipper viewFlipper = (ViewFlipper) view.findViewById(R.id.graphFlipper);
    for (GraphView graphView : channelGraphAdapter.getGraphViews()) {
        viewFlipper.addView(graphView);
    }/*w w w  .  j a v  a  2  s.c  o  m*/
}

From source file:kr.co.generic.wifianalyzer.wifi.graph.time.TimeGraphFragment.java

private void addGraphViews(View view, TimeGraphAdapter timeGraphAdapter) {
    ViewFlipper viewFlipper = (ViewFlipper) view.findViewById(kr.co.generic.wifianalyzer.R.id.graphFlipper);
    for (GraphView graphView : timeGraphAdapter.getGraphViews()) {
        viewFlipper.addView(graphView);
    }/*www.  ja v a  2 s.  co m*/
}

From source file:kr.co.generic.wifianalyzer.wifi.graph.channel.ChannelGraphFragment.java

private void addGraphViews(View view, ChannelGraphAdapter channelGraphAdapter) {
    ViewFlipper viewFlipper = (ViewFlipper) view.findViewById(kr.co.generic.wifianalyzer.R.id.graphFlipper);
    for (GraphView graphView : channelGraphAdapter.getGraphViews()) {
        viewFlipper.addView(graphView);
    }//from  w  w w.  j a  v a2 s . c o  m
}

From source file:io.github.carlorodriguez.alarmon.MediaListView.java

public void addToFlipper(ViewFlipper flipper) {
    this.flipper = flipper;
    flipper.setAnimateFirstView(false);//from  www . j av  a  2 s .  c  om
    flipper.addView(this);
}

From source file:eu.e43.impeller.activity.MainActivity.java

public void showOverlay(OverlayController controller, View overlay) {
    if (m_overlayController != null) {
        evictOverlay();//  w  w  w.  j av  a  2  s .  c  o m
    }
    ViewFlipper flipper = (ViewFlipper) findViewById(R.id.overlay_flipper);
    flipper.addView(overlay);
    flipper.setDisplayedChild(1);
    m_overlayController = controller;
    setUiFlags();
}