Merge pull request #270 from connyduck/profile-header
remove account_header_default.png
This commit is contained in:
commit
d658e6e7a3
6 changed files with 57 additions and 58 deletions
|
@ -165,9 +165,6 @@ public class AccountActivity extends BaseActivity implements SFragment.OnUserRem
|
|||
// Initialise the default UI states.
|
||||
floatingBtn.hide();
|
||||
|
||||
avatar.setImageResource(R.drawable.avatar_default);
|
||||
header.setImageResource(R.drawable.account_header_default);
|
||||
|
||||
// Obtain information to fill out the profile.
|
||||
obtainAccount();
|
||||
if (!accountId.equals(loggedInAccountId)) {
|
||||
|
@ -277,7 +274,7 @@ public class AccountActivity extends BaseActivity implements SFragment.OnUserRem
|
|||
.into(avatar);
|
||||
Picasso.with(this)
|
||||
.load(account.header)
|
||||
.placeholder(R.drawable.account_header_missing)
|
||||
.placeholder(R.drawable.account_header_default)
|
||||
.into(header);
|
||||
|
||||
NumberFormat nf = NumberFormat.getInstance();
|
||||
|
|
|
@ -179,7 +179,7 @@ public class EditProfileActivity extends BaseActivity {
|
|||
.into(avatar);
|
||||
Picasso.with(header.getContext())
|
||||
.load(me.header)
|
||||
.placeholder(R.drawable.account_header_missing)
|
||||
.placeholder(R.drawable.account_header_default)
|
||||
.into(header);
|
||||
}
|
||||
|
||||
|
|
|
@ -496,7 +496,7 @@ public class MainActivity extends BaseActivity implements SFragment.OnUserRemove
|
|||
|
||||
Picasso.with(MainActivity.this)
|
||||
.load(me.header)
|
||||
.placeholder(R.drawable.account_header_missing)
|
||||
.placeholder(R.drawable.account_header_default)
|
||||
.resize(backgroundWidth, backgroundHeight)
|
||||
.centerCrop()
|
||||
.into(background);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue