Code example for ImageView

Methods: getResourcessetImageDrawable

   * @param drawable 
   * @return image view 
  public ImageView setDrawable(final int id, final int drawable) {
    ImageView image = imageView(id);
    return image;
   * Register on checked change listener to child view with given id 
   * @param id 
   * @param listener 
   * @return view registered with listener 
  public CompoundButton onCheck(final int id,
      final OnCheckedChangeListener listener) {
    CompoundButton checkable = find(id);
Contextual code suggestions in your IDE  Get Codota for Java