하나의 관리자 (수직), 하나의 RichTextField 및 하나의 버튼이있는 팝업 화면 (기본적으로 EULA 화면 용)을 구현하려고합니다. 나는 관리자에게 eula 텍스트를 표시하고 관리자 만이 스크롤해야 팝업 화면을 표시하지 않고 관리자 뒤에 버튼을 추가해야합니다.관리자 (블랙 베리)의 팝업 화면 스크롤 문제
문제 : RichTextField의 텍스트가 작 으면 텍스트와 버튼을 볼 수 있습니다. 그러나 텍스트가 너무 길면 관리자가 조금씩 스크롤하여 버튼을 전혀 볼 수 없습니다. 여기
내가 무슨 짓을했는지 있습니다 :
class ApplicationEulaScreen extends PopupScreen implements FieldChangeListener
{
private VerticalFieldManager mainContainer;
private RichTextField eulaText;
private ButtonField okButton;
ApplicationEulaScreen()
{
super(new VerticalFieldManager(VerticalFieldManager.NO_VERTICAL_SCROLL);
mainContainer = new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL | VERTICAL_SCROLLBAR | USE_ALL_HEIGHT);
eulaText = new RichTextField("Indicates whether network connectivity is possible. "
+"A network is unavailable when a persistent or semi-persistent condition prevents the possibility of connecting to that network. Examples include "
+"* The device is out of the coverage area for any network of this type. "
+"* The device is on a network other than the home network (i.e., roaming), and data roaming has been disabled. "
+"* The device's radio is turned off, e.g., because airplane mode is enabled. ", RichTextField.READONLY | RichTextField.USE_TEXT_WIDTH);
okButton = new ButtonField("Ok", ButtonField.FIELD_HCENTER | FOCUSABLE | ButtonField.CONSUME_CLICK);
okButton.setChangeListener(this);
mainContainer.add(eulaText);
add(okButton);
}
}
이에 도움이 필요합니다.
어떤 시뮬레이터 또는 장치를 테스트 할 수 있습니까? – Swati
이 문제는 970090009550에서 테스트 한 거의 모든 시뮬레이터에 적용됩니다. 장치에서 테스트되지 않음 – amsiddh