Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_flowbox
Commits
7de8c1d9
Commit
7de8c1d9
authored
Jul 30, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
热门活动icon尺寸加大
parent
4577c8b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
17 deletions
+4
-17
GvMyAdapter.java
...c/main/java/com/mints/flowbox/ui/adapter/GvMyAdapter.java
+0
-7
item_list_my.xml
app/src/main/res/layout/item_list_my.xml
+4
-10
No files found.
app/src/main/java/com/mints/flowbox/ui/adapter/GvMyAdapter.java
View file @
7de8c1d9
...
...
@@ -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
app/src/main/res/layout/item_list_my.xml
View file @
7de8c1d9
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment