mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 05:16:15 +03:00
Merge current master
This commit is contained in:
parent
c3630231d4
commit
be0260950b
3 changed files with 13 additions and 1 deletions
|
@ -15,6 +15,8 @@ import android.os.Bundle;
|
|||
import android.os.Handler;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.widget.LinearLayout;
|
||||
|
|
|
@ -101,7 +101,7 @@ public class LoadNotesListTask extends AsyncTask<Void, Void, List<Item>> {
|
|||
if (!initials.equals(lastInitials)) {
|
||||
itemList.add(new SectionItem(initials));
|
||||
}
|
||||
itemList.add(colorTheNote(currentNote));
|
||||
itemList.add(currentNote);
|
||||
lastInitials = initials;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/sorting_method"
|
||||
android:icon="@drawable/alphabetical_asc"
|
||||
android:title="@string/action_sorting_method"
|
||||
app:showAsAction="collapseActionView|always" />
|
||||
</menu>
|
Loading…
Reference in a new issue