Some minor fixes

This commit is contained in:
Jakob Nixdorf 2018-02-28 14:32:41 +01:00
parent 11f7d386b0
commit 1f1b37edd5
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -35,7 +35,6 @@ import android.text.Editable;
import android.text.InputType; import android.text.InputType;
import android.text.TextWatcher; import android.text.TextWatcher;
import android.text.method.PasswordTransformationMethod; import android.text.method.PasswordTransformationMethod;
import android.util.Log;
import android.util.SparseArray; import android.util.SparseArray;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -47,7 +46,6 @@ import android.widget.EditText;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import android.widget.Spinner; import android.widget.Spinner;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast;
import com.heinrichreimersoftware.materialintro.app.IntroActivity; import com.heinrichreimersoftware.materialintro.app.IntroActivity;
import com.heinrichreimersoftware.materialintro.app.OnNavigationBlockedListener; import com.heinrichreimersoftware.materialintro.app.OnNavigationBlockedListener;
@ -115,7 +113,9 @@ public class IntroScreenActivity extends IntroActivity {
.build() .build()
); );
authenticationFragment.setSlidePos(2); // Tell the fragment where it is located
authenticationFragment.setSlidePos(getSlides().size());
addSlide(new FragmentSlide.Builder() addSlide(new FragmentSlide.Builder()
.background(R.color.colorPrimary) .background(R.color.colorPrimary)
.backgroundDark(R.color.colorPrimaryDark) .backgroundDark(R.color.colorPrimaryDark)