| 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     <!-- We set state_private on this View dynamically in TabsListLayout. --> |  17     <!-- We set state_private on this View dynamically in TabsListLayout. --> | 
|  18     <org.mozilla.gecko.widget.TabThumbnailWrapper |  18     <org.mozilla.gecko.widget.TabThumbnailWrapper | 
|  19                   android:id="@+id/wrapper" |  19                   android:id="@+id/wrapper" | 
|  20 »                 android:layout_width="wrap_content" |  20                   android:layout_width="wrap_content" | 
|  21                   android:layout_height="wrap_content" |  21                   android:layout_height="wrap_content" | 
|  22                   android:padding="4dip" |  22                   android:padding="3dip" | 
|  23                   android:background="@drawable/tab_thumbnail" |  23                   android:background="@drawable/tab_thumbnail" | 
|  24                   android:duplicateParentState="true"> |  24                   android:duplicateParentState="true"> | 
|  25  |  25  | 
|  26         <org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail" |  26         <org.mozilla.gecko.widget.ThumbnailView android:id="@+id/thumbnail" | 
|  27                                                 android:layout_width="@dimen/tab
    _thumbnail_width" |  27                                                 android:layout_width="@dimen/tab
    _thumbnail_width" | 
|  28                                                 android:layout_height="@dimen/ta
    b_thumbnail_height"/> |  28                                                 android:layout_height="@dimen/ta
    b_thumbnail_height"/> | 
|  29  |  29  | 
|  30     </org.mozilla.gecko.widget.TabThumbnailWrapper> |  30     </org.mozilla.gecko.widget.TabThumbnailWrapper> | 
|  31  |  31  | 
|  32     <LinearLayout android:layout_width="0dip" |  32     <LinearLayout android:layout_width="0dip" | 
|  33                   android:layout_height="match_parent" |  33                   android:layout_height="match_parent" | 
|  34                   android:orientation="vertical" |  34                   android:orientation="vertical" | 
|  35                   android:layout_weight="1.0" |  35                   android:layout_weight="1.0" | 
|  36                   android:paddingTop="4dip" |  36                   android:paddingTop="4dip" | 
|  37                   android:paddingLeft="8dip" |  37                   android:paddingLeft="8dip" | 
|  38                   android:paddingRight="4dip"> |  38                   android:paddingRight="4dip"> | 
|  39  |  39  | 
|  40         <TextView android:id="@+id/title" |  40         <TextView android:id="@+id/title" | 
|  41                   android:layout_width="match_parent" |  41                   android:layout_width="match_parent" | 
|  42                   android:layout_height="0dip" |  42                   android:layout_height="0dip" | 
|  43                   android:layout_weight="1.0" |  43                   android:layout_weight="1.0" | 
|  44                   style="@style/TabLayoutItemTextAppearance" |  44                   style="@style/TabLayoutItemTextAppearance" | 
|  45                   android:textColor="#FFFFFFFF" |  45                   android:textColor="@color/abb_thumbnail_row_text" | 
|  46                   android:textSize="14sp" |  46                   android:textSize="14sp" | 
|  47                   android:singleLine="false" |  47                   android:singleLine="false" | 
|  48                   android:maxLines="4" |  48                   android:maxLines="4" | 
|  49                   android:duplicateParentState="true"/> |  49                   android:duplicateParentState="true"/> | 
|  50  |  50  | 
|  51         <ImageButton android:id="@+id/audio_playing" |  51         <ImageButton android:id="@+id/audio_playing" | 
|  52                      android:visibility="gone" |  52                      android:visibility="gone" | 
|  53                      android:layout_width="20dip" |  53                      android:layout_width="20dip" | 
|  54                      android:layout_height="20dip" |  54                      android:layout_height="20dip" | 
|  55                      android:gravity="bottom" |  55                      android:gravity="bottom" | 
|  56                      android:background="@drawable/action_bar_button_inverse" |  56                      android:background="@drawable/action_bar_button_inverse" | 
|  57                      android:scaleType="center" |  57                      android:scaleType="center" | 
|  58                      android:contentDescription="@string/tab_audio_playing" |  58                      android:contentDescription="@string/tab_audio_playing" | 
|  59                      android:src="@drawable/tab_audio_playing"/> |  59                      android:src="@drawable/tab_audio_playing"/> | 
|  60  |  60  | 
|  61     </LinearLayout> |  61     </LinearLayout> | 
|  62  |  62  | 
|  63     <ImageButton android:id="@+id/close" |  63     <ImageButton android:id="@+id/close" | 
|  64                  style="@style/TabsItemClose" |  64                  style="@style/TabsItemClose" | 
|  65                  android:layout_width="34dip" |  65                  android:layout_width="34dip" | 
|  66                  android:layout_height="match_parent" |  66                  android:layout_height="match_parent" | 
|  67                  android:background="@drawable/action_bar_button_inverse" |  67                  android:background="@drawable/action_bar_button_inverse" | 
|  68                  android:scaleType="center" |  68                  android:scaleType="center" | 
|  69                  android:contentDescription="@string/close_tab" |  69                  android:contentDescription="@string/close_tab" | 
|  70                  android:src="@drawable/tab_close"/> |  70                  android:src="@drawable/tab_close"/> | 
|  71  |  71  | 
|  72 </org.mozilla.gecko.tabs.TabsLayoutItemView> |  72 </org.mozilla.gecko.tabs.TabsLayoutItemView> | 
| OLD | NEW |