diff options
author | Leon Scroggins <scroggo@google.com> | 2009-09-03 15:08:54 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-09-04 13:11:20 -0400 |
commit | 62e8f9415c0d7f9d4034cde28e009cf03871fe1b (patch) | |
tree | 175a69ac83635bf91353c12119fc4cfe7999b641 /res/layout | |
parent | 387f2d1357f85b5e7f6d17bba8917a81d6ca455f (diff) | |
download | packages_apps_Browser-62e8f9415c0d7f9d4034cde28e009cf03871fe1b.zip packages_apps_Browser-62e8f9415c0d7f9d4034cde28e009cf03871fe1b.tar.gz packages_apps_Browser-62e8f9415c0d7f9d4034cde28e009cf03871fe1b.tar.bz2 |
New title bar look.
Use the same method as the search bar for showing the circular
progress, which is much more visible than the current model.
Use latest assets.
Move the lock icon outside the textbox.
Change-Id: I7fd5911cb4492d3cd52132e817da75f720b42b55
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/title_bar.xml | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/res/layout/title_bar.xml b/res/layout/title_bar.xml index 7245a9b..be5f51c 100644 --- a/res/layout/title_bar.xml +++ b/res/layout/title_bar.xml @@ -16,15 +16,14 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/search_plate" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingLeft="12dip" android:paddingRight="12dip" android:paddingTop="0dip" - android:paddingBottom="16dip" - android:background="@*android:drawable/search_plate_global" > + android:paddingBottom="0dip" + android:background="@drawable/tab_browser_selected" > <ProgressBar android:id="@+id/progress_horizontal" style="?android:attr/progressBarStyleHorizontal" @@ -34,7 +33,6 @@ /> <LinearLayout - android:id="@+id/search_edit_frame" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="3dip" @@ -42,8 +40,8 @@ <TextView android:id="@+id/title" - android:background="@*android:drawable/textfield_search" - android:layout_height="40dip" + android:background="@*android:drawable/textfield_default" + android:layout_height="wrap_content" android:layout_width="0dip" android:layout_weight="1.0" android:paddingLeft="8dip" @@ -51,21 +49,20 @@ android:singleLine="true" android:ellipsize="end" /> - <ProgressBar android:id="@+id/progress_circular" - style="?android:attr/progressBarStyleSmallTitle" - android:layout_width="40dip" - android:layout_height="40dip" + <ImageView android:id="@+id/lock" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_marginLeft="3dip" - android:max="100" + android:layout_gravity="center_vertical" + android:visibility="gone" /> <ImageView android:id="@+id/rt_btn" - android:layout_width="40dip" - android:layout_height="40dip" + android:layout_width="42dip" + android:layout_height="42dip" android:layout_marginLeft="8dip" - android:scaleType="fitXY" android:background="@*android:drawable/btn_search_dialog_voice" - android:src="@drawable/ic_menu_bookmark" + android:src="@drawable/ic_btn_bookmark_browsertab" /> </LinearLayout> </LinearLayout> |