Merge pull request #361 from nitehu/fix/search_artist
Fixed artist items in search
This commit is contained in:
commit
41f9b4ad73
|
@ -81,9 +81,8 @@ public class ArtistAdapter extends ArrayAdapter<Artist> implements SectionIndexe
|
|||
) {
|
||||
View rowView = convertView;
|
||||
if (rowView == null) {
|
||||
rowView = layoutInflater.inflate(R.layout.artist_list_item, parent, false);
|
||||
rowView = layoutInflater.inflate(R.layout.artist_search_list_item, parent, false);
|
||||
}
|
||||
|
||||
((TextView) rowView).setText(getItem(position).getName());
|
||||
|
||||
return rowView;
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:id="@android:id/text1"
|
||||
a:drawablePadding="6dip"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:textAppearance="?android:attr/textAppearanceMedium"
|
||||
a:gravity="center_vertical"
|
||||
a:paddingLeft="3dip"
|
||||
a:paddingRight="3dip"
|
||||
a:minHeight="50dip"/>
|
Loading…
Reference in New Issue