Example usage for android.view ViewGroup subclass-usage

List of usage examples for android.view ViewGroup subclass-usage

Introduction

In this page you can find the example usage for android.view ViewGroup subclass-usage.

Usage

From source file com.com.tools.views.SwipeRefreshLayout.java

public class SwipeRefreshLayout extends ViewGroup implements NestedScrollingParent, NestedScrollingChild {
    // Maps to ProgressBar.Large style
    public static final int LARGE = MaterialProgressDrawable.LARGE;
    // Maps to ProgressBar default style
    public static final int DEFAULT = MaterialProgressDrawable.DEFAULT;

From source file com.com.mytoolsproject.SwipeRefreshLayout.java

public class SwipeRefreshLayout extends ViewGroup implements NestedScrollingParent, NestedScrollingChild {
    // Maps to ProgressBar.Large style
    public static final int LARGE = MaterialProgressDrawable.LARGE;
    // Maps to ProgressBar default style
    public static final int DEFAULT = MaterialProgressDrawable.DEFAULT;

From source file com.base.view.slidemenu.SlideMenu.java

/**
 * Swipe left/right to show the hidden menu behind the content view, Use
 * {@link ScrollDetector} to custom the rule of MotionEvent intercept
 * 
 * @author Tank
 * 

From source file com.hippo.widget.slidingdrawerlayout.SlidingDrawerLayout.java

@SuppressLint("RtlHardcoded")
public class SlidingDrawerLayout extends ViewGroup
        implements ValueAnimator.AnimatorUpdateListener, Animator.AnimatorListener {

    @IntDef({ STATE_CLOSED, STATE_SLIDING, STATE_OPEN })
    @Retention(RetentionPolicy.SOURCE)

From source file com.android.dialer.widget.OverlappingPaneLayout.java

/**
 * A custom layout that aligns its child views vertically as two panes, and allows for the bottom
 * pane to be dragged upwards to overlap and hide the top pane. This layout is adapted from
 * {@link android.support.v4.widget.SlidingPaneLayout}.
 */
public class OverlappingPaneLayout extends ViewGroup {

From source file com.android.widget.SlidingPaneLayout.java

public class SlidingPaneLayout extends ViewGroup {
    private static final String TAG = "VLC/SlidingPaneLayout";

    /**
     * Default size of the overhang for a pane in the open state.
     * At least this much of a sliding pane will remain visible.

From source file com.example.newviewsplayground.WrappingSlidingPaneLayout.java

/**
 * WrappingSlidingPaneLayout is a fork from SlidingPaneLayout which uses
 * the pane size to determine the scrollable area. This allows you to have
 * panes that always appear by setting the first child to match_parent and
 * the second to a fixed width or wrap_content.
 *

From source file com.akshay.protocol10.asplayer.widget.SlidingUpPanelLayout.java

public class SlidingUpPanelLayout extends ViewGroup {

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

    /**
     * Default peeking out panel height

From source file com.hippo.widget.refreshlayout.RefreshLayout.java

/**
 * The SwipeRefreshLayout should be used whenever the user can refresh the
 * contents of a view via a vertical swipe gesture. The activity that
 * instantiates this view should add an OnRefreshListener to be notified
 * whenever the swipe to refresh gesture is completed. The SwipeRefreshLayout
 * will notify the listener each and every time the gesture is completed again;

From source file com.daiv.android.twitter.manipulations.widgets.NotificationDrawerLayout.java

/**
 * DrawerLayout acts as a top-level container for window content that allows for
 * interactive "drawer" views to be pulled out from the edge of the window.
 * <p/>
 * <p>Drawer positioning and layout is controlled using the <code>android:layout_gravity</code>
 * attribute on child views corresponding to which side of the view you want the drawer