Example usage for android.view ViewTreeObserver.OnGlobalLayoutListener interface-usage

List of usage examples for android.view ViewTreeObserver.OnGlobalLayoutListener interface-usage

Introduction

In this page you can find the example usage for android.view ViewTreeObserver.OnGlobalLayoutListener interface-usage.

Usage

From source file com.example.android.supportv4.widget.ContentLoadingProgressBarActivity.java

/**
 * Demonstrates how to use the ContentLoadingProgressBar. By default, the
 * developer should start the ContentLoadingProgressBar with visibility of
 * "gone" or "invisible". The ContentLoadingProgressBar will be shown after the
 * default delay for at least a minimum time regardless of when the "hide"
 * button is pressed.

From source file info.ipeanut.youngsamples.supportv4.widget.ContentLoadingProgressBarActivity.java

/**
 * Demonstrates how to use the ContentLoadingProgressBar. By default, the
 * developer should start the ContentLoadingProgressBar with visibility of
 * "gone" or "invisible". The ContentLoadingProgressBar will be shown after the
 * default delay for at least a minimum time regardless of when the "hide"
 * button is pressed.

From source file me.shikhov.dancer.LayoutWaiter.java

@UiThread
public class LayoutWaiter extends SimpleCancellable implements ViewTreeObserver.OnGlobalLayoutListener {
    private final Runnable onLayoutCompleteAction;
    private final Runnable onWaitCanceledAction;

    private final WeakReference<View> anchorRef;

From source file com.apptentive.android.sdk.util.image.PreviewImageView.java

public class PreviewImageView extends ImageView
        implements OnScaleGestureListener, OnTouchListener, ViewTreeObserver.OnGlobalLayoutListener

{

    public static final float SCALE_MAX = 4.0f;

From source file desipride.socialshaadi.shadiviews.EventsFragment.java

public class EventsFragment extends Fragment implements ViewTreeObserver.OnGlobalLayoutListener {

    private static final String TAG = EventsFragment.class.getSimpleName();

    private class EventViewHolder extends RecyclerView.ViewHolder {
        protected TextView title;

From source file org.solovyev.android.widget.menu.CustomPopupMenuHelper.java

/**
 * Presents a menu as a small, simple popup anchored to another view.
 */
@SuppressWarnings("unused")
@SuppressLint("PrivateResource")
public class CustomPopupMenuHelper implements AdapterView.OnItemClickListener, View.OnKeyListener,

From source file com.trellmor.mocklocationpicture.MLPActivity.java

public class MLPActivity extends Activity implements ViewTreeObserver.OnGlobalLayoutListener {
    private static final String TAG = MLPActivity.class.getName();

    private static final String KEY_IMAGE_URI = "IMAGE_URI";

    private final static int ACTIVITY_SELECT_IMAGE = 0;

From source file org.xbmc.android.remote.presentation.activity.MovieLibraryActivity.java

public class MovieLibraryActivity extends SlidingTabActivity implements ViewTreeObserver.OnGlobalLayoutListener {

    private SlidingTabHost mTabHost;

    private MovieListController mMovieController;
    private ActorListController mActorController;

From source file de.mrapp.android.bottomsheet.view.DraggableView.java

/**
 * The root view of a {@link BottomSheet}, which can be dragged by the user.
 *
 * @author Michael Rapp
 * @since 1.0.0
 */

From source file it.configure.imageloader.zoom.PhotoViewAttacher.java

public class PhotoViewAttacher
        implements IPhotoView, View.OnTouchListener, VersionedGestureDetector.OnGestureListener,
        GestureDetector.OnDoubleTapListener, ViewTreeObserver.OnGlobalLayoutListener {

    static final String LOG_TAG = "PhotoViewAttacher";