initialxy / cordova-plugin-themeablebrowser

Fork of org.apache.cordova.inappbrowser in an attempt to make it a bit more themeable and configurable to add some custom actions.
Apache License 2.0
294 stars 221 forks source link

is it possible to change the icons ?? #108

Open samxfido opened 7 years ago

samxfido commented 7 years ago

I am new to hybrid app development in using a Themeable Browser to open the external links . if i use

backButton: { image: 'back', imagePressed: 'back_pressed', align: 'left', event: 'backPressed' }, forwardButton: { image: 'forward', imagePressed: 'forward_pressed', align: 'left', event: 'forwardPressed' }, closeButton: { image: 'close', imagePressed: 'close_pressed', align: 'left', event: 'closePressed' },`

above code nothing is visible in header its just blank (back press ,forward images are not displaying ). someone Please guide me how to do it

liuya891012 commented 7 years ago
backButton: {
          wwwImage: 'img/icon_back.png',
          wwwImagePressed: 'img/icon_back.png',
          wwwImageDensity: 6.5,//数字越大图片越小
          align: 'left',
          event: 'backPressed'
        },
rajasekarsp commented 3 years ago

@liuya891012 Where should we place 'img' folder?