mirror of
https://github.com/zoriya/Opus.git
synced 2025-12-06 06:26:15 +00:00
Making queue items readables.
This commit is contained in:
@@ -188,7 +188,7 @@ namespace MusicApp
|
||||
Allocation input = Allocation.CreateFromBitmap(rs, blured);
|
||||
Allocation output = Allocation.CreateTyped(rs, input.Type);
|
||||
ScriptIntrinsicBlur blurrer = ScriptIntrinsicBlur.Create(rs, Element.U8_4(rs));
|
||||
blurrer.SetRadius(10);
|
||||
blurrer.SetRadius(13);
|
||||
blurrer.SetInput(input);
|
||||
blurrer.ForEach(output);
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ using Android.Content.Res;
|
||||
using Android.Graphics;
|
||||
using Android.Support.Design.Widget;
|
||||
using Android.Support.V7.Widget;
|
||||
using Android.Text;
|
||||
using Android.Text.Style;
|
||||
using Android.Views;
|
||||
using Android.Widget;
|
||||
using MusicApp.Resources.values;
|
||||
@@ -153,8 +155,12 @@ namespace MusicApp.Resources.Portable_Class
|
||||
holder.Artist.SetBackgroundResource(0);
|
||||
}
|
||||
|
||||
holder.Title.Text = song.Title;
|
||||
holder.Artist.Text = song.Artist;
|
||||
SpannableString titleText = new SpannableString(song.Title);
|
||||
titleText.SetSpan(new BackgroundColorSpan(Color.ParseColor("#8C000000")), 0, song.Title.Length, SpanTypes.InclusiveInclusive);
|
||||
holder.Title.TextFormatted = titleText;
|
||||
holder.Title.SetMaxLines(2);
|
||||
|
||||
holder.Artist.Visibility = ViewStates.Gone;
|
||||
|
||||
if (song.AlbumArt == -1 || song.IsYt)
|
||||
{
|
||||
|
||||
@@ -53,15 +53,14 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Playing"
|
||||
android:textSize="11dp"
|
||||
android:id="@+id/status"
|
||||
android:id="@id/status"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="#f4511e"
|
||||
android:visibility="gone"
|
||||
android:paddingRight="55dp"
|
||||
android:paddingBottom="15dp" />
|
||||
android:paddingRight="20dp"
|
||||
android:paddingBottom="10dp" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -70,7 +69,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:id="@+id/rightButtons">
|
||||
<ImageView
|
||||
android:id="@+id/youtubeIcon"
|
||||
android:id="@+id/youtubeIcon"Making
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:padding="5dp"
|
||||
|
||||
Reference in New Issue
Block a user