Fixed strings
This commit is contained in:
parent
50f73c1dde
commit
1319797883
2 changed files with 11 additions and 7 deletions
|
|
@ -133,12 +133,18 @@ public abstract class AbsTagEditorActivity extends AbsBaseActivity {
|
|||
|
||||
private void setUpImageView() {
|
||||
loadCurrentImage();
|
||||
final CharSequence[] items = new CharSequence[]{
|
||||
getString(R.string.download_from_last_fm),
|
||||
getString(R.string.pick_from_local_storage),
|
||||
getString(R.string.web_search),
|
||||
getString(R.string.remove_cover)
|
||||
};
|
||||
image.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
new MaterialDialog.Builder(AbsTagEditorActivity.this)
|
||||
.title(R.string.update_image)
|
||||
.items(R.array.update_album_cover_options)
|
||||
.items(items)
|
||||
.itemsCallback(new MaterialDialog.ListCallback() {
|
||||
@Override
|
||||
public void onSelection(MaterialDialog dialog, View view, int which, CharSequence text) {
|
||||
|
|
|
|||
|
|
@ -159,10 +159,8 @@
|
|||
<string name="last_added">Last added</string>
|
||||
<string name="recently_played">Recently played</string>
|
||||
<string name="my_top_tracks">My top tracks</string>
|
||||
<string-array name="update_album_cover_options">
|
||||
<item>Download from Last.fm</item>
|
||||
<item>Pick from Local Storage</item>
|
||||
<item>Web Search</item>
|
||||
<item>Remove Cover</item>
|
||||
</string-array>
|
||||
<string name="remove_cover">Remove cover</string>
|
||||
<string name="download_from_last_fm">Download from last.fm</string>
|
||||
<string name="pick_from_local_storage">Pick from local storage</string>
|
||||
<string name="web_search">Web search</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue