Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
b143b11b
Commit
b143b11b
authored
Jul 30, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert to resizing body images (and tune resizes)
parent
e5350b7e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/src/main/java/app/insti/adapter/BodyAdapter.java
app/src/main/java/app/insti/adapter/BodyAdapter.java
+1
-1
app/src/main/java/app/insti/fragment/AboutFragment.java
app/src/main/java/app/insti/fragment/AboutFragment.java
+1
-1
app/src/main/java/app/insti/fragment/ProfileFragment.java
app/src/main/java/app/insti/fragment/ProfileFragment.java
+1
-1
No files found.
app/src/main/java/app/insti/adapter/BodyAdapter.java
View file @
b143b11b
...
...
@@ -51,7 +51,7 @@ public class BodyAdapter extends RecyclerView.Adapter<BodyAdapter.ViewHolder> {
Body
body
=
bodyList
.
get
(
position
);
holder
.
name
.
setText
(
body
.
getBodyName
());
holder
.
description
.
setText
(
body
.
getBodyShortDescription
());
Picasso
.
get
().
load
(
body
.
getBodyImageURL
()).
into
(
holder
.
image
);
Picasso
.
get
().
load
(
body
.
getBodyImageURL
()).
resize
(
0
,
200
).
into
(
holder
.
image
);
}
...
...
app/src/main/java/app/insti/fragment/AboutFragment.java
View file @
b143b11b
...
...
@@ -72,7 +72,7 @@ public class AboutFragment extends BaseFragment {
/* Show team pics */
for
(
final
Map
.
Entry
<
Integer
,
String
>
entry
:
team
.
entrySet
())
{
CircleImageView
circleImageView
=
getActivity
().
findViewById
(
entry
.
getKey
());
Picasso
.
get
().
load
(
"https://insti.app/team-pics/"
+
entry
.
getValue
()).
into
(
circleImageView
);
Picasso
.
get
().
load
(
"https://insti.app/team-pics/"
+
entry
.
getValue
()).
resize
(
0
,
300
).
into
(
circleImageView
);
}
/* Map TextView ids to links */
...
...
app/src/main/java/app/insti/fragment/ProfileFragment.java
View file @
b143b11b
...
...
@@ -142,7 +142,7 @@ public class ProfileFragment extends BackHandledFragment {
Picasso
.
get
()
.
load
(
user
.
getUserProfilePictureUrl
())
.
resize
(
8
00
,
0
)
.
resize
(
5
00
,
0
)
.
placeholder
(
R
.
drawable
.
user_placeholder
)
.
into
(
userProfilePictureImageView
);
...
...
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