[ 
https://issues.apache.org/jira/browse/CB-13409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steinar Ágúst Steinarsson updated CB-13409:
-------------------------------------------
    Description: 
I added a couple of customizations to inappbrowser's toolbar:

*Android*:
-Have a custom text for a close button instead of the Default X:
closebuttoncaption: "set to a string to use as the close buttons caption 
instead of a X. Note that you need to localize this value yourself."

-Change the close button color:
closebuttoncolor: "set to a valid hex color string, for example: `#00ff00`, and 
it will change the
close button color from default, regardless of being a text or default X. Only 
has effect if user has location set to `yes`."

-Hide the navigation buttons that go backwards and forwards:
hidenavigationbuttons: "set to `yes` to hide the navigation buttons on the 
location toolbar, only has effect if user has location set to `yes`. The 
default value is `no`."

-Change navigation buttons color:
navigationbuttoncolor: "set to a valid hex color string, for example: 
`#00ff00`, and it will change the color of both navigation buttons from 
default. Only has effect if user has location set to `yes` and not 
hidenavigationbuttons set to `yes`."

-Change color of toolbar:
toolbarcolor: "set to a valid hex color string, for example: `#00ff00`, and it 
will change the color the toolbar from default. Only has effect if user has 
location set to `yes`."


*iOS:*
closebuttoncolor(same as above)
hidenavigationbuttons(same as above)
toolbarcolor(same as above)

-Make toolbar non-translucent:
toolbartranslucent: "set to `yes` or `no` to make the toolbar 
translucent(semi-transparent)  (defaults to `yes`). Only applicable if toolbar 
is not disabled."

  was:
I added a couple of customizations to inappbrowser's toolbar:

*Android*:
-Have a custom text for a close button instead of the Default X:
closebuttoncaption: "set to a string to use as the close buttons caption 
instead of a X. Note that you need to localize this value yourself."

-Change the close button color:
closebuttoncolor: "set to a valid hex color string, for example: `#00ff00`, and 
it will change the
close button color from default, regardless of being a text or default X. Only 
has effect if user has location set to `yes`."

-Hide the navigation buttons that go backwards and forwards:
hidenavigationbuttons: "set to `yes` to hide the navigation buttons on the 
location toolbar, only has effect if user has location set to `yes`. The 
default value is `no`."

-Change navigation buttons color:
navigationbuttoncolor: "set to a valid hex color string, for example: 
`#00ff00`, and it will change the color of both navigation buttons from 
default. Only has effect if user has location set to `yes` and not 
hidenavigationbuttons set to `yes`."

-Change color of toolbar:
toolbarcolor: "set to a valid hex color string, for example: `#00ff00`, and it 
will change the color the toolbar from default. Only has effect if user has 
location set to `yes`."

Screenshots:
!Screenshot_2017-10-09-12-03-05.png|thumbnail!
!Screenshot_2017-10-09-12-11-54.png|thumbnail!
!Screenshot_2017-10-09-12-34-01.png|thumbnail!
!Screenshot_2017-10-09-12-50-06.png|thumbnail!
!Screenshot_2017-10-09-13-00-29.png|thumbnail!


*iOS:*
closebuttoncolor(same as above)
hidenavigationbuttons(same as above)
toolbarcolor(same as above)

Screenshots:
!IMG_1300.PNG|thumbnail!

-Make toolbar non-translucent:
toolbartranslucent: "set to `yes` or `no` to make the toolbar 
translucent(semi-transparent)  (defaults to `yes`). Only applicable if toolbar 
is not disabled."


> Allow more additional options, for customizing toolbar in cordova/inappbrowser
> ------------------------------------------------------------------------------
>
>                 Key: CB-13409
>                 URL: https://issues.apache.org/jira/browse/CB-13409
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-inappbrowser
>         Environment: iOS, Android
>            Reporter: Steinar Ágúst Steinarsson
>            Priority: Minor
>              Labels: features, newbie
>         Attachments: Screenshot_2017-10-09-12-11-54.png, 
> Screenshot_2017-10-09-12-34-01.png, Screenshot_2017-10-09-12-50-06.png, 
> Screenshot_2017-10-09-13-00-29.png
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> I added a couple of customizations to inappbrowser's toolbar:
> *Android*:
> -Have a custom text for a close button instead of the Default X:
> closebuttoncaption: "set to a string to use as the close buttons caption 
> instead of a X. Note that you need to localize this value yourself."
> -Change the close button color:
> closebuttoncolor: "set to a valid hex color string, for example: `#00ff00`, 
> and it will change the
> close button color from default, regardless of being a text or default X. 
> Only has effect if user has location set to `yes`."
> -Hide the navigation buttons that go backwards and forwards:
> hidenavigationbuttons: "set to `yes` to hide the navigation buttons on the 
> location toolbar, only has effect if user has location set to `yes`. The 
> default value is `no`."
> -Change navigation buttons color:
> navigationbuttoncolor: "set to a valid hex color string, for example: 
> `#00ff00`, and it will change the color of both navigation buttons from 
> default. Only has effect if user has location set to `yes` and not 
> hidenavigationbuttons set to `yes`."
> -Change color of toolbar:
> toolbarcolor: "set to a valid hex color string, for example: `#00ff00`, and 
> it will change the color the toolbar from default. Only has effect if user 
> has location set to `yes`."
> *iOS:*
> closebuttoncolor(same as above)
> hidenavigationbuttons(same as above)
> toolbarcolor(same as above)
> -Make toolbar non-translucent:
> toolbartranslucent: "set to `yes` or `no` to make the toolbar 
> translucent(semi-transparent)  (defaults to `yes`). Only applicable if 
> toolbar is not disabled."



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to