currentScreen not updating - fixed & center fields

This commit is contained in:
Roumen Georgiev 2018-04-25 17:02:10 +03:00
parent 8333fe8975
commit dc91e3a544
2 changed files with 2 additions and 0 deletions

View file

@ -141,6 +141,7 @@ public class SetupWizardActivity extends AppCompatActivity {
List<SWScreen> screens = swDefinition.getScreens();
if(screens.size() > 0){
SWScreen currentScreen = screens.get(showPage);
currentWizardPage = showPage;
// show/hide prev/next buttons if we are at the beninning/end
if(showPage == screens.size() - 1) {
((Button) findViewById(R.id.next_button)).setVisibility(View.GONE);

View file

@ -31,6 +31,7 @@
android:id="@+id/fullscreen_content_fields"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical">
</LinearLayout>