use of com.android.resources.Navigation in project android by JetBrains.
the class ConfigureDeviceOptionsStep method createUIComponents.
private void createUIComponents() {
myNavigationControlsCombo = new ComboBox(new EnumComboBoxModel<>(Navigation.class)) {
@Override
public ListCellRenderer getRenderer() {
return new ColoredListCellRenderer() {
@Override
protected void customizeCellRenderer(@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) {
append(((Navigation) value).getShortDisplayValue());
}
};
}
};
myHardwareSkinHelpLabel = new HyperlinkLabel("How do I create a custom hardware skin?");
myHardwareSkinHelpLabel.setHyperlinkTarget(AvdWizardUtils.CREATE_SKIN_HELP_LINK);
myCustomSkinPath = new SkinChooser(null, false);
myDeviceDefinitionPreview = new DeviceDefinitionPreview(getModel().getDeviceData());
}
Aggregations