icon for video previews #556
This commit is contained in:
parent
e3e31313b2
commit
4c6b9bf0f4
|
@ -515,6 +515,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
|
||||
boolean expand_cw = sharedpreferences.getBoolean(Helper.SET_EXPAND_CW, false);
|
||||
boolean expand_media = sharedpreferences.getBoolean(Helper.SET_EXPAND_MEDIA, false);
|
||||
|
||||
changeDrawableColor(context, R.drawable.video_preview,R.color.white);
|
||||
if( theme == Helper.THEME_BLACK){
|
||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
||||
changeDrawableColor(context, holder.status_more, R.color.dark_icon);
|
||||
|
@ -532,8 +534,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
holder.status_reply.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
changeDrawableColor(context, R.drawable.ic_fetch_more,R.color.dark_icon);
|
||||
holder.status_cardview_title.setTextColor(ContextCompat.getColor(context, R.color.black_text_toot_header));
|
||||
holder.status_cardview_content.setTextColor(ContextCompat.getColor(context, R.color.black_text_toot_header));
|
||||
holder.status_cardview_url.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
holder.status_cardview_content.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
holder.status_cardview_url.setTextColor(ContextCompat.getColor(context, R.color.black_text_toot_header));
|
||||
}else if( theme == Helper.THEME_DARK ){
|
||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
||||
changeDrawableColor(context, holder.status_more, R.color.dark_icon);
|
||||
|
@ -552,8 +554,8 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
holder.status_reply.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
|
||||
holder.status_cardview_title.setTextColor(ContextCompat.getColor(context, R.color.dark_text_toot_header));
|
||||
holder.status_cardview_content.setTextColor(ContextCompat.getColor(context, R.color.dark_text_toot_header));
|
||||
holder.status_cardview_url.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
holder.status_cardview_content.setTextColor(ContextCompat.getColor(context, R.color.dark_icon));
|
||||
holder.status_cardview_url.setTextColor(ContextCompat.getColor(context, R.color.dark_text_toot_header));
|
||||
}else {
|
||||
changeDrawableColor(context, R.drawable.ic_fetch_more,R.color.black);
|
||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.black);
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 803 B |
Binary file not shown.
After Width: | Height: | Size: 413 B |
Binary file not shown.
After Width: | Height: | Size: 619 B |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
|
@ -373,7 +373,7 @@
|
|||
<ImageView
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="30dp"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
android:src="@drawable/video_preview"
|
||||
android:layout_height="30dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
|
|
|
@ -339,7 +339,7 @@
|
|||
<ImageView
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="30dp"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
android:src="@drawable/video_preview"
|
||||
android:layout_height="30dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -265,7 +265,7 @@
|
|||
<ImageView
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="30dp"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
android:src="@drawable/video_preview"
|
||||
android:layout_height="30dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue