From 52d5190052d53ee7c518086ac3c930993188d18f Mon Sep 17 00:00:00 2001 From: Scott Main Date: Wed, 26 Feb 2014 10:34:54 -0800 Subject: fix typos Change-Id: I28bcbf5ae5fade081d9b71701f5568145d700e9c --- docs/html/guide/topics/ui/controls/button.jd | 2 +- docs/html/guide/topics/ui/controls/togglebutton.jd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/html/guide/topics/ui') diff --git a/docs/html/guide/topics/ui/controls/button.jd b/docs/html/guide/topics/ui/controls/button.jd index 41b67b7..cb274ae 100644 --- a/docs/html/guide/topics/ui/controls/button.jd +++ b/docs/html/guide/topics/ui/controls/button.jd @@ -113,7 +113,7 @@ android.view.View} that was clicked)

Using an OnClickListener

-

You can also declare the click event handler pragmatically rather than in an XML layout. This +

You can also declare the click event handler programmatically rather than in an XML layout. This might be necessary if you instantiate the {@link android.widget.Button} at runtime or you need to declare the click behavior in a {@link android.app.Fragment} subclass.

diff --git a/docs/html/guide/topics/ui/controls/togglebutton.jd b/docs/html/guide/topics/ui/controls/togglebutton.jd index 3119cd9..5e2a551 100644 --- a/docs/html/guide/topics/ui/controls/togglebutton.jd +++ b/docs/html/guide/topics/ui/controls/togglebutton.jd @@ -99,7 +99,7 @@ android.widget.CompoundButton#toggle()} method to change the state.

Using an OnCheckedChangeListener

-

You can also declare a click event handler pragmatically rather than in an XML layout. This +

You can also declare a click event handler programmatically rather than in an XML layout. This might be necessary if you instantiate the {@link android.widget.ToggleButton} or {@link android.widget.Switch} at runtime or you need to declare the click behavior in a {@link android.app.Fragment} subclass.

-- cgit v1.1