3
ADF 모바일에서 가장 많이 보는 PanelPage의 배경에 이미지를 표시하고 싶습니다. 배경에서 이미지를 설정하고 싶습니다.화면 (보기) 배경에 이미지를 표시합니다.
내 AMX 파일은 다음과 같습니다
<?xml version="1.0" encoding="UTF-8" ?>
<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt" >
<amx:panelPage id="pp1" inlineStyle='background-image:url("image/custom_cell_image.png");'>
<amx:facet name="header">
<amx:outputText value="Requition Line" id="ot1"/>
</amx:facet>
<amx:facet name="primary">
<amx:commandButton id="cb1" text="Requisition" inlineStyle="font-size:small;" action="__back"/>
</amx:facet>
<amx:facet name="footer">
<amx:commandButton id="cb2" action="back" text="Approve" styleClass="adfmf-commandButton-default"/>
<amx:commandButton text="Reject" id="cb3"/>
<amx:commandButton text="Request More Info" id="cb4"/>
</amx:facet>
<amx:commandButton text="commandButton1" id="cb5"/>
</amx:panelPage>
</amx:view>
나는 이미지 URL을 설정하지만, 영향을받지 않습니다. 배경색을 설정하면 효과가 나타납니다.
는이에 대한 해결책을 찾았나요 panelPage styleClass = 패널 페이지 사용자 정의? 내 bg 이미지는 설정 될 수는 있지만 완료되지는 않습니다. 구성 요소가 이미지보다 작 으면 크기가 커지고 xhdpi, mdpi, ldpi와 같이 다양한 크기의 장치로 설정하려고합니다. 나는 그것에 붙어있다. – Deepika