| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public | 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
| 3 - License, v. 2.0. If a copy of the MPL was not distributed with this | 3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
| 5 | 5 |
| 6 <org.mozilla.gecko.tabs.TabsLayoutItemView xmlns:android="http://schemas.android
.com/apk/res/android" | 6 <org.mozilla.gecko.tabs.TabsLayoutItemView xmlns:android="http://schemas.android
.com/apk/res/android" |
| 7 style="@style/TabsItem" | 7 style="@style/TabsItem" |
| 8 android:focusable="true" | 8 android:focusable="true" |
| 9 android:id="@+id/info" | 9 android:id="@+id/info" |
| 10 android:layout_width="match_parent" | 10 android:layout_width="match_parent" |
| 11 android:layout_height="wrap_content" | 11 android:layout_height="wrap_content" |
| 12 android:paddingLeft="12dip" | 12 android:paddingLeft="12dip" |
| 13 android:paddingTop="6dip" | 13 android:paddingTop="6dip" |
| 14 android:paddingBottom="6dip" | 14 android:paddingBottom="6dip" |
| 15 android:background="@drawable/tab_row
"> | 15 android:background="@drawable/tab_row
"> |
| 16 | 16 |
| 17 <org.mozilla.gecko.widget.TabThumbnailWrapper | 17 <org.mozilla.gecko.widget.TabThumbnailWrapper |
| 18 android:id="@+id/wrapper" | 18 android:id="@+id/wrapper" |
| 19 » android:layout_width="wrap_content" | 19 android:layout_width="wrap_content" |
| 20 android:layout_height="wrap_content" | 20 android:layout_height="wrap_content" |
| 21 android:padding="4dip" | 21 android:padding="3dip" |
| 22 android:background="@drawable/tab_thumbnail" | 22 android:background="@drawable/tab_thumbnail" |
| 23 android:duplicateParentState="true"> | 23 android:duplicateParentState="true"> |
| 24 | 24 |
| 25 <org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail" | 25 <org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail" |
| 26 android:layout_width="@dimen/tab
_thumbnail_width" | 26 android:layout_width="@dimen/tab
_thumbnail_width" |
| 27 android:layout_height="@dimen/ta
b_thumbnail_height"/> | 27 android:layout_height="@dimen/ta
b_thumbnail_height"/> |
| 28 | 28 |
| 29 </org.mozilla.gecko.widget.TabThumbnailWrapper> | 29 </org.mozilla.gecko.widget.TabThumbnailWrapper> |
| 30 | 30 |
| 31 <TextView android:id="@+id/title" | 31 <TextView android:id="@+id/title" |
| 32 android:layout_width="0dip" | 32 android:layout_width="0dip" |
| 33 android:layout_height="match_parent" | 33 android:layout_height="match_parent" |
| 34 android:layout_weight="1.0" | 34 android:layout_weight="1.0" |
| 35 android:paddingTop="4dip" | 35 android:paddingTop="4dip" |
| 36 android:paddingLeft="8dip" | 36 android:paddingLeft="8dip" |
| 37 android:paddingRight="4dip" | 37 android:paddingRight="4dip" |
| 38 style="@style/TabLayoutItemTextAppearance" | 38 style="@style/TabLayoutItemTextAppearance" |
| 39 android:textColor="#FFFFFFFF" | 39 android:textColor="@color/abb_thumbnail_row_text" |
| 40 android:textSize="14sp" | 40 android:textSize="14sp" |
| 41 android:singleLine="false" | 41 android:singleLine="false" |
| 42 android:maxLines="4" | 42 android:maxLines="4" |
| 43 android:duplicateParentState="true"/> | 43 android:duplicateParentState="true"/> |
| 44 | 44 |
| 45 <ImageButton android:id="@+id/close" | 45 <ImageButton android:id="@+id/close" |
| 46 style="@style/TabsItemClose" | 46 style="@style/TabsItemClose" |
| 47 android:layout_width="34dip" | 47 android:layout_width="34dip" |
| 48 android:layout_height="match_parent" | 48 android:layout_height="match_parent" |
| 49 android:background="@drawable/action_bar_button_inverse" | 49 android:background="@drawable/action_bar_button_inverse" |
| 50 android:scaleType="center" | 50 android:scaleType="center" |
| 51 android:contentDescription="@string/close_tab" | 51 android:contentDescription="@string/close_tab" |
| 52 android:src="@drawable/tab_close"/> | 52 android:src="@drawable/tab_close"/> |
| 53 | 53 |
| 54 </org.mozilla.gecko.tabs.TabsLayoutItemView> | 54 </org.mozilla.gecko.tabs.TabsLayoutItemView> |
| OLD | NEW |