cleanup redundant background definitions

This commit is contained in:
David Luhmer 2018-11-09 21:37:06 +01:00
parent 97e5e59786
commit b8a862b92d
11 changed files with 8 additions and 20 deletions

View file

@ -8,8 +8,7 @@
android:gravity="bottom"
sothree:umanoPanelHeight="68dp"
sothree:umanoParallaxOffset="100dp"
sothree:umanoShadowHeight="4dp"
android:background="?attr/rssItemListBackground"> <!-- sothree:dragView="@+id/name" -->
sothree:umanoShadowHeight="4dp"> <!-- sothree:dragView="@+id/name" -->
<android.support.design.widget.CoordinatorLayout
android:id="@+id/coordinator_layout"

View file

@ -2,8 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?attr/rssItemListBackground">
android:orientation="vertical">
<FrameLayout
android:id="@+id/authenticator_content"

View file

@ -2,8 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="?attr/rssItemListBackground">
android:layout_width="match_parent">
<LinearLayout
android:layout_width="match_parent"

View file

@ -2,8 +2,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="?attr/rssItemListBackground">
android:layout_width="match_parent">
<!-- SlidingUpPanelLayout doesn't work with layout_behavior, use marginTop -->
<de.luhmer.owncloudnewsreader.view.PodcastSlidingUpPanelLayout

View file

@ -8,8 +8,7 @@
android:gravity="bottom"
sothree:umanoPanelHeight="68dp"
sothree:umanoParallaxOffset="100dp"
sothree:umanoShadowHeight="4dp"
android:background="?attr/rssItemListBackground"> <!-- sothree:dragView="@+id/name" -->
sothree:umanoShadowHeight="4dp"> <!-- sothree:dragView="@+id/name" -->
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"

View file

@ -3,8 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="de.luhmer.owncloudnewsreader.SyncIntervalSelectorActivity"
tools:ignore="MergeRootFrame"
android:background="?attr/rssItemListBackground">
tools:ignore="MergeRootFrame">
<include
android:id="@+id/toolbar_layout"

View file

@ -9,8 +9,7 @@
android:paddingBottom="6dp"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:background="?attr/rssItemListBackground">
android:paddingTop="@dimen/activity_vertical_margin">
<RelativeLayout
android:id="@+id/title_wrapper"

View file

@ -9,8 +9,7 @@
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="6dp"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:background="?attr/rssItemListBackground">
android:paddingLeft="@dimen/activity_horizontal_margin">
<RelativeLayout
android:layout_width="wrap_content"

View file

@ -6,7 +6,6 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:background="?attr/rssItemListBackground"
tools:context="de.luhmer.owncloudnewsreader.SyncIntervalSelectorActivity$PlaceholderFragment">

View file

@ -3,7 +3,6 @@
<attr name="dividerLineColor" format="color" />
<attr name="rssItemListBackground" format="color" />
<attr name="starredColor" format="color" />
<attr name="unstarredColor" format="color" />
<attr name="starredDrawable" format="reference" />

View file

@ -13,7 +13,6 @@
<item name="android:textColorSecondary">@color/material_grey_500</item>
<!-- for settings activity end-->
<item name="rssItemListBackground">@android:color/black</item>
<item name="news_detail_background_color">@android:color/black</item>
<item name="primaryTextColor">@android:color/white</item>
</style>
@ -31,7 +30,6 @@
<item name="tintColor">@color/tintColor</item>
<item name="dividerLineColor">#1effffff</item>
<item name="rssItemListBackground">@color/rss_item_list_background</item>
<item name="primaryTextColor">@color/primaryTextColor</item>