Example usage for android.widget FrameLayout subclass-usage

List of usage examples for android.widget FrameLayout subclass-usage

Introduction

In this page you can find the example usage for android.widget FrameLayout subclass-usage.

Usage

From source file com.linroid.pushapp.view.ContentLoaderView.java

/**
 * Created by linroid on 2/3/15.
 */
public class ContentLoaderView extends FrameLayout
        implements SwipeRefreshLayout.OnRefreshListener, View.OnClickListener {
    public static final int LOAD_MORE_ITEM_SLOP = 4;

From source file com.liferay.mobile.screens.base.list.BaseListScreenletView.java

/**
 * @author Javier Gamarra
 * @author Silvio Santos
 */
public abstract class BaseListScreenletView<E extends Parcelable, H extends BaseListAdapter.ViewHolder, A extends BaseListAdapter<E, H>>
        extends FrameLayout implements BaseListViewModel<E>, BaseListAdapterListener {

From source file com.lovejjfg.zhifou.ui.widget.BottomSheet.java

/**
 * A {@link FrameLayout} which can be dragged downward to be dismissed (either directly or via a
 * specified nested scrolling child).  It expects to contain a single child view and exposes a
 * listener interface to react to it's dismissal.
 * <p/>
 * View dragging has the benefit of reporting it's velocity allowing us to respond to flings etc

From source file com.android.fastlibrary.view.fragmentswitcher.FragmentSwitcher.java

/**
 * A fragment switcher similar to a {@link android.support.v4.view.ViewPager} that cannot be swiped
 * and does not keep offscreen fragments like a ViewPager.
 *
 * The instance state of the fragments in the adapter will be managed automatically. Perfect for use
 * with tabs, navigation drawers, or any interface that switches fragments.

From source file com.android.adam.navigation.BottomNavigationItemView.java

/**
 * @hide
 */
@RestrictTo(LIBRARY_GROUP)
public class BottomNavigationItemView extends FrameLayout implements MenuView.ItemView {
    public static final int INVALID_ITEM_POSITION = -1;

From source file com.cocosw.accessory.views.layout.CollapsingTitleLayout.java

public class CollapsingTitleLayout extends FrameLayout {

    private static final float DEFAULT_MIN_TEXT_SIZE = 12f; // 12dp

    // Pre-JB-MR2 doesn't support HW accelerated canvas scaled text so we will workaround it
    // by using our own texture

From source file com.rong.library.widget.mapsearchbar.MapSearchBar.java

/**
 * Copyright (c) 2016-2017, j2Rong
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.github.rubensousa.stackview.StackView.java

public class StackView extends FrameLayout implements StackAnimationListener {

    private static final float VERTICAL_SPACING = 10f;
    private static final float ELEVATION_SPACING = 10f;
    public static final float SCALE_X_FACTOR = 0.05f;
    public static final float SCALE_X_MIN = 0.4f;

From source file com.mb.kids_mind.view.PagerContainer.java

/**
 * PagerContainer: A layout that displays a ViewPager with its children that are outside
 * the typical pager bounds.
 */
public class PagerContainer extends FrameLayout implements ViewPager.OnPageChangeListener {

From source file com.example.tt.pullrefresh.widget.HeaderRefreshLayout.java

@SuppressWarnings("unused")
public class HeaderRefreshLayout extends FrameLayout
        implements NestedScrollingParent, NestedScrollingChild, TouchCircleView.OnLoadingListener {
    private static String TAG = "HeaderRefresh";
    // configurable attribs
    // state