mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
theme progress wheels notifications/activities
This commit is contained in:
parent
efd009ce2c
commit
40ad53b126
2 changed files with 7 additions and 1 deletions
|
@ -26,6 +26,7 @@ import android.accounts.AuthenticatorException;
|
|||
import android.accounts.OperationCanceledException;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.os.Bundle;
|
||||
import android.support.design.widget.BottomNavigationView;
|
||||
import android.support.v4.widget.SwipeRefreshLayout;
|
||||
|
@ -57,6 +58,7 @@ import com.owncloud.android.ui.preview.PreviewImageActivity;
|
|||
import com.owncloud.android.ui.preview.PreviewImageFragment;
|
||||
import com.owncloud.android.utils.AnalyticsUtils;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.ThemeUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -161,8 +163,9 @@ public class ActivitiesListActivity extends FileActivity implements ActivityList
|
|||
* sets up the UI elements and loads all activity items.
|
||||
*/
|
||||
private void setupContent() {
|
||||
|
||||
emptyContentIcon.setImageResource(R.drawable.ic_activity_light_grey);
|
||||
emptyContentProgressBar.getIndeterminateDrawable().setColorFilter(ThemeUtils.primaryAccentColor(),
|
||||
PorterDuff.Mode.SRC_IN);
|
||||
setLoadingMessage();
|
||||
|
||||
adapter = new ActivityListAdapter(this, this);
|
||||
|
|
|
@ -27,6 +27,7 @@ import android.accounts.AuthenticatorException;
|
|||
import android.accounts.OperationCanceledException;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.os.Bundle;
|
||||
import android.support.design.widget.BottomNavigationView;
|
||||
import android.support.v4.widget.SwipeRefreshLayout;
|
||||
|
@ -160,6 +161,8 @@ public class NotificationsActivity extends FileActivity {
|
|||
*/
|
||||
private void setupContent() {
|
||||
emptyContentIcon.setImageResource(R.drawable.ic_notification_light_grey);
|
||||
emptyContentProgressBar.getIndeterminateDrawable().setColorFilter(ThemeUtils.primaryAccentColor(),
|
||||
PorterDuff.Mode.SRC_IN);
|
||||
setLoadingMessage();
|
||||
|
||||
adapter = new NotificationListAdapter(this);
|
||||
|
|
Loading…
Reference in a new issue