Reverted most edgeglows.
This commit is contained in:
parent
493717f269
commit
a005f27a65
8 changed files with 0 additions and 23 deletions
|
|
@ -12,13 +12,11 @@ import android.view.MenuItem;
|
|||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.afollestad.materialdialogs.internal.ThemeSingleton;
|
||||
import com.kabouzeid.appthemehelper.ThemeStore;
|
||||
import com.kabouzeid.appthemehelper.util.ATHUtil;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.dialogs.ChangelogDialog;
|
||||
import com.kabouzeid.gramophone.dialogs.DonationDialog;
|
||||
|
|
@ -55,9 +53,6 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
|
|||
|
||||
private static String ALEKSANDAR_TESIC_GOOGLE_PLUS = "https://google.com/+aleksandartešić";
|
||||
|
||||
@Bind(R.id.scroll_view)
|
||||
ScrollView scrollView;
|
||||
|
||||
@Bind(R.id.toolbar)
|
||||
Toolbar toolbar;
|
||||
@Bind(R.id.app_version)
|
||||
|
|
@ -147,7 +142,6 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
|
|||
setUpAppVersion();
|
||||
setUpIconTint();
|
||||
setUpOnClickListeners();
|
||||
EdgeGlowUtil.setEdgeGlowColor(scrollView, ThemeStore.primaryColor(this));
|
||||
}
|
||||
|
||||
private void setUpToolbar() {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import com.bumptech.glide.request.RequestListener;
|
|||
import com.bumptech.glide.request.target.Target;
|
||||
import com.github.ksoichiro.android.observablescrollview.ObservableRecyclerView;
|
||||
import com.kabouzeid.appthemehelper.util.ColorUtil;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.appthemehelper.util.MaterialValueHelper;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.adapter.song.AlbumSongAdapter;
|
||||
|
|
@ -181,8 +180,6 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
|
|||
|
||||
setNavigationbarColor(color);
|
||||
setTaskDescriptionColor(color);
|
||||
|
||||
EdgeGlowUtil.setEdgeGlowColor(recyclerView, color, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import com.bumptech.glide.request.RequestListener;
|
|||
import com.bumptech.glide.request.target.Target;
|
||||
import com.github.ksoichiro.android.observablescrollview.ObservableListView;
|
||||
import com.kabouzeid.appthemehelper.util.ColorUtil;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.appthemehelper.util.MaterialValueHelper;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.adapter.album.HorizontalAlbumAdapter;
|
||||
|
|
@ -305,12 +304,8 @@ public class ArtistDetailActivity extends AbsSlidingMusicPanelActivity implement
|
|||
toolbarColor = color;
|
||||
artistName.setBackgroundColor(color);
|
||||
artistName.setTextColor(MaterialValueHelper.getPrimaryTextColor(this, ColorUtil.isColorLight(color)));
|
||||
|
||||
setNavigationbarColor(color);
|
||||
setTaskDescriptionColor(color);
|
||||
|
||||
EdgeGlowUtil.setEdgeGlowColor(songListView, color);
|
||||
EdgeGlowUtil.setEdgeGlowColor(albumRecyclerView, color, null);
|
||||
}
|
||||
|
||||
private void getArtistFromIntentExtras() {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ import com.h6ah4i.android.widget.advrecyclerview.animator.RefactoredDefaultItemA
|
|||
import com.h6ah4i.android.widget.advrecyclerview.draggable.RecyclerViewDragDropManager;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.utils.WrapperAdapterUtils;
|
||||
import com.kabouzeid.appthemehelper.ThemeStore;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.adapter.song.PlaylistSongAdapter;
|
||||
import com.kabouzeid.gramophone.adapter.song.SmartPlaylistSongAdapter;
|
||||
|
|
@ -92,7 +91,6 @@ public class PlaylistDetailActivity extends AbsSlidingMusicPanelActivity impleme
|
|||
}
|
||||
|
||||
private void setUpRecyclerView() {
|
||||
EdgeGlowUtil.setEdgeGlowColor(recyclerView, ThemeStore.primaryColor(this), null);
|
||||
recyclerView.setLayoutManager(new LinearLayoutManager(this));
|
||||
if (playlist instanceof AbsSmartPlaylist) {
|
||||
adapter = new SmartPlaylistSongAdapter(this, loadSmartPlaylistDataSet(), R.layout.item_list, false, this);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ import android.widget.ImageView;
|
|||
import android.widget.TextView;
|
||||
|
||||
import com.kabouzeid.appthemehelper.ThemeStore;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.appthemehelper.util.ToolbarContentTintHelper;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.adapter.SearchAdapter;
|
||||
|
|
@ -58,7 +57,6 @@ public class SearchActivity extends AbsMusicServiceActivity {
|
|||
setNavigationbarColorAuto();
|
||||
setTaskDescriptionColorAuto();
|
||||
|
||||
EdgeGlowUtil.setEdgeGlowColor(recyclerView, ThemeStore.primaryColor(this), null);
|
||||
recyclerView.setLayoutManager(new LinearLayoutManager(this));
|
||||
searchAdapter = new SearchAdapter(this);
|
||||
recyclerView.setAdapter(searchAdapter);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import com.kabouzeid.appthemehelper.ThemeStore;
|
|||
import com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEColorPreference;
|
||||
import com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceFragmentCompat;
|
||||
import com.kabouzeid.appthemehelper.util.ColorUtil;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.ui.activities.base.AbsBaseActivity;
|
||||
import com.kabouzeid.gramophone.util.NavigationUtil;
|
||||
|
|
@ -124,7 +123,6 @@ public class SettingsActivity extends AbsBaseActivity implements ColorChooserDia
|
|||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
getListView().setPadding(0, 0, 0, 0);
|
||||
EdgeGlowUtil.setEdgeGlowColor(getListView(), ThemeStore.primaryColor(getActivity()), null);
|
||||
invalidateSettings();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ import android.widget.TextView;
|
|||
import com.kabouzeid.appthemehelper.ThemeStore;
|
||||
import com.kabouzeid.appthemehelper.util.ATHUtil;
|
||||
import com.kabouzeid.appthemehelper.util.ColorUtil;
|
||||
import com.kabouzeid.appthemehelper.util.EdgeGlowUtil;
|
||||
import com.kabouzeid.appthemehelper.util.MaterialValueHelper;
|
||||
import com.kabouzeid.gramophone.R;
|
||||
import com.kabouzeid.gramophone.interfaces.MusicServiceEventListener;
|
||||
|
|
@ -63,7 +62,6 @@ public abstract class AbsMainActivityRecyclerViewFragment<A extends RecyclerView
|
|||
}
|
||||
|
||||
private void setUpRecyclerView() {
|
||||
EdgeGlowUtil.setEdgeGlowColor(recyclerView, ThemeStore.primaryColor(getActivity()), null);
|
||||
if (recyclerView instanceof FastScrollRecyclerView) {
|
||||
int accentColor = ThemeStore.accentColor(getActivity());
|
||||
((FastScrollRecyclerView) recyclerView).setPopupBgColor(accentColor);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
android:background="@android:color/transparent" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scroll_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue