Delete unused resources
|
@ -1,55 +0,0 @@
|
|||
package de.danoeh.antennapod.core.util.gui;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import de.danoeh.antennapod.core.feed.FeedItem;
|
||||
|
||||
/**
|
||||
* Used by an UndoBarController for saving a removed FeedItem
|
||||
*/
|
||||
public class FeedItemUndoToken implements Parcelable {
|
||||
private long itemId;
|
||||
private long feedId;
|
||||
private int position;
|
||||
|
||||
public FeedItemUndoToken(FeedItem item, int position) {
|
||||
this.itemId = item.getId();
|
||||
this.feedId = item.getFeed().getId();
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
private FeedItemUndoToken(Parcel in) {
|
||||
itemId = in.readLong();
|
||||
feedId = in.readLong();
|
||||
position = in.readInt();
|
||||
}
|
||||
|
||||
public static final Parcelable.Creator<FeedItemUndoToken> CREATOR = new Parcelable.Creator<FeedItemUndoToken>() {
|
||||
public FeedItemUndoToken createFromParcel(Parcel in) {
|
||||
return new FeedItemUndoToken(in);
|
||||
}
|
||||
|
||||
public FeedItemUndoToken[] newArray(int size) {
|
||||
return new FeedItemUndoToken[size];
|
||||
}
|
||||
};
|
||||
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void writeToParcel(Parcel out, int flags) {
|
||||
out.writeLong(itemId);
|
||||
out.writeLong(feedId);
|
||||
out.writeInt(position);
|
||||
}
|
||||
|
||||
public long getFeedItemId() {
|
||||
return itemId;
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 635 B |
Before Width: | Height: | Size: 626 B |
Before Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 312 B |
|
@ -1,22 +0,0 @@
|
|||
<!--
|
||||
|
||||
Copyright 2012 Roman Nurik
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/undobar_button_pressed" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/undobar_button_focused" android:state_focused="true"/>
|
||||
<item android:drawable="@android:color/transparent"/>
|
||||
</selector>
|
|
@ -19,8 +19,6 @@
|
|||
<attr name="navigation_expand" format="reference"/>
|
||||
<attr name="navigation_refresh" format="reference"/>
|
||||
<attr name="navigation_up" format="reference"/>
|
||||
<attr name="navigation_shownotes" format="reference"/>
|
||||
<attr name="navigation_chapters" format="reference"/>
|
||||
<attr name="social_share" format="reference"/>
|
||||
<attr name="stat_playlist" format="reference"/>
|
||||
<attr name="type_audio" format="reference"/>
|
||||
|
@ -29,7 +27,6 @@
|
|||
<attr name="overlay_drawable" format="reference"/>
|
||||
<attr name="dragview_background" format="reference"/>
|
||||
<attr name="dragview_float_background" format="reference"/>
|
||||
<attr name="ic_action_overflow" format="reference"/>
|
||||
<attr name="ic_new" format="reference"/>
|
||||
<attr name="ic_history" format="reference"/>
|
||||
<attr name="av_play_big" format="reference"/>
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
<item name="attr/navigation_expand">@drawable/ic_expand_more_grey600_36dp</item>
|
||||
<item name="attr/navigation_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
||||
<item name="attr/navigation_up">@drawable/navigation_up</item>
|
||||
<item name="attr/navigation_shownotes">@drawable/ic_description_grey600_36dp</item>
|
||||
<item name="attr/navigation_chapters">@drawable/ic_toc_grey600_36dp</item>
|
||||
<item name="attr/social_share">@drawable/ic_share_grey600_24dp</item>
|
||||
<item name="attr/stat_playlist">@drawable/ic_list_grey600_24dp</item>
|
||||
<item name="attr/type_audio">@drawable/ic_hearing_grey600_18dp</item>
|
||||
|
@ -37,7 +35,6 @@
|
|||
<item name="attr/dragview_background">@drawable/ic_drag_vertical_grey600_48dp</item>
|
||||
<item name="attr/dragview_float_background">@color/white</item>
|
||||
<item name="attr/nav_drawer_background">@color/white</item>
|
||||
<item name="attr/ic_action_overflow">@drawable/ic_more_vert_grey600_24dp</item>
|
||||
<item name="attr/ic_new">@drawable/ic_new_releases_grey600_24dp</item>
|
||||
<item name="attr/ic_history">@drawable/ic_history_grey600_24dp</item>
|
||||
<item name="attr/av_play_big">@drawable/ic_play_arrow_grey600_36dp</item>
|
||||
|
@ -85,8 +82,6 @@
|
|||
<item name="attr/navigation_expand">@drawable/ic_expand_more_white_36dp</item>
|
||||
<item name="attr/navigation_refresh">@drawable/ic_refresh_white_24dp</item>
|
||||
<item name="attr/navigation_up">@drawable/navigation_up_dark</item>
|
||||
<item name="attr/navigation_shownotes">@drawable/ic_description_white_36dp</item>
|
||||
<item name="attr/navigation_chapters">@drawable/ic_toc_white_36dp</item>
|
||||
<item name="attr/social_share">@drawable/ic_share_white_24dp</item>
|
||||
<item name="attr/stat_playlist">@drawable/ic_list_white_24dp</item>
|
||||
<item name="attr/type_audio">@drawable/ic_hearing_white_18dp</item>
|
||||
|
@ -97,7 +92,6 @@
|
|||
<item name="attr/dragview_background">@drawable/ic_drag_vertical_white_48dp</item>
|
||||
<item name="attr/dragview_float_background">@color/black</item>
|
||||
<item name="attr/nav_drawer_background">#3B3B3B</item>
|
||||
<item name="attr/ic_action_overflow">@drawable/ic_more_vert_white_24dp</item>
|
||||
<item name="attr/ic_new">@drawable/ic_new_releases_white_24dp</item>
|
||||
<item name="attr/ic_history">@drawable/ic_history_white_24dp</item>
|
||||
<item name="attr/av_play_big">@drawable/ic_play_arrow_white_36dp</item>
|
||||
|
@ -146,8 +140,6 @@
|
|||
<item name="attr/navigation_expand">@drawable/ic_expand_more_grey600_36dp</item>
|
||||
<item name="attr/navigation_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
||||
<item name="attr/navigation_up">@drawable/navigation_up</item>
|
||||
<item name="attr/navigation_shownotes">@drawable/ic_description_grey600_36dp</item>
|
||||
<item name="attr/navigation_chapters">@drawable/ic_toc_grey600_36dp</item>
|
||||
<item name="attr/social_share">@drawable/ic_share_grey600_24dp</item>
|
||||
<item name="attr/stat_playlist">@drawable/ic_list_grey600_24dp</item>
|
||||
<item name="attr/type_audio">@drawable/ic_hearing_grey600_18dp</item>
|
||||
|
@ -158,7 +150,6 @@
|
|||
<item name="attr/dragview_background">@drawable/ic_drag_vertical_grey600_48dp</item>
|
||||
<item name="attr/dragview_float_background">@color/white</item>
|
||||
<item name="attr/nav_drawer_background">@color/white</item>
|
||||
<item name="attr/ic_action_overflow">@drawable/ic_more_vert_grey600_24dp</item>
|
||||
<item name="attr/ic_new">@drawable/ic_new_releases_grey600_24dp</item>
|
||||
<item name="attr/ic_history">@drawable/ic_history_grey600_24dp</item>
|
||||
<item name="attr/av_play_big">@drawable/ic_play_arrow_grey600_36dp</item>
|
||||
|
@ -207,8 +198,6 @@
|
|||
<item name="attr/navigation_expand">@drawable/ic_expand_more_white_36dp</item>
|
||||
<item name="attr/navigation_refresh">@drawable/ic_refresh_white_24dp</item>
|
||||
<item name="attr/navigation_up">@drawable/navigation_up_dark</item>
|
||||
<item name="attr/navigation_shownotes">@drawable/ic_description_white_36dp</item>
|
||||
<item name="attr/navigation_chapters">@drawable/ic_toc_white_36dp</item>
|
||||
<item name="attr/social_share">@drawable/ic_share_white_24dp</item>
|
||||
<item name="attr/stat_playlist">@drawable/ic_list_white_24dp</item>
|
||||
<item name="attr/type_audio">@drawable/ic_hearing_white_18dp</item>
|
||||
|
@ -219,7 +208,6 @@
|
|||
<item name="attr/dragview_background">@drawable/ic_drag_vertical_white_48dp</item>
|
||||
<item name="attr/dragview_float_background">@color/black</item>
|
||||
<item name="attr/nav_drawer_background">#3B3B3B</item>
|
||||
<item name="attr/ic_action_overflow">@drawable/ic_more_vert_white_24dp</item>
|
||||
<item name="attr/ic_new">@drawable/ic_new_releases_white_24dp</item>
|
||||
<item name="attr/ic_history">@drawable/ic_history_white_24dp</item>
|
||||
<item name="attr/av_play_big">@drawable/ic_play_arrow_white_36dp</item>
|
||||
|
|