Finish storage wizard theming.
Storage wizard screens now have updated assets from UX, and various assets are tinted consistently. We're using our own navigation bar and wholesale replacing the layout from upstream. Fix text colors in night mode. Tell SystemUI when we're finished with the wizard flow. Bug: 21830731 Change-Id: Ic8d09cc152bfb4dcc6089b5c61d28cbdd4be3ee9
This commit is contained in:
@@ -23,7 +23,6 @@ import android.widget.CompoundButton;
|
||||
import android.widget.CompoundButton.OnCheckedChangeListener;
|
||||
import android.widget.RadioButton;
|
||||
|
||||
import com.android.internal.util.Preconditions;
|
||||
import com.android.settings.R;
|
||||
|
||||
public class StorageWizardMigrate extends StorageWizardBase {
|
||||
@@ -41,6 +40,7 @@ public class StorageWizardMigrate extends StorageWizardBase {
|
||||
}
|
||||
setContentView(R.layout.storage_wizard_migrate);
|
||||
|
||||
setIllustrationInternal(true);
|
||||
setHeaderText(R.string.storage_wizard_migrate_title, mDisk.getDescription());
|
||||
setBodyText(R.string.memory_calculating_size);
|
||||
|
||||
@@ -50,7 +50,7 @@ public class StorageWizardMigrate extends StorageWizardBase {
|
||||
mRadioNow.setOnCheckedChangeListener(mRadioListener);
|
||||
mRadioLater.setOnCheckedChangeListener(mRadioListener);
|
||||
|
||||
mRadioNow.setChecked(true);
|
||||
getNextButton().setEnabled(false);
|
||||
|
||||
mEstimate = new MigrateEstimateTask(this) {
|
||||
@Override
|
||||
@@ -73,6 +73,7 @@ public class StorageWizardMigrate extends StorageWizardBase {
|
||||
} else if (buttonView == mRadioLater) {
|
||||
mRadioNow.setChecked(false);
|
||||
}
|
||||
getNextButton().setEnabled(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user