change button text from Ok to Invite

This commit is contained in:
Eric House 2012-02-22 10:37:10 -08:00
parent 6f2b5a9c8d
commit 12de8bf38b
3 changed files with 4 additions and 3 deletions

View file

@ -38,8 +38,8 @@
<!-- /> -->
</LinearLayout>
<Button android:id="@+id/button_ok"
android:text="@string/button_ok"
<Button android:id="@+id/button_invite"
android:text="@string/button_invite"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>

View file

@ -1874,6 +1874,7 @@
%2$d seconds.</string>
<string name="bt_failf">Giving up on %1$s: Bluetooth send failed
too many times.</string>
<string name="button_invite">Invite</string>
</resources>

View file

@ -66,7 +66,7 @@ public class BTInviteActivity extends XWListActivity
TextView desc = (TextView)findViewById( R.id.invite_desc );
desc.setText( Utils.format( this, R.string.invite_descf, m_nMissing ) );
m_okButton = (Button)findViewById( R.id.button_ok );
m_okButton = (Button)findViewById( R.id.button_invite );
m_okButton.setOnClickListener( this );
m_rescanButton = (Button)findViewById( R.id.button_rescan );
m_rescanButton.setOnClickListener( this );