Use material icons
|
@ -353,17 +353,22 @@ public class SubscriptionExpandableListAdapter extends BaseExpandableListAdapter
|
|||
Drawable btn_rating_star_off_normal_holo_light;
|
||||
|
||||
private Drawable getBtn_rating_star_off_normal_holo_light(Context context) {
|
||||
if(btn_rating_star_off_normal_holo_light == null)
|
||||
btn_rating_star_off_normal_holo_light = context.getResources().getDrawable(R.drawable.btn_rating_star_off_normal_holo_light);
|
||||
if(btn_rating_star_off_normal_holo_light == null) {
|
||||
if(ThemeChooser.isDarkTheme(mContext)) {
|
||||
btn_rating_star_off_normal_holo_light = context.getResources().getDrawable(R.drawable.ic_action_star_border_dark);
|
||||
} else {
|
||||
btn_rating_star_off_normal_holo_light = context.getResources().getDrawable(R.drawable.ic_action_star_border_light);
|
||||
}
|
||||
}
|
||||
return btn_rating_star_off_normal_holo_light;
|
||||
}
|
||||
|
||||
private Drawable getic_find_next_holo(Context context) {
|
||||
if(ic_find_next_holo == null) {
|
||||
if(ThemeChooser.isDarkTheme(mContext))
|
||||
ic_find_next_holo = context.getResources().getDrawable(R.drawable.ic_find_next_holo_dark);
|
||||
ic_find_next_holo = context.getResources().getDrawable(R.drawable.ic_action_expand_less_dark);
|
||||
else
|
||||
ic_find_next_holo = context.getResources().getDrawable(R.drawable.ic_find_next_holo_light);
|
||||
ic_find_next_holo = context.getResources().getDrawable(R.drawable.ic_action_expand_less_light);
|
||||
}
|
||||
return ic_find_next_holo;
|
||||
}
|
||||
|
@ -371,9 +376,9 @@ public class SubscriptionExpandableListAdapter extends BaseExpandableListAdapter
|
|||
private Drawable getic_find_previous_holo(Context context) {
|
||||
if(ic_find_previous_holo == null) {
|
||||
if(ThemeChooser.isDarkTheme(mContext))
|
||||
ic_find_previous_holo = context.getResources().getDrawable(R.drawable.ic_find_previous_holo_dark);
|
||||
ic_find_previous_holo = context.getResources().getDrawable(R.drawable.ic_action_expand_more_dark);
|
||||
else
|
||||
ic_find_previous_holo = context.getResources().getDrawable(R.drawable.ic_find_previous_holo_light);
|
||||
ic_find_previous_holo = context.getResources().getDrawable(R.drawable.ic_action_expand_more_light);
|
||||
}
|
||||
return ic_find_previous_holo;
|
||||
}
|
||||
|
|
|
@ -330,20 +330,20 @@ public class NewsDetailActivity extends PodcastFragmentActivity {
|
|||
|
||||
//if(rssFiles.get(currentPosition).getStarred() && menuItem_Starred != null)
|
||||
if(isStarred && menuItem_Starred != null)
|
||||
menuItem_Starred.setIcon(getSmallVersionOfActionbarIcon(R.drawable.btn_rating_star_on_normal_holo_dark));
|
||||
menuItem_Starred.setIcon(getSmallVersionOfActionbarIcon(R.drawable.ic_action_star_dark));
|
||||
//menuItem_Starred.setIcon(R.drawable.btn_rating_star_on_normal_holo_light);
|
||||
else if(menuItem_Starred != null)
|
||||
menuItem_Starred.setIcon(getSmallVersionOfActionbarIcon(R.drawable.btn_rating_star_off_normal_holo_dark));
|
||||
menuItem_Starred.setIcon(getSmallVersionOfActionbarIcon(R.drawable.ic_action_star_border_dark));
|
||||
//menuItem_Starred.setIcon(R.drawable.btn_rating_star_off_normal_holo_light);
|
||||
|
||||
|
||||
|
||||
if(isRead && menuItem_Read != null) {
|
||||
menuItem_Read.setIcon(R.drawable.btn_check_on_holo_dark);
|
||||
menuItem_Read.setIcon(R.drawable.ic_check_box_white);
|
||||
menuItem_Read.setChecked(true);
|
||||
}
|
||||
else if(menuItem_Read != null) {
|
||||
menuItem_Read.setIcon(R.drawable.btn_check_off_holo_dark);
|
||||
menuItem_Read.setIcon(R.drawable.ic_check_box_outline_blank_white);
|
||||
menuItem_Read.setChecked(false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ public class PodcastFragment extends Fragment {
|
|||
hasTitleInCache = true;
|
||||
|
||||
int drawableId = podcast.isPlaying() ? android.R.drawable.ic_media_pause : android.R.drawable.ic_media_play;
|
||||
int drawableIdDarkDesign = podcast.isPlaying() ? R.drawable.av_pause : R.drawable.av_play;
|
||||
int drawableIdDarkDesign = podcast.isPlaying() ? R.drawable.ic_action_pause : R.drawable.ic_action_play_arrow;
|
||||
|
||||
if(lastDrawableId != drawableId) {
|
||||
lastDrawableId = drawableId;
|
||||
|
|
|
@ -306,7 +306,7 @@ public class NewsListArrayAdapter extends GreenDaoListAdapter<RssItem> {
|
|||
if (ThemeChooser.isDarkTheme(mActivity)) {
|
||||
drawableResource = isPlaying ? android.R.drawable.ic_media_pause : android.R.drawable.ic_media_play;
|
||||
} else {
|
||||
drawableResource = isPlaying ? R.drawable.av_pause : R.drawable.av_play;
|
||||
drawableResource = isPlaying ? R.drawable.ic_action_pause : R.drawable.ic_action_play_arrow;
|
||||
}
|
||||
ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) simpleLayout.btnPlayPausePodcast.getLayoutParams();
|
||||
params.setMargins(DpToPx(mActivity, isPlaying ? 0 : 2), 0, 0, 0);
|
||||
|
|
|
@ -114,7 +114,7 @@ public class WidgetTodoViewsFactory implements RemoteViewsService.RemoteViewsFac
|
|||
rv.setTextViewText(R.id.feed_title, title);
|
||||
|
||||
|
||||
int resId = rssItem.getRead_temp() ? R.drawable.btn_check_on_holo_dark : R.drawable.btn_check_off_holo_dark;
|
||||
int resId = rssItem.getRead_temp() ? R.drawable.ic_check_box_white : R.drawable.ic_check_box_outline_blank_white;
|
||||
rv.setInt(R.id.cb_lv_item_read, "setBackgroundResource", resId);
|
||||
|
||||
//View viewColor = view.findViewById(R.id.color_line_feed);
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
BIN
News-Android-App/src/main/res/drawable-hdpi/ic_action_delete.png
Normal file
After Width: | Height: | Size: 160 B |
After Width: | Height: | Size: 282 B |
After Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 165 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 161 B |
After Width: | Height: | Size: 204 B |
BIN
News-Android-App/src/main/res/drawable-hdpi/ic_action_pause.png
Normal file
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 422 B |
BIN
News-Android-App/src/main/res/drawable-hdpi/ic_action_save.png
Normal file
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 568 B |
After Width: | Height: | Size: 404 B |
After Width: | Height: | Size: 402 B |
After Width: | Height: | Size: 160 B |
After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 983 B |
Before Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
BIN
News-Android-App/src/main/res/drawable-mdpi/ic_action_delete.png
Normal file
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 129 B |
After Width: | Height: | Size: 127 B |
After Width: | Height: | Size: 129 B |
After Width: | Height: | Size: 127 B |
After Width: | Height: | Size: 166 B |
After Width: | Height: | Size: 167 B |
After Width: | Height: | Size: 116 B |
After Width: | Height: | Size: 157 B |
BIN
News-Android-App/src/main/res/drawable-mdpi/ic_action_pause.png
Normal file
After Width: | Height: | Size: 83 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 276 B |
BIN
News-Android-App/src/main/res/drawable-mdpi/ic_action_save.png
Normal file
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 370 B |
After Width: | Height: | Size: 365 B |
After Width: | Height: | Size: 275 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 941 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 307 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 277 B |
After Width: | Height: | Size: 304 B |
After Width: | Height: | Size: 157 B |
After Width: | Height: | Size: 230 B |
BIN
News-Android-App/src/main/res/drawable-xhdpi/ic_action_pause.png
Normal file
After Width: | Height: | Size: 103 B |