Commit 7de8c1d9 authored by jyx's avatar jyx

热门活动icon尺寸加大

parent 4577c8b3
......@@ -7,7 +7,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
......@@ -68,7 +67,6 @@ public class GvMyAdapter extends BaseAdapter {
convertView = inflater.inflate(R.layout.item_list_my, null);
viewHolder = new ViewHolder();
viewHolder.fl_my_icon = convertView.findViewById(R.id.fl_my_icon);
viewHolder.ic_my_icon = convertView.findViewById(R.id.ic_my_icon);
viewHolder.tv_my_title = convertView.findViewById(R.id.tv_my_title);
......@@ -86,17 +84,12 @@ public class GvMyAdapter extends BaseAdapter {
if (data != null) {
GlideUtils.loadImageView(activity, data.getImgUrl(), viewHolder.ic_my_icon);
viewHolder.tv_my_title.setText(data.getTitle());
// if (TextUtils.equals(data.getToUrl(), Constant.HOT_ACTIVITY_BXM) && UserManager.getInstance().userIsLogin()) {
// BxmManager.INSTANCE.loadButtonAd(activity, viewHolder.fl_my_icon);
// }
}
return convertView;
}
class ViewHolder {
public ImageView ic_my_icon;
public FrameLayout fl_my_icon;
public TextView tv_my_title;
}
}
\ No newline at end of file
......@@ -5,18 +5,12 @@
android:orientation="vertical"
android:paddingTop="10dp">
<FrameLayout
android:id="@+id/fl_my_icon"
<ImageView
android:id="@+id/ic_my_icon"
android:layout_width="44dp"
android:layout_height="44dp"
android:layout_gravity="center_horizontal">
<ImageView
android:id="@+id/ic_my_icon"
android:layout_width="38dp"
android:layout_height="38dp"
android:scaleType="fitXY" />
</FrameLayout>
android:layout_gravity="center_horizontal"
android:scaleType="fitXY" />
<TextView
android:id="@+id/tv_my_title"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment