Skip to content
Merged
Prev Previous commit
Next Next commit
view elements fix
  • Loading branch information
AndyScherzinger committed Aug 18, 2016
commit 3658becdf58c6b5ea1fd12f34d5ce56d878e4fb8
10 changes: 5 additions & 5 deletions src/com/owncloud/android/ui/activity/DrawerActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ protected void setupDrawer() {
mAccountChooserToggle = (ImageView) findNavigationViewChildById(R.id.drawer_account_chooser_toogle);
mAccountChooserToggle.setImageResource(R.drawable.ic_down);
mIsAccountChooserActive = false;
mAccountMiddleAccountAvatar = (ImageView) findViewById(R.id.drawer_account_middle);
mAccountEndAccountAvatar = (ImageView) findViewById(R.id.drawer_account_end);
mAccountMiddleAccountAvatar = (ImageView) findNavigationViewChildById(R.id.drawer_account_middle);
mAccountEndAccountAvatar = (ImageView) findNavigationViewChildById(R.id.drawer_account_end);

// on pre lollipop the light theme adds a black tint to icons with white coloring
// ruining the generic avatars, so tinting for icons is deactivated pre lollipop
Expand All @@ -169,9 +169,9 @@ public void onClick(View v) {
});

// Quota UI elements
mQuotaView = (LinearLayout) findNavigationViewChildById(R.id.drawer_quota);
mQuotaProgressBar = (ProgressBar) findNavigationViewChildById(R.id.drawer_quota_ProgressBar);
mQuotaTextView = (TextView) findNavigationViewChildById(R.id.drawer_quota_text);
mQuotaView = (LinearLayout) findViewById(R.id.drawer_quota);
mQuotaProgressBar = (ProgressBar) findViewById(R.id.drawer_quota_ProgressBar);
mQuotaTextView = (TextView) findViewById(R.id.drawer_quota_text);
DisplayUtils.colorPreLollipopHorizontalProgressBar(mQuotaProgressBar);
}

Expand Down