how to prevent background img be swiped

how to prevent background img be swiped

BY 11 Nov 2015 Web Application Development
.ecopage{
background-image:url(../resource/ECO.png);
position: absolute;
left:0px;
top:0px;
width: 100%;
height: 100%;
display: none;
}
<div id="eco" class="ecopage">
        <div  align = "center">  
       </div> 
    </div>

Hi,

I am developing an Gear S2 app, however, if I swipe my screen upwards, the background img would go upside. Accordingly, it will show black background with nothing real contents.

My img resolution is 360*360, which fulfill the watch exactly. I hope this image could be fixed, always occupying the whole screen. 

My application does not response to “swipe left/right”, and it has no tau lib. So I think disable swipe action is meaningless. 

Anyone knows how to resolve this issue?  Thanks.

 

  

 

Written by