Bug 1271797 - Show explicit inheritance: Widget.RemoteTabsClientView -> Widget.TwoLinePageRow.RemoteTabsClientView. r=liuche draft
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 10 May 2016 14:55:52 -0700
changeset 365488 bd88dbbf79fb9ff8ce84e52ee05b5c1622349357
parent 365487 7e1492b57d11cd8e9dbfb8766b1e443d424249c2
child 520572 3ac0d70a03510a778fbcc3f491b54534e1322719
push id17759
push usermichael.l.comella@gmail.com
push dateTue, 10 May 2016 22:26:38 +0000
reviewersliuche
bugs1271797
milestone49.0a1
Bug 1271797 - Show explicit inheritance: Widget.RemoteTabsClientView -> Widget.TwoLinePageRow.RemoteTabsClientView. r=liuche This is the first in a series of bugs to ... MozReview-Commit-ID: HPlBt3Z1l6O
mobile/android/base/resources/layout/home_remote_tabs_group.xml
mobile/android/base/resources/layout/home_smartfolder.xml
mobile/android/base/resources/values/styles.xml
--- a/mobile/android/base/resources/layout/home_remote_tabs_group.xml
+++ b/mobile/android/base/resources/layout/home_remote_tabs_group.xml
@@ -3,17 +3,17 @@
    This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/.
 -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:gecko="http://schemas.android.com/apk/res-auto"
-    style="@style/Widget.RemoteTabsClientView"
+    style="@style/Widget.TwoLinePageRow.RemoteTabsClientView"
     android:gravity="center_vertical"
     android:layout_width="match_parent"
     android:layout_height="@dimen/home_header_item_height"
     android:minHeight="@dimen/home_header_item_height">
 
     <ImageView
         android:id="@+id/device_type"
         android:layout_width="@dimen/favicon_bg"
--- a/mobile/android/base/resources/layout/home_smartfolder.xml
+++ b/mobile/android/base/resources/layout/home_smartfolder.xml
@@ -3,17 +3,17 @@
    This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/.
 -->
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:gecko="http://schemas.android.com/apk/res-auto"
-    style="@style/Widget.RemoteTabsClientView"
+    style="@style/Widget.TwoLinePageRow.RemoteTabsClientView"
     android:gravity="center_vertical"
     android:layout_width="match_parent"
     android:layout_height="@dimen/home_header_item_height"
     android:minHeight="@dimen/home_header_item_height">
 
     <ImageView
         android:id="@+id/device_type"
         android:layout_width="@dimen/favicon_bg"
--- a/mobile/android/base/resources/values/styles.xml
+++ b/mobile/android/base/resources/values/styles.xml
@@ -121,17 +121,17 @@
     <style name="Widget.FolderTitle.OneLine">
         <item name="android:textSize">@dimen/home_folder_title_oneline_textsize</item>
     </style>
 
     <style name="Widget.FolderTitle.TwoLine">
         <item name="android:textSize">@dimen/home_folder_title_twoline_textsize</item>
     </style>
 
-    <style name="Widget.TwoLinePageRow" >
+    <style name="Widget.TwoLinePageRow">
         <item name="android:background">@color/pressed_about_page_header_grey</item>
     </style>
 
     <style name="Widget.TwoLinePageRow.Title">
         <item name="android:textAppearance">@style/TextAppearance.Widget.Home.ItemTitle</item>
         <item name="android:textSize">@dimen/home_twolinepagerow_title_textsize</item>
     </style>
 
@@ -523,17 +523,17 @@
     <style name="TabsPanelItem.TextAppearance.Linkified">
         <item name="android:clickable">true</item>
         <item name="android:focusable">true</item>
         <item name="android:textColor">#0292D6</item>
     </style>
 
     <style name="Widget.RemoteTabsItemView" parent="Widget.TwoLinePageRow"/>
 
-    <style name="Widget.RemoteTabsClientView" parent="Widget.TwoLinePageRow">
+    <style name="Widget.TwoLinePageRow.RemoteTabsClientView">
         <item name="android:background">@color/about_page_header_grey</item>
     </style>
 
     <style name="Widget.RemoteTabsListView" parent="Widget.HomeListView">
         <item name="android:childDivider">@color/toolbar_divider_grey</item>
     </style>
 
     <style name="Widget.HistoryListView" parent="Widget.HomeListView">