From 289e53a7f5da94d7a4bee42ed2dd9c0a4fd95fc7 Mon Sep 17 00:00:00 2001 From: inorichi Date: Wed, 30 Sep 2015 19:03:11 +0200 Subject: [PATCH] Search for library (not working) --- .../mangafeed/presenter/BasePresenter.java | 18 ++++++ .../mangafeed/presenter/LibraryPresenter.java | 25 +++++++- .../presenter/MangaDetailPresenter.java | 10 +-- .../mangafeed/ui/activity/MainActivity.java | 16 ----- .../ui/activity/MangaDetailActivity.java | 38 +++--------- .../mangafeed/ui/fragment/BaseFragment.java | 6 ++ .../ui/fragment/LibraryFragment.java | 57 +++++++++++++++--- .../res/drawable-hdpi/ic_action_refresh.png | Bin 0 -> 422 bytes .../res/drawable-hdpi/ic_action_search.png | Bin 0 -> 448 bytes .../res/drawable-mdpi/ic_action_refresh.png | Bin 0 -> 276 bytes .../res/drawable-mdpi/ic_action_search.png | Bin 0 -> 265 bytes .../res/drawable-xhdpi/ic_action_refresh.png | Bin 0 -> 557 bytes .../res/drawable-xhdpi/ic_action_search.png | Bin 0 -> 492 bytes .../res/drawable-xxhdpi/ic_action_refresh.png | Bin 0 -> 787 bytes .../res/drawable-xxhdpi/ic_action_search.png | Bin 0 -> 744 bytes .../drawable-xxxhdpi/ic_action_refresh.png | Bin 0 -> 1050 bytes .../res/drawable-xxxhdpi/ic_action_search.png | Bin 0 -> 967 bytes app/src/main/res/menu/library.xml | 17 ++++++ app/src/main/res/menu/main.xml | 6 -- app/src/main/res/values/strings.xml | 3 + 20 files changed, 126 insertions(+), 70 deletions(-) create mode 100644 app/src/main/java/eu/kanade/mangafeed/presenter/BasePresenter.java create mode 100644 app/src/main/java/eu/kanade/mangafeed/ui/fragment/BaseFragment.java create mode 100644 app/src/main/res/drawable-hdpi/ic_action_refresh.png create mode 100644 app/src/main/res/drawable-hdpi/ic_action_search.png create mode 100644 app/src/main/res/drawable-mdpi/ic_action_refresh.png create mode 100644 app/src/main/res/drawable-mdpi/ic_action_search.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_action_refresh.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_action_search.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_action_refresh.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_action_search.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_action_refresh.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_action_search.png create mode 100644 app/src/main/res/menu/library.xml delete mode 100644 app/src/main/res/menu/main.xml diff --git a/app/src/main/java/eu/kanade/mangafeed/presenter/BasePresenter.java b/app/src/main/java/eu/kanade/mangafeed/presenter/BasePresenter.java new file mode 100644 index 0000000000..083a774c4d --- /dev/null +++ b/app/src/main/java/eu/kanade/mangafeed/presenter/BasePresenter.java @@ -0,0 +1,18 @@ +package eu.kanade.mangafeed.presenter; + +import de.greenrobot.event.EventBus; + +public class BasePresenter { + + public void registerForStickyEvents() { + EventBus.getDefault().registerSticky(this); + } + + public void registerForEvents() { + EventBus.getDefault().register(this); + } + + public void unregisterForEvents() { + EventBus.getDefault().unregister(this); + } +} diff --git a/app/src/main/java/eu/kanade/mangafeed/presenter/LibraryPresenter.java b/app/src/main/java/eu/kanade/mangafeed/presenter/LibraryPresenter.java index ff21dab68a..d292f23860 100644 --- a/app/src/main/java/eu/kanade/mangafeed/presenter/LibraryPresenter.java +++ b/app/src/main/java/eu/kanade/mangafeed/presenter/LibraryPresenter.java @@ -10,11 +10,17 @@ import eu.kanade.mangafeed.data.helpers.PreferencesHelper; import eu.kanade.mangafeed.data.models.Manga; import eu.kanade.mangafeed.ui.activity.MangaDetailActivity; import eu.kanade.mangafeed.view.LibraryView; +import rx.Observable; +import rx.Subscription; +import rx.android.schedulers.AndroidSchedulers; +import rx.schedulers.Schedulers; +import rx.subjects.PublishSubject; +import timber.log.Timber; import uk.co.ribot.easyadapter.EasyAdapter; import static rx.android.schedulers.AndroidSchedulers.mainThread; -public class LibraryPresenter { +public class LibraryPresenter extends BasePresenter { private LibraryView view; @@ -24,6 +30,9 @@ public class LibraryPresenter { @Inject PreferencesHelper prefs; + private Subscription searchViewSubscription; + private PublishSubject> searchViewPublishSubject; + public LibraryPresenter(LibraryView view) { this.view = view; App.getComponent(view.getActivity()).inject(this); @@ -45,10 +54,24 @@ public class LibraryPresenter { view.getActivity().startActivity(intent); } + public void initializeSearch() { + searchViewPublishSubject = PublishSubject.create(); + searchViewSubscription = Observable.switchOnNext(searchViewPublishSubject) + .subscribeOn(Schedulers.io()) + .observeOn(AndroidSchedulers.mainThread()) + .subscribe(Timber::w); + } + public void initializeMangas() { db.manga.get() .observeOn(mainThread()) .subscribe(view::setMangas); } + public void onQueryTextChange(String query) { + if (searchViewPublishSubject != null) { + searchViewPublishSubject.onNext(Observable.just(query)); + } + } + } diff --git a/app/src/main/java/eu/kanade/mangafeed/presenter/MangaDetailPresenter.java b/app/src/main/java/eu/kanade/mangafeed/presenter/MangaDetailPresenter.java index 2d73cf0049..77cff579fa 100644 --- a/app/src/main/java/eu/kanade/mangafeed/presenter/MangaDetailPresenter.java +++ b/app/src/main/java/eu/kanade/mangafeed/presenter/MangaDetailPresenter.java @@ -8,7 +8,7 @@ import eu.kanade.mangafeed.data.helpers.DatabaseHelper; import eu.kanade.mangafeed.data.models.Manga; import eu.kanade.mangafeed.view.MangaDetailView; -public class MangaDetailPresenter { +public class MangaDetailPresenter extends BasePresenter { private MangaDetailView view; @@ -20,14 +20,6 @@ public class MangaDetailPresenter { App.getComponent(view.getActivity()).inject(this); } - public void onStart() { - EventBus.getDefault().registerSticky(this); - } - - public void onStop() { - EventBus.getDefault().unregister(this); - } - public void onEventMainThread(Manga manga) { view.loadManga(manga); initializeChapters(manga); diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/activity/MainActivity.java b/app/src/main/java/eu/kanade/mangafeed/ui/activity/MainActivity.java index 66f972f70d..5d09b5ef27 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/activity/MainActivity.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/activity/MainActivity.java @@ -89,22 +89,6 @@ public class MainActivity extends BaseActivity { mSubscriptions.unsubscribe(); } - @Override - public boolean onCreateOptionsMenu(Menu menu) { - getMenuInflater().inflate(R.menu.main, menu); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - switch (item.getItemId()) { - case R.id.action_github: - return true; - default: - return super.onOptionsItemSelected(item); - } - } - private void setFragment(Fragment fragment) { try { if (fragment != null && getSupportFragmentManager() != null) { diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/activity/MangaDetailActivity.java b/app/src/main/java/eu/kanade/mangafeed/ui/activity/MangaDetailActivity.java index 519a9f7619..69305263eb 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/activity/MangaDetailActivity.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/activity/MangaDetailActivity.java @@ -32,6 +32,12 @@ public class MangaDetailActivity extends BaseActivity implements MangaDetailView @Bind(R.id.manga_chapters_list) ListView list_chapters; + public static Intent newIntent(Context context, Manga manga) { + Intent intent = new Intent(context, MangaDetailActivity.class); + MangaDetailPresenter.newIntent(manga); + return intent; + } + @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); @@ -42,44 +48,16 @@ public class MangaDetailActivity extends BaseActivity implements MangaDetailView setupToolbar(toolbar); } - @Override - public boolean onCreateOptionsMenu(Menu menu) { - // Inflate the menu; this adds items to the action bar if it is present. - getMenuInflater().inflate(R.menu.menu_manga_detail, menu); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - // Handle action bar item clicks here. The action bar will - // automatically handle clicks on the Home/Up button, so long - // as you specify a parent activity in AndroidManifest.xml. - int id = item.getItemId(); - - //noinspection SimplifiableIfStatement - if (id == R.id.action_settings) { - return true; - } - - return super.onOptionsItemSelected(item); - } - - public static Intent newIntent(Context context, Manga manga) { - Intent intent = new Intent(context, MangaDetailActivity.class); - MangaDetailPresenter.newIntent(manga); - return intent; - } - @Override public void onStart() { super.onStart(); - presenter.onStart(); + presenter.registerForStickyEvents(); } @Override public void onStop() { + presenter.unregisterForEvents(); super.onStop(); - presenter.onStop(); } public void loadManga(Manga manga) { diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/fragment/BaseFragment.java b/app/src/main/java/eu/kanade/mangafeed/ui/fragment/BaseFragment.java new file mode 100644 index 0000000000..d2cf43adfd --- /dev/null +++ b/app/src/main/java/eu/kanade/mangafeed/ui/fragment/BaseFragment.java @@ -0,0 +1,6 @@ +package eu.kanade.mangafeed.ui.fragment; + +import android.app.Fragment; + +public class BaseFragment extends Fragment { +} diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/fragment/LibraryFragment.java b/app/src/main/java/eu/kanade/mangafeed/ui/fragment/LibraryFragment.java index a614fffbce..25b7610c33 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/fragment/LibraryFragment.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/fragment/LibraryFragment.java @@ -1,8 +1,10 @@ package eu.kanade.mangafeed.ui.fragment; -import android.app.Fragment; import android.os.Bundle; +import android.support.v7.widget.SearchView; import android.view.LayoutInflater; +import android.view.Menu; +import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import android.widget.GridView; @@ -17,14 +19,16 @@ import eu.kanade.mangafeed.presenter.LibraryPresenter; import eu.kanade.mangafeed.ui.activity.MainActivity; import eu.kanade.mangafeed.ui.adapter.MangaLibraryHolder; import eu.kanade.mangafeed.view.LibraryView; +import timber.log.Timber; import uk.co.ribot.easyadapter.EasyAdapter; -public class LibraryFragment extends Fragment implements LibraryView { +public class LibraryFragment extends BaseFragment implements LibraryView { @Bind(R.id.gridView) GridView grid; LibraryPresenter presenter; EasyAdapter adapter; + MainActivity activity; public static LibraryFragment newInstance() { LibraryFragment fragment = new LibraryFragment(); @@ -36,8 +40,10 @@ public class LibraryFragment extends Fragment implements LibraryView { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setHasOptionsMenu(true); presenter = new LibraryPresenter(this); + activity = (MainActivity)getActivity(); } @Override @@ -45,18 +51,49 @@ public class LibraryFragment extends Fragment implements LibraryView { Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_library, container, false); - ((MainActivity)getActivity()).setToolbarTitle(getString(R.string.library_title)); + activity.setToolbarTitle(getString(R.string.library_title)); ButterKnife.bind(this, view); - presenter.initializeMangas(); - setMangaClickListener(); - return view; } + @Override + public void onActivityCreated(Bundle savedInstanceState) { + super.onActivityCreated(savedInstanceState); + + setupToolbar(); + setMangaClickListener(); + presenter.initializeMangas(); + presenter.initializeSearch(); + } + + @Override + public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { + inflater.inflate(R.menu.library, menu); + initializeSearch(menu); + } + + private void initializeSearch(Menu menu) { + final SearchView sv = (SearchView) menu.findItem(R.id.action_search).getActionView(); + sv.setOnQueryTextListener(new SearchView.OnQueryTextListener() { + @Override + public boolean onQueryTextSubmit(String query) { + return true; + } + + @Override + public boolean onQueryTextChange(String newText) { + presenter.onQueryTextChange(newText); + return true; + } + }); + } + + // LibraryView + public void setMangas(List mangas) { if (adapter == null) { - adapter = new EasyAdapter( + adapter = new EasyAdapter<>( getActivity(), MangaLibraryHolder.class, mangas @@ -71,8 +108,12 @@ public class LibraryFragment extends Fragment implements LibraryView { private void setMangaClickListener() { grid.setOnItemClickListener( (parent, view, position, id) -> - presenter.onMangaClick(adapter, position) + presenter.onMangaClick(adapter, position) ); } + private void setupToolbar() { + //activity.getSupportActionBar(). + } + } diff --git a/app/src/main/res/drawable-hdpi/ic_action_refresh.png b/app/src/main/res/drawable-hdpi/ic_action_refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..6d4481ff70e887fd65a08d83f3551348a049bc61 GIT binary patch literal 422 zcmV;X0a^ZuP)YU6vjK)I#dKF1<^G18H$L$gM*Vsi=%_1B6hOvYdE=xIyjYDTLj-h3WaXfx{06; zhNhp#lS{BoPI60}N>3nv_`dvd?!D)pBodPtt3Vb7)X{~F9$wL)Cv!kA>Of4~z`<}h zxP+k`B_JBJhc8I+fo*b>e{Z8OC+d|xDzGTGB&Lv|yP5~PcP~-dxbcLXPuoEIZ*t*t z;|{8Ubf7+mXFbrh$|f!7Wvz^8!5yBPoS>Hm=UoOBSg#0bad-h`P@Q!vP&@Nif(+`i zZpPmfHiMG?1xm#Sy)Y;nALLHfjA|XLp_p~{*q9G9U9qW& z8PPF|7JJUalQ!_lwufL8VIEn3!$Q>fEmgKntOX3Jr8?!N&e|P$d*BXvtY8``I_JH{ z*2jTv8SGF)mEs*+qg2!~wRwN@@8JTAqnD>a-MfYkzUk qKMb@-9qed_@(-<%#V7j+Dy~mrwlC~vGhU$p00009_d?6ISY+C{Jup a{}6Wsc(lK30000M=qJV0%oIN_h&L;~PN-N61&hfFozStU1Ur&7 zI$>nd63iwWOkZ#XJCU_Ip=2=27^?%A^i=wD(5oSg0_}za2|KQh29jO~P P00000NkvXXu0mjf?apZ5 literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi/ic_action_refresh.png b/app/src/main/res/drawable-xhdpi/ic_action_refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..765ed43fc207c3e2526f66eb394f7454fa5aa329 GIT binary patch literal 557 zcmV+|0@D47P)Nkl7F(pD)0gG0WXfqhMV%?kfIMl$D3~Q$8}H vQ!nyKeC?IRiq2RU(nH?2D~c$hxE_B1xDIBu!Ob|g00000NkvXXu0mjfCBpsr literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi/ic_action_search.png b/app/src/main/res/drawable-xhdpi/ic_action_search.png new file mode 100644 index 0000000000000000000000000000000000000000..3b174553ebe8da1fefc56363804de6c02dd3034c GIT binary patch literal 492 zcmV-Ji<&Jc+N?G zjdxh-4Lo?a3P2cdPfMkDs+SMf#|Q+80NgaEjP6XJ>$~Q;l+@9lH!0@ z-uugw9xtzAD!%RyV;?p3#d!^3F+h{Tx|Ys9IqPD8F@>cqoe$(3hym6V7O-@N$hi~) zY$?oX>2#BGBL{H(8L*QZqM)VohMX%gz=*;!md-3WM`C~mh4n0*PvoqL0U~?@#Y}w( z?zT$#yV`ts%#Z)ljM7};OD<8vUMaeHB3MGnOfaHW%=)m zFzOg!i4AsGv3*|CE*SQ%sifw+uc{tV(IJXz5M>>rpaxOWA@b@GIW>r)dPG4nfFbfq i(|;p!O4Hl2rB0s>&iunp$-!y>0000 literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_refresh.png b/app/src/main/res/drawable-xxhdpi/ic_action_refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..455000ed554b636ada38840748feee474ab5b993 GIT binary patch literal 787 zcmV+u1MK{XP)bBua`tJQRYL{5S@ckrG5VqYial zlR$zZ2!-mJn+09^a3kGR)b!V&2WR&Cop)9?od50Jo#+4l=AC(Fo*9qF%F4>h%4*Gu zN}9OKATi?1u|R?`hQu$YsLC1JVHRa0R~aFjMrg&KF}@Sb!E6=ZV48e1MGqC}aSQ?B zqg}kli4wH2PVwkk{=)=LEg#U)Fu`OT13(-Vz17uk4lQ|ful(c|=c34>RK@6}kq~|{ zm?dmrr+B)@=QJ(YR ztk*P-4$zZcw4D^m|+b?U&qUDc7+WmMk8*26`sB4d_{1Q3|vgS2(+rv)ySu zlYmmsDAi_3&jA@TNAWWQrN<+l3RJ+=1+2y!0J?! z0WR@2%f;^^uSJV;&+3Xz9OpJsM#XA8D~?US_{f0xe#hACv9hwVva(vU`UkF)LaEL8 R1>gVx002ovPDHLkV1n<7e?b5M literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_search.png b/app/src/main/res/drawable-xxhdpi/ic_action_search.png new file mode 100644 index 0000000000000000000000000000000000000000..c635b4a5337e84f4dbeea17eb4ab73eb60277a21 GIT binary patch literal 744 zcmVP)`bXBnrASUPoh$skwzK7r?1+kZaYZV_r6kMq2Lb|L* zF<$7RDk6x&`0v-&mhYSy(mBI7nJJtp1^4jJJ(khmNSW8z!N0SG-bTng!5o6-0cAMR>U84^%(92B=yYD- z6y~WRAJxU^gGEFg~-r0A8WRX2|dAElhU&Qs4|oni!OpO$Hi;>{D6eeEbDMC1pkro(-J~!tiwVGeu(j_5<(}e z!w^*oFByLI=l$6Q(rNDP(r9fsb!;v^te*X+GNV>GVAmVSp%{S-x#|jb^Pd8 zPBotm$OVObBX>mGRyr;Pq~0mihU5{pS34h<0_kwZ#Vgrk{(J2fQK>hVXzna%?I)$L zK@Q!m)ST04(D7|Ku1w{h*)`oRf+%$G(B7#UVo_G)wQpv<+VQT&F8&j^Z+% z_fay*5xV7{(w?Eju5uMRlvi?4R#s2FxR|7yezWpjRa}XrdaxNlXXDR8*S@bt@{bYv zut>GZKX+K-yE4t4Mkvt_wPOI&Sj91}X?SkweH~L6)JrIyH%!Uk&#psF=^%+pxww_8 zRw=;7sw?fsuXNy1>avw(Yd)3$0000S`Z3J zK@WjNkpy9Zl6J8N(Y%*k1SS2Nl*H!DS$FsRGkRdYeOV6YeDi&~|IGjYbH?G&(9qD( z(9qD((9qBz0#;!^%Fuuo^k5Vd>@&)~wXiFt*oPHfvK6Wm?!-1!;3MWj2QFZ%r}6}HUJkgF$^o{$6+`H%*Fq1kSTvX znn8gk#F)vKXaEQC3se}vUa@>h2H=NEP~-G;D52#4%QEB#vNhcudQijWMlxdA1P@?l zL)o|O$i`jtxqa>q{CW8j3@}NLOeGAkOc3ujS0tedKTMy0XS_te?$nzM-o<|PAdfi0 zk&myQMi#Y!i^5UHSeX#)70*&!#iVirI3OIO9dSOf?O?M-r2(uJX59M-@tJWsUMe%d zqW^_}|1w;bScA~0%D@o;`xOG-QY8l1$}uPi9+zd_5=9{-7^vO%*!NsMkpYCUYK31o z<5b9}GLU27Ew#*9tT2(WaN)CVup0R!2C&7znx#rUje&E9k}b#*Uy(OeHidyUjha20yrs985qz%kaSluu!xj$_PJDWAdsU+^Z|ZL_wMGZ1Sx z1N_cgq}>eg+gAa0Gw|K+2D4rpU7lzfC#00pn}K3_9{)3~=P**hnfr$*|USk(P~u`0TL0xjVxiAvkGq zl=cq}L$6_odh6TkQ`~-dY~cQkK*hT+`NWoh4+6GHq{ys`%7qrjan`%khEVpzZy{Hn z+``U@o2ExRay_e&5P}@jV;|S$*QWk>V7d=Dh)YNmoxqy0pUCbQc5`0E<#4F5aNF&6 zW*_b$8!1?WCrVkhggjp>R1S1D|;?ly%OJw%mpHTmW|CgkGFFk zBx^$%5*P9&Occ^_lBJ|q=wyA|7%MY|S$EZpI+P$4%N!aS8X6iJ8X6iJ8X83S1OHOk Uu7;mup#T5?07*qoM6N<$g5Ub@YybcN literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_action_search.png b/app/src/main/res/drawable-xxxhdpi/ic_action_search.png new file mode 100644 index 0000000000000000000000000000000000000000..88f973d121575abdf90732481c4179926ef8bb7e GIT binary patch literal 967 zcmV;&133JNP)1VZ_^L*N$}O+!Oe2tf?! zRrv}Ygr+qiQ9e@g_y#eCnc3Rz?o2y4&t5j$-DjR>cV^yq-l=677#J8B7#J8BI0VYk ziV4K9i3CpQNYL3lU1>#GzDuvdFuo!kb}@v?e3X6#O;|>zSVCid$-j+NWQ!G4=ZE-0 zL~sfxIK?Omb1lCNAK?b;D9xq(d-x8wNTM!R@*m(3Uf?J0=jQF(%l|^-B8W;9p@5De zItyYP8)+=uQQ!B)ohOB9)Yv{%iy68@+>um{1zg1^p^TR($-w$+;j?S-sWT7}2>5}P zjGuo(orcGVy0FF1``_TtiX(tML0qU(lQgUf<#>bMtwz%Ey&T{F%yj5~4{i!5qf zbJlU3@?tWrYA@omC#;(cYe=4f38txtC#;hU>zF(PF{Y`YC#;Vc)~GxK?8o+`zCdZk zMQq43kYJiB@`SaRVU5c(aKbcI;0ddbVLjH}KuY&6bfEhn-jruxUdlAu%&;z~3uNP- zuud_oQ|eL)4`ysy;ccl)CCa$OtJXE=U5>L{W}V!%%~A{032Xf42{9&VsUDzA-$zF=oi$U+ zwv}d|EQN=bYM?%i1?L!0`xTNNY_qb}(SEgKVa=8N54esXcU7qcA4VMh)gXlzzc=;- zzlGI~hCmkoRQZEO(*ddHjRNkO`=a_o>0mX#{iUT40IE{h4vf#+JorNBKEcEMdA#7uzTYn2(`dH|@ zycRn3vCyl(g&rFV9r{~n*T+Kl<+aeJkA*J%Ep%#bKxjcH`DYe7w3g3U&{6)Gg?6pw ppIK + + + diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml deleted file mode 100644 index 537e37cfa5..0000000000 --- a/app/src/main/res/menu/main.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 400af76be1..b4090eed2c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,5 +30,8 @@ Hello world! Settings + Search + Refresh + Title or author...