mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 04:18:53 +01:00
Removed redundant calls to setTextSize(14), which is the default.
This commit is contained in:
@@ -64,7 +64,6 @@ implements OnItemSelectedListener, OnClickListener {
|
||||
addView(innerLayout);
|
||||
|
||||
TextView faceToFace = new TextView(ctx);
|
||||
faceToFace.setTextSize(14);
|
||||
faceToFace.setPadding(pad, pad, pad, pad);
|
||||
faceToFace.setText(R.string.face_to_face);
|
||||
addView(faceToFace);
|
||||
|
||||
@@ -43,7 +43,6 @@ implements OnEditorActionListener, OnClickListener {
|
||||
Context ctx = getContext();
|
||||
TextView enterCode = new TextView(ctx);
|
||||
enterCode.setGravity(CENTER_HORIZONTAL);
|
||||
enterCode.setTextSize(14);
|
||||
enterCode.setPadding(pad, pad, pad, 0);
|
||||
enterCode.setText(prompt);
|
||||
addView(enterCode);
|
||||
|
||||
@@ -43,7 +43,6 @@ class CodesDoNotMatchView extends AddContactView implements OnClickListener {
|
||||
|
||||
TextView interfering = new TextView(ctx);
|
||||
interfering.setGravity(CENTER);
|
||||
interfering.setTextSize(14);
|
||||
interfering.setPadding(pad, 0, pad, pad);
|
||||
interfering.setText(R.string.interfering);
|
||||
addView(interfering);
|
||||
|
||||
@@ -37,7 +37,6 @@ class ConfirmationCodeView extends AddContactView implements CodeEntryListener {
|
||||
|
||||
TextView yourCode = new TextView(ctx);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setTextSize(14);
|
||||
yourCode.setPadding(pad, pad, pad, pad);
|
||||
yourCode.setText(R.string.your_confirmation_code);
|
||||
addView(yourCode);
|
||||
|
||||
@@ -45,7 +45,6 @@ class ConnectionFailedView extends AddContactView implements OnClickListener {
|
||||
|
||||
TextView couldNotFind = new TextView(ctx);
|
||||
couldNotFind.setGravity(CENTER);
|
||||
couldNotFind.setTextSize(14);
|
||||
couldNotFind.setPadding(pad, 0, pad, pad);
|
||||
couldNotFind.setText(R.string.could_not_find_contact);
|
||||
addView(couldNotFind);
|
||||
|
||||
@@ -21,7 +21,6 @@ class ConnectionView extends AddContactView {
|
||||
Context ctx = getContext();
|
||||
TextView yourCode = new TextView(ctx);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setTextSize(14);
|
||||
yourCode.setPadding(pad, pad, pad, pad);
|
||||
yourCode.setText(R.string.your_invitation_code);
|
||||
addView(yourCode);
|
||||
|
||||
@@ -37,7 +37,6 @@ class ContactDetailsView extends AddContactView {
|
||||
|
||||
TextView yourCode = new TextView(ctx);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setTextSize(14);
|
||||
yourCode.setPadding(pad, 0, pad, pad);
|
||||
yourCode.setText(R.string.your_confirmation_code);
|
||||
addView(yourCode);
|
||||
|
||||
@@ -19,7 +19,6 @@ class InvitationCodeView extends AddContactView implements CodeEntryListener {
|
||||
Context ctx = getContext();
|
||||
TextView yourCode = new TextView(ctx);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setTextSize(14);
|
||||
yourCode.setPadding(pad, pad, pad, pad);
|
||||
yourCode.setText(R.string.your_invitation_code);
|
||||
addView(yourCode);
|
||||
|
||||
@@ -37,7 +37,6 @@ class WaitForContactView extends AddContactView {
|
||||
|
||||
TextView yourCode = new TextView(ctx);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setTextSize(14);
|
||||
yourCode.setPadding(pad, 0, pad, pad);
|
||||
yourCode.setText(R.string.your_confirmation_code);
|
||||
addView(yourCode);
|
||||
|
||||
Reference in New Issue
Block a user