adjust colors / margins as suggested by @AndyScherzinger

This commit is contained in:
David Luhmer 2018-09-19 19:52:56 +02:00
parent a858d21325
commit f0707cfff3
5 changed files with 13 additions and 19 deletions

View file

@ -1,17 +1,12 @@
package de.luhmer.owncloudnewsreader.adapter;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.Typeface;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v4.graphics.drawable.RoundedBitmapDrawable;
import android.support.v4.graphics.drawable.RoundedBitmapDrawableFactory;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.text.Spannable;
@ -28,20 +23,13 @@ import android.widget.TextView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.assist.LoadedFrom;
import com.nostra13.universalimageloader.core.display.BitmapDisplayer;
import com.nostra13.universalimageloader.core.display.RoundedBitmapDisplayer;
import com.nostra13.universalimageloader.core.imageaware.ImageAware;
import com.nostra13.universalimageloader.core.process.BitmapProcessor;
import com.pascalwelsch.holocircularprogressbar.HoloCircularProgressBar;
import org.greenrobot.eventbus.Subscribe;
import java.util.List;
import java.util.regex.Pattern;
import javax.annotation.Resource;
import butterknife.BindView;
import butterknife.ButterKnife;
import de.luhmer.owncloudnewsreader.R;

View file

@ -11,8 +11,6 @@
<android.support.v7.widget.RecyclerView
android:id="@+id/list"
android:paddingStart="@dimen/listview_row_margin_left"
android:paddingEnd="@dimen/listview_row_margin_right"
style="?android:attr/textAppearanceLarge"
android:layout_width="match_parent"
android:layout_height="match_parent"

View file

@ -3,8 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="?attr/selectableItemBackground">
android:background="?attr/selectableItemBackground"
xmlns:app="http://schemas.android.com/apk/res-auto">
<!--
<View
@ -21,6 +21,8 @@
android:descendantFocusability="blocksDescendants"
android:layout_marginTop="@dimen/listview_row_margin_top"
android:layout_marginBottom="@dimen/listview_row_margin_bottom"
android:paddingStart="@dimen/listview_row_margin_left"
android:paddingEnd="@dimen/listview_row_margin_right"
android:id="@+id/list_item_header">
@ -46,7 +48,7 @@
android:layout_width="88dp"
android:layout_height="88dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="24dp"
android:layout_marginBottom="16dp"
android:contentDescription="@string/img_view_thumbnail"
android:scaleType="centerCrop"
tools:src="@drawable/default_feed_icon_dark"
@ -70,6 +72,7 @@
android:layout_toEndOf="@id/imgViewThumbnail"
android:layout_toStartOf="@id/podcast_wrapper"
android:layout_below="@id/summary"
android:textColor="@color/material_grey_600"
tools:text="Anruf-Info djkas dhask dhas dashdajs dha dhas dhas djka a jsa das djsa djas dash djas dashdja sljda dhjas ja dkla da ja da djas djkasas jkas dklas dsa djla"/>
@ -123,6 +126,7 @@
android:layout_below="@id/imgViewThumbnail"
android:layout_toEndOf="@id/imgViewFavIcon"
android:layout_toStartOf="@id/tv_item_date"
android:textColor="@color/material_grey_500"
tools:text="PortableApps.com and some other long name behind here! dhajs ak"/>
@ -136,7 +140,8 @@
tools:text="vor 13 Stunden"
android:layout_below="@id/imgViewThumbnail"
android:layout_marginStart="8dp"
android:layout_alignParentEnd="true"/>
android:layout_alignParentEnd="true"
android:textColor="@color/material_grey_500" />
</RelativeLayout>
</LinearLayout>

View file

@ -17,6 +17,9 @@
<color name="options_menu_item_text">@color/options_menu_item</color>
<color name="material_grey_500" tools:override="true">#9E9E9E</color>
<color name="material_grey_600" tools:override="true">#757575</color>
<color name="material_grey_900" tools:override="true">#212121</color>
<!-- see also assets/web.css -->

View file

@ -56,7 +56,7 @@
<item name="dividerLineColor">#1e000000</item>
<!-- <item name="rssItemListBackground">#ffdedede</item> -->
<item name="rssItemListBackground">#f2f2f2</item>
<item name="rssItemListBackground">@android:color/white</item>
<item name="extended_listview_item_body_text_color">@color/extended_listview_item_body_text_color_light_theme</item>