OSDN Git Service

Show the title bar when pressing bringing up the menu.
authorLeon Scroggins <scroggo@google.com>
Wed, 9 Sep 2009 16:51:10 +0000 (12:51 -0400)
committerLeon Scroggins <scroggo@google.com>
Fri, 11 Sep 2009 22:46:29 +0000 (18:46 -0400)
commit3bbb6caa3ceaec1106fe1de76066f5e1a186795e
treed47a6962e58b9c428962592bbc1d36474c7c7ad8
parent9f79346da9f52970cd299c78b11917e069507ebb
Show the title bar when pressing bringing up the menu.

Show an actionable title bar at the top of the screen when the
menu shows.

Change TitleBar* to take a Bitmap for setFavicon, and move the
logic for creating the drawable into TitleBar, so that we can
update directly from the WebView (whose getFavicon method returns
a bitmap).

Remove CUSTOM_BROWSER_BAR, since we are set on using our custom
title bar, and it enabled me to put mGenericFavicon in TitleBar.

Also take screen density into account when sizing the icons for
the title bar.

Change-Id: I3ee6b1d02e8845299f9cd1f648b271543683954a
src/com/android/browser/BrowserActivity.java
src/com/android/browser/TitleBar.java
src/com/android/browser/TitleBarSet.java