mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Minor layout changes.
This commit is contained in:
@@ -45,6 +45,8 @@ implements OnClickListener {
|
||||
layout.addView(innerLayout);
|
||||
|
||||
TextView interfering = new TextView(this);
|
||||
interfering.setGravity(CENTER_HORIZONTAL);
|
||||
interfering.setPadding(0, 0, 0, 10);
|
||||
interfering.setText(R.string.interfering);
|
||||
layout.addView(interfering);
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ implements WifiStateListener, BluetoothStateListener, OnClickListener {
|
||||
layout.addView(innerLayout);
|
||||
|
||||
TextView checkNetwork = new TextView(this);
|
||||
checkNetwork.setGravity(CENTER_HORIZONTAL);
|
||||
checkNetwork.setText(R.string.check_same_network);
|
||||
layout.addView(checkNetwork);
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ OnEditorActionListener {
|
||||
layout.addView(innerLayout);
|
||||
|
||||
TextView enterNickname = new TextView(this);
|
||||
enterNickname.setGravity(CENTER_HORIZONTAL);
|
||||
enterNickname.setText(R.string.enter_nickname);
|
||||
layout.addView(enterNickname);
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ implements WifiStateListener, BluetoothStateListener, OnClickListener {
|
||||
layout.setGravity(CENTER_HORIZONTAL);
|
||||
|
||||
TextView sameNetwork = new TextView(this);
|
||||
sameNetwork.setGravity(CENTER_HORIZONTAL);
|
||||
sameNetwork.setText(R.string.same_network);
|
||||
layout.addView(sameNetwork);
|
||||
|
||||
|
||||
@@ -42,10 +42,12 @@ implements ConfirmationListener {
|
||||
layout.addView(innerLayout);
|
||||
|
||||
TextView yourCode = new TextView(this);
|
||||
yourCode.setGravity(CENTER_HORIZONTAL);
|
||||
yourCode.setText(R.string.your_confirmation_code);
|
||||
layout.addView(yourCode);
|
||||
|
||||
TextView code = new TextView(this);
|
||||
code.setGravity(CENTER_HORIZONTAL);
|
||||
code.setTextSize(50);
|
||||
InvitationManager im = InvitationManagerFactory.getInvitationManager();
|
||||
code.setText(im.getLocalConfirmationCode());
|
||||
|
||||
Reference in New Issue
Block a user