You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the example code:
` // More styles and colors for cells
HashMap<String, Object> cellConfig = new HashMap<>(8);
// TextAppearance for section, label, value and button
cellConfig.put(CellDescriptor.APPEARANCE_SECTION, Integer.valueOf(R.style.TextAppearance_Form_Section));
cellConfig.put(CellDescriptor.APPEARANCE_TEXT_LABEL, Integer.valueOf(R.style.TextAppearance_Form_Label));
cellConfig.put(CellDescriptor.APPEARANCE_TEXT_VALUE, Integer.valueOf(R.style.TextAppearance_Form_Value));
cellConfig.put(CellDescriptor.APPEARANCE_BUTTON, Integer.valueOf(R.style.TextAppearance_Form_Button));
// Disabled color for label and value
cellConfig.put(CellDescriptor.COLOR_LABEL, Integer.valueOf(0x80C0FFC0));
cellConfig.put(CellDescriptor.COLOR_VALUE, Integer.valueOf(0xC0C0FFC0));
// Disabled color for label and value
cellConfig.put(CellDescriptor.COLOR_LABEL_DISABLED, Integer.valueOf(0x80FFC0C0));
cellConfig.put(CellDescriptor.COLOR_VALUE_DISABLED, Integer.valueOf(0xC0FFC0C0));
FormDescriptor descriptor = FormDescriptor.newInstance();
descriptor.setCellConfig(cellConfig);`
but not set style; method setCellConfig not working!
The text was updated successfully, but these errors were encountered:
This is the example code:
` // More styles and colors for cells
HashMap<String, Object> cellConfig = new HashMap<>(8);
but not set style; method setCellConfig not working!
The text was updated successfully, but these errors were encountered: