@@ -644,7 +644,7 @@ public void run() {
644644 //toolbar.setBackgroundColor(android.graphics.Color.rgb(235,235,235));
645645 int toolbarColor ;
646646 int blackColor = android .graphics .Color .rgb (0 , 0 , 0 );
647- int blueColor = android .graphics .Color .rgb (0 , 122 , 255 );
647+ int accentColor = android . graphics . Color . rgb ( 190 , 255 , 26 ); // android.graphics.Color.rgb(0, 122, 255);
648648 if (Build .VERSION .SDK_INT >= 21 ){
649649 /*
650650 toolbarColor = cordova.getActivity().getWindow().getStatusBarColor();
@@ -663,7 +663,7 @@ public void run() {
663663 back .setId (Integer .valueOf (2 ));
664664 back .setBackground (null );
665665 if (toolbarColor == blackColor )
666- back .setColorFilter (blueColor );
666+ back .setColorFilter (accentColor );
667667 back .setImageDrawable (getDrawableFromMyResources ("ic_chevron_left_black_24dp" ));
668668 back .setScaleType (ImageView .ScaleType .FIT_CENTER );
669669 back .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
@@ -682,7 +682,7 @@ public void onClick(View v) {
682682 forward .setId (Integer .valueOf (3 ));
683683 forward .setBackground (null );
684684 if (toolbarColor == blackColor )
685- forward .setColorFilter (blueColor );
685+ forward .setColorFilter (accentColor );
686686 forward .setImageDrawable (getDrawableFromMyResources ("ic_chevron_right_black_24dp" ));
687687 forward .setScaleType (ImageView .ScaleType .FIT_CENTER );
688688 forward .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
@@ -751,12 +751,12 @@ public boolean onKey(View v, int keyCode, KeyEvent event) {
751751 close.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
752752 close.setBackground(null);
753753 if (toolbarColor == blackColor)
754- close.setTextColor(blueColor );
754+ close.setTextColor(accentColor );
755755 */
756756 close .setBackground (null );
757757 close .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
758758 if (toolbarColor == blackColor )
759- close .setColorFilter (blueColor );
759+ close .setColorFilter (accentColor );
760760 close .setImageDrawable (getDrawableFromMyResources ("ic_close_black_24dp" ));
761761 close .setScaleType (ImageView .ScaleType .FIT_CENTER );
762762 close .getAdjustViewBounds ();
@@ -777,7 +777,7 @@ public void onClick(View v) {
777777 reload .setTextAlignment (View .TEXT_ALIGNMENT_CENTER );
778778 reload .setBackground (null );
779779 if (toolbarColor == blackColor )
780- reload .setTextColor (blueColor );
780+ reload .setTextColor (accentColor );
781781 reload .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
782782 //Drawable reloadIcon = activityRes.getDrawable(android.R.drawable.ic_popup_sync);
783783 //reload.setImageDrawable(reloadIcon);
@@ -804,7 +804,7 @@ public void onClick(View v) {
804804 homeButton .setTextAlignment (View .TEXT_ALIGNMENT_CENTER );
805805 homeButton .setBackground (null );
806806 if (toolbarColor == blackColor )
807- homeButton .setTextColor (blueColor );
807+ homeButton .setTextColor (accentColor );
808808 homeButton .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
809809
810810 homeButton .setOnClickListener (new View .OnClickListener () {
@@ -822,7 +822,7 @@ public void onClick(View v) {
822822 clearAllButton .setTextAlignment (View .TEXT_ALIGNMENT_CENTER );
823823 clearAllButton .setBackground (null );
824824 if (toolbarColor == blackColor )
825- clearAllButton .setTextColor (blueColor );
825+ clearAllButton .setTextColor (accentColor );
826826 clearAllButton .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
827827
828828 clearAllButton .setOnClickListener (new View .OnClickListener () {
@@ -959,7 +959,7 @@ public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType)
959959 contextButton .setId (Integer .valueOf (9 ));
960960 contextButton .setBackground (null );
961961 if (toolbarColor == blackColor )
962- contextButton .setColorFilter (blueColor );
962+ contextButton .setColorFilter (accentColor );
963963 contextButton .setImageDrawable (getDrawableFromMyResources ("ic_add_black_24dp" ));
964964 contextButton .setScaleType (ImageView .ScaleType .FIT_CENTER );
965965 contextButton .setPadding (this .dpToPixels (8 ), this .dpToPixels (5 ), this .dpToPixels (8 ), this .dpToPixels (5 ));
0 commit comments