Lines Matching refs:TextView
35 * a single TextView. If you want to use a more complex layout, use the constructors that
36 * also takes a field id. That field id should reference a TextView in the larger layout
39 * <p>However the TextView is referenced, it will be filled with the toString() of each object in
75 * If the inflated resource is not a TextView, {@link #mFieldId} is used to find
76 * a TextView inside the inflated views hierarchy. This field must contain the
100 * @param textViewResourceId The resource ID for a layout file containing a TextView to use when
113 * @param textViewResourceId The id of the TextView within the layout resource to be populated
123 * @param textViewResourceId The resource ID for a layout file containing a TextView to use when
137 * @param textViewResourceId The id of the TextView within the layout resource to be populated
148 * @param textViewResourceId The resource ID for a layout file containing a TextView to use when
162 * @param textViewResourceId The id of the TextView within the layout resource to be populated
368 TextView text;
378 // If no custom field is assigned, assume the whole resource is a TextView
379 text = (TextView) view;
381 // Otherwise, find the TextView field within the layout
382 text = (TextView) view.findViewById(mFieldId);
385 Log.e("ArrayAdapter", "You must supply a resource ID for a TextView");
387 "ArrayAdapter requires the resource ID to be a TextView", e);