X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Fmain_drawerlayout.xml;h=f87741caa35074450591605956fac070956f7f2a;hp=f58017911a47975939a6ec17895ec044c017982b;hb=06f516f2f5c745981e292451d01b9df7d1fd57eb;hpb=1054eda0dd47e1dc03a243aee74845a2a08e2069 diff --git a/app/src/main/res/layout/main_drawerlayout.xml b/app/src/main/res/layout/main_drawerlayout.xml index f5801791..f87741ca 100644 --- a/app/src/main/res/layout/main_drawerlayout.xml +++ b/app/src/main/res/layout/main_drawerlayout.xml @@ -26,7 +26,8 @@ android:layout_width="match_parent" > + Setting the CoordinatorLayout to be `focusableInTouchMode` prevents the URL text box from stealing focus on launch and opening the keyboard. + `android:background` sets the background color of the status bar, which is then overlaid with a scrim. --> + android:focusableInTouchMode="true" + android:background="?attr/mainStatusBarBackground" >