top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to change header & address bar color in Android Browser?

+1 vote
437 views
How to change header & address bar color in Android Browser?
posted Jun 1, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Add this inside <head> Example:

<meta name="theme-color" content="#999999" /> // hex color code
answer Jun 1, 2016 by Shivam Kumar Pandey
Similar Questions
+2 votes

I have added a floating action button in my layout but using backgroundtilt, it doesn't change the color of background.

Here my code segment

   <android.support.design.widget.FloatingActionButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/AddNewButton"
        android:background="@drawable/add"
        android:layout_margin="15dp"
        app:rippleColor="@android:color/white"
        app:fabSize="normal"
        android:clickable="true"
        app:layout_anchor="@+id/HeaderSection"
        app:layout_anchorGravity="bottom|right|end"/>
+1 vote

I tried the following code.But its not working.

html {scrollbar-face-color:#D6D7D6 ;
scrollbar-shadow-color: #FFFFFF;
scrollbar-highlight-color:#EFEFEF;
scrollbar-3dlight-color: #FFFFFF;

scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color:  #000000;}
+1 vote

I'm working on an android apk in which the app drawer background is changed. I have searched through the internet. I have found 2 methods to change the app drawer's black background.

First one is using apktool, which decompiles launcher.apk and builds it back to apk format. In between the programmer do the required changes ( res/values/colors , background="..." ). Then sign and move it back to system/app folder.

Second one is using another application like GO Launcher, but I have to use my own application to change the black background color programmatically. Is there a way to achieve this ( in eclipse for example ) ?

+1 vote

I am doing some changes in frameworks/base/, so i just wanted to know whether there is a faster process of building it. Currently what i follow is very slow i.e. I do

$ make -j4 installclean // which cleans *.img files from the /out folder
$ make -j4

and finally it creates all *.img. So apart from the above process, is there a way for a single line of change can be built fast ?

+2 votes

I'm using Android X-86 using virtual box. What I want to do is changing the resolution of emulator to 480x480 size. But after changing the resolution of emulator, Emulator stopped with this message."Unfortunately, Launcher has stopped". So If you guys know the way to change resolution of emulator, Please let me know.

...