@Test public void testGetScrollView() { GlifLayout layout = new GlifLayout(mContext); assertNotNull("Get scroll view should not be null with default template", layout.getScrollView()); }
public ScrollView getScrollView() { final View view = findManagedViewById(R.id.suw_scroll_view); return view instanceof ScrollView ? (ScrollView) view : null; }
GlifLayout extends TemplateLayout { public ScrollView getScrollView() { final View view = findManagedViewById(R.id.suw_scroll_view); return view instanceof ScrollView ? (ScrollView) view : null; } }
GlifLayout extends TemplateLayout { public ScrollView getScrollView() { final View view = findManagedViewById(R.id.suw_scroll_view); return view instanceof ScrollView ? (ScrollView) view : null; } GlifLayout(Context context);  GlifLayout(Context context, int template);  GlifLayout(Context context, int template, int containerId);  GlifLayout(Context context, AttributeSet attrs); @TargetApi(VERSION_CODES.HONEYCOMB)  GlifLayout(Context context, AttributeSet attrs, int defStyleAttr); }
GlifLayout extends TemplateLayout { public ScrollView getScrollView() { final View view = findManagedViewById(R.id.suw_scroll_view); return view instanceof ScrollView ? (ScrollView) view : null; } GlifLayout(Context context);  GlifLayout(Context context, int template);  GlifLayout(Context context, int template, int containerId);  GlifLayout(Context context, AttributeSet attrs); @TargetApi(VERSION_CODES.HONEYCOMB)  GlifLayout(Context context, AttributeSet attrs, int defStyleAttr); View inflateFooter(@LayoutRes int footer); View inflateStickyHeader(@LayoutRes int header); ScrollView getScrollView(); TextView getHeaderTextView(); void setHeaderText(int title); void setHeaderText(CharSequence title); CharSequence getHeaderText(); void setHeaderColor(ColorStateList color); ColorStateList getHeaderColor(); void setIcon(Drawable icon); Drawable getIcon(); void setPrimaryColor(@NonNull ColorStateList color); ColorStateList getPrimaryColor(); void setBackgroundBaseColor(@Nullable ColorStateList color); @Nullable ColorStateList getBackgroundBaseColor(); void setBackgroundPatterned(boolean patterned); boolean isBackgroundPatterned(); boolean isProgressBarShown(); void setProgressBarShown(boolean shown); ProgressBar peekProgressBar(); }
GlifLayout extends TemplateLayout { public ScrollView getScrollView() { final View view = findManagedViewById(R.id.suw_scroll_view); return view instanceof ScrollView ? (ScrollView) view : null; } GlifLayout(Context context);  GlifLayout(Context context, int template);  GlifLayout(Context context, int template, int containerId);  GlifLayout(Context context, AttributeSet attrs); @TargetApi(VERSION_CODES.HONEYCOMB)  GlifLayout(Context context, AttributeSet attrs, int defStyleAttr); View inflateFooter(@LayoutRes int footer); View inflateStickyHeader(@LayoutRes int header); ScrollView getScrollView(); TextView getHeaderTextView(); void setHeaderText(int title); void setHeaderText(CharSequence title); CharSequence getHeaderText(); void setHeaderColor(ColorStateList color); ColorStateList getHeaderColor(); void setIcon(Drawable icon); Drawable getIcon(); void setPrimaryColor(@NonNull ColorStateList color); ColorStateList getPrimaryColor(); void setBackgroundBaseColor(@Nullable ColorStateList color); @Nullable ColorStateList getBackgroundBaseColor(); void setBackgroundPatterned(boolean patterned); boolean isBackgroundPatterned(); boolean isProgressBarShown(); void setProgressBarShown(boolean shown); ProgressBar peekProgressBar();  }