Search in sources :

Example 26 with TextView

use of android.widget.TextView in project cw-omnibus by commonsguy.

the class PopupAdapter method getInfoContents.

@SuppressLint("InflateParams")
@Override
public View getInfoContents(Marker marker) {
    if (popup == null) {
        popup = inflater.inflate(R.layout.popup, null);
    }
    TextView tv = (TextView) popup.findViewById(R.id.title);
    tv.setText(marker.getTitle());
    tv = (TextView) popup.findViewById(R.id.snippet);
    tv.setText(marker.getSnippet());
    return (popup);
}
Also used : TextView(android.widget.TextView) SuppressLint(android.annotation.SuppressLint)

Example 27 with TextView

use of android.widget.TextView in project cw-omnibus by commonsguy.

the class PopupAdapter method getInfoContents.

@SuppressLint("InflateParams")
@Override
public View getInfoContents(Marker marker) {
    if (popup == null) {
        popup = inflater.inflate(R.layout.popup, null);
    }
    TextView tv = (TextView) popup.findViewById(R.id.title);
    tv.setText(marker.getTitle());
    tv = (TextView) popup.findViewById(R.id.snippet);
    tv.setText(marker.getSnippet());
    return (popup);
}
Also used : TextView(android.widget.TextView) SuppressLint(android.annotation.SuppressLint)

Example 28 with TextView

use of android.widget.TextView in project cw-omnibus by commonsguy.

the class LegalNoticesActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.legal);
    TextView legal = (TextView) findViewById(R.id.legal);
    legal.setText(GoogleApiAvailability.getInstance().getOpenSourceSoftwareLicenseInfo(this));
}
Also used : TextView(android.widget.TextView)

Example 29 with TextView

use of android.widget.TextView in project cw-omnibus by commonsguy.

the class LegalNoticesActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.legal);
    TextView legal = (TextView) findViewById(R.id.legal);
    legal.setText(GoogleApiAvailability.getInstance().getOpenSourceSoftwareLicenseInfo(this));
}
Also used : TextView(android.widget.TextView)

Example 30 with TextView

use of android.widget.TextView in project cw-omnibus by commonsguy.

the class LegalNoticesActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.legal);
    TextView legal = (TextView) findViewById(R.id.legal);
    legal.setText(GoogleApiAvailability.getInstance().getOpenSourceSoftwareLicenseInfo(this));
}
Also used : TextView(android.widget.TextView)

Aggregations

TextView (android.widget.TextView)4784 View (android.view.View)2545 ImageView (android.widget.ImageView)1082 Button (android.widget.Button)423 LinearLayout (android.widget.LinearLayout)417 LayoutInflater (android.view.LayoutInflater)401 ListView (android.widget.ListView)375 Intent (android.content.Intent)367 AdapterView (android.widget.AdapterView)356 ViewGroup (android.view.ViewGroup)314 OnClickListener (android.view.View.OnClickListener)291 Test (org.junit.Test)197 RecyclerView (android.support.v7.widget.RecyclerView)177 ScrollView (android.widget.ScrollView)157 Drawable (android.graphics.drawable.Drawable)152 DialogInterface (android.content.DialogInterface)145 Context (android.content.Context)144 EditText (android.widget.EditText)138 Bundle (android.os.Bundle)133 AlertDialog (android.app.AlertDialog)127