mirror of
https://github.com/zoriya/Opus.git
synced 2026-06-03 22:40:52 +00:00
Adding titles in home view
This commit is contained in:
@@ -27,6 +27,8 @@ namespace MusicApp.Resources.Portable_Class
|
||||
{
|
||||
RecyclerHolder holder = (RecyclerHolder)viewHolder;
|
||||
|
||||
holder.Title.Text = songList[position].GetName();
|
||||
|
||||
if (songList[position].GetAlbumArt() == -1 || songList[position].IsYt)
|
||||
{
|
||||
var songAlbumArtUri = Android.Net.Uri.Parse(songList[position].GetAlbum());
|
||||
|
||||
@@ -7,5 +7,21 @@
|
||||
<ImageView
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:id="@+id/albumArt"/>
|
||||
android:id="@+id/albumArt" />
|
||||
<ImageView
|
||||
android:src="@drawable/darkRectangle"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="75dp"
|
||||
android:layout_alignParentBottom="true" />
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14dip"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="#ffffff"
|
||||
android:minLines="1"
|
||||
android:maxLines="2"
|
||||
android:ellipsize="end"
|
||||
android:layout_alignParentBottom="true" />
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user