зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1342968 - Remove unused TabsLayout xml style attributes. r=sebastian
All TabsLayouts are RecyclerViews now. * Orientation on a RecyclerView is set on the LayoutManager, not the RecyclerView; * android:listSelector doesn't apply to RecyclerView; * android:choiceMode doesn't apply to RecyclerView. This patch also fixes bug 1337699 when it removes the old android:scrollbars="horizontal" in values-land/styles.xml from back when the tabs tray scrolled horizontally in landscape mode. MozReview-Commit-ID: 97el99fSi5o --HG-- extra : rebase_source : 6d5c41be3b217abbd5524f1901193cdca0fc939c
This commit is contained in:
Родитель
1d2b73bf54
Коммит
2fb6ccd932
|
@ -19,7 +19,6 @@
|
|||
style="@style/TabsLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
gecko:tabs="tabs_private"/>
|
||||
|
||||
</merge>
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
style="@style/TabsLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:visibility="gone"
|
||||
gecko:tabs="tabs_normal"/>
|
||||
|
||||
|
|
|
@ -5,11 +5,6 @@
|
|||
|
||||
<resources>
|
||||
|
||||
<style name="TabsLayout" parent="TabsLayoutBase">
|
||||
<item name="android:orientation">horizontal</item>
|
||||
<item name="android:scrollbars">horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="TabsItem">
|
||||
<item name="android:nextFocusDown">@+id/close</item>
|
||||
</style>
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
|
||||
<resources>
|
||||
|
||||
<style name="TabsLayout" parent="TabsLayoutBase">
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.BookmarksListView" parent="Widget.HomeListView">
|
||||
<item name="android:scrollbarStyle">outsideOverlay</item>
|
||||
</style>
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
<item name="android:orientation">horizontal</item>
|
||||
</style>
|
||||
|
||||
<style name="TabsLayout" parent="TabsLayoutBase">
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="TabsItem">
|
||||
<item name="android:nextFocusDown">@+id/close</item>
|
||||
</style>
|
||||
|
|
|
@ -471,13 +471,8 @@
|
|||
</style>
|
||||
|
||||
<!-- TabsLayout -->
|
||||
<style name="TabsLayoutBase">
|
||||
<style name="TabsLayout">
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
<item name="android:listSelector">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="TabsLayout" parent="TabsLayoutBase">
|
||||
<item name="android:orientation">vertical</item>
|
||||
<item name="android:scrollbars">vertical</item>
|
||||
</style>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче