nav_screen.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2011 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <RelativeLayout
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:id="@+id/nav_screen"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:background="@drawable/browser_background_holo">
  19. <com.android.browser.NavTabScroller
  20. android:id="@+id/scroller"
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent" />
  23. <LinearLayout
  24. android:id="@+id/tabbar"
  25. android:orientation="horizontal"
  26. android:layout_width="match_parent"
  27. android:layout_height="@dimen/toolbar_height"
  28. android:layout_gravity="top"
  29. android:gravity="right"
  30. android:background="#CC0d0d0d">
  31. <ImageButton
  32. android:id="@+id/gotohome"
  33. android:layout_width="wrap_content"
  34. android:layout_height="match_parent"
  35. style="@style/HoloButton"
  36. android:gravity="center_vertical"
  37. android:contentDescription="@string/accessibility_button_homescreen"
  38. android:src="@drawable/ic_home_holo_dark" />
  39. <ImageButton
  40. android:id="@+id/newincognitotab"
  41. android:layout_width="wrap_content"
  42. android:layout_height="match_parent"
  43. style="@style/HoloButton"
  44. android:gravity="center_vertical"
  45. android:contentDescription="@string/accessibility_button_newincognitotab"
  46. android:src="@drawable/ic_new_incognito_holo_dark" />
  47. <ImageButton
  48. android:id="@+id/newtab"
  49. android:layout_width="wrap_content"
  50. android:layout_height="match_parent"
  51. style="@style/HoloButton"
  52. android:gravity="center_vertical"
  53. android:contentDescription="@string/accessibility_button_newtab"
  54. android:src="@drawable/ic_new_window_holo_dark" />
  55. <ImageButton
  56. android:id="@+id/bookmarks"
  57. android:layout_width="wrap_content"
  58. android:layout_height="match_parent"
  59. android:contentDescription="@string/accessibility_button_bookmarks"
  60. android:src="@drawable/ic_bookmarks_history_holo_dark"
  61. style="@style/HoloButton" />
  62. <ImageButton
  63. android:id="@+id/more"
  64. android:layout_width="wrap_content"
  65. android:layout_height="match_parent"
  66. android:paddingLeft="8dip"
  67. android:paddingRight="8dip"
  68. style="@style/HoloButton"
  69. android:gravity="center_vertical"
  70. android:contentDescription="@string/accessibility_button_more"
  71. android:src="@drawable/ic_menu_overflow" />
  72. </LinearLayout>
  73. </RelativeLayout>