[BUGFIX] fine print label for six month
This commit is contained in:
parent
f80eac3a38
commit
d65b3fa550
|
@ -60,19 +60,12 @@ public class MagicCreateActivity extends XmppActivity implements TextWatcher {
|
|||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
||||
}
|
||||
super.onCreate(savedInstanceState);
|
||||
this.binding = DataBindingUtil.setContentView(this, R.layout.magic_create);
|
||||
setSupportActionBar((Toolbar) this.binding.toolbar);
|
||||
configureActionBar(getSupportActionBar(), this.domain == null);
|
||||
if (username != null && domain != null) {
|
||||
binding.title.setText(R.string.your_server_invitation);
|
||||
binding.instructions.setText(getString(R.string.magic_create_text_fixed, domain));
|
||||
binding.finePrint.setVisibility(View.INVISIBLE);
|
||||
this.bfinePrint.setVisibility(View.INVISIBLE);
|
||||
binding.username.setEnabled(false);
|
||||
binding.username.setText(this.username);
|
||||
updateFullJidInformation(this.username);
|
||||
} else if (domain != null) {
|
||||
binding.instructions.setText(getString(R.string.magic_create_text_on_x, domain));
|
||||
binding.finePrint.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
binding.createAccount.setOnClickListener(v -> {
|
||||
try {
|
||||
|
|
|
@ -95,19 +95,6 @@
|
|||
android:padding="8dp"
|
||||
android:src="@drawable/main_logo" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fine_print"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:maxLines="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:text="@string/free_for_six_month"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:textSize="@dimen/fineprint_size" />
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in New Issue