nav_screen.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. android:orientation="vertical" />
  24. <LinearLayout
  25. android:id="@+id/tabbar"
  26. android:orientation="horizontal"
  27. android:layout_width="match_parent"
  28. android:layout_height="@dimen/toolbar_height"
  29. android:layout_gravity="top"
  30. android:gravity="right"
  31. android:background="#CC0d0d0d">
  32. <ImageButton
  33. android:id="@+id/gotohome"
  34. android:layout_width="wrap_content"
  35. android:layout_height="match_parent"
  36. style="@style/HoloButton"
  37. android:gravity="center_vertical"
  38. android:contentDescription="@string/accessibility_button_homescreen"
  39. android:src="@drawable/ic_home_holo_dark" />
  40. <ImageButton
  41. android:id="@+id/newincognitotab"
  42. android:layout_width="wrap_content"
  43. android:layout_height="match_parent"
  44. style="@style/HoloButton"
  45. android:gravity="center_vertical"
  46. android:contentDescription="@string/accessibility_button_newincognitotab"
  47. android:src="@drawable/ic_new_incognito_holo_dark" />
  48. <ImageButton
  49. android:id="@+id/newtab"
  50. android:layout_width="wrap_content"
  51. android:layout_height="match_parent"
  52. style="@style/HoloButton"
  53. android:gravity="center_vertical"
  54. android:contentDescription="@string/accessibility_button_newtab"
  55. android:src="@drawable/ic_new_window_holo_dark" />
  56. <ImageButton
  57. android:id="@+id/bookmarks"
  58. android:layout_width="wrap_content"
  59. android:layout_height="match_parent"
  60. android:contentDescription="@string/accessibility_button_bookmarks"
  61. android:src="@drawable/ic_bookmarks_history_holo_dark"
  62. style="@style/HoloButton" />
  63. <ImageButton
  64. android:id="@+id/more"
  65. android:layout_width="wrap_content"
  66. android:layout_height="match_parent"
  67. android:paddingLeft="8dip"
  68. android:paddingRight="8dip"
  69. style="@style/HoloButton"
  70. android:gravity="center_vertical"
  71. android:contentDescription="@string/accessibility_button_more"
  72. android:src="@drawable/ic_menu_overflow" />
  73. </LinearLayout>
  74. </RelativeLayout>