mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
* Defined SearchActivity tab names into strings.xml file(#2136)
This commit is contained in:
parent
f497217568
commit
11e5c3c01a
2 changed files with 4 additions and 2 deletions
|
|
@ -93,9 +93,9 @@ public class SearchActivity extends NavigationBaseActivity implements MediaDetai
|
|||
searchImageFragment = new SearchImageFragment();
|
||||
searchCategoryFragment= new SearchCategoryFragment();
|
||||
fragmentList.add(searchImageFragment);
|
||||
titleList.add("MEDIA");
|
||||
titleList.add(getResources().getString(R.string.search_tab_title_media));
|
||||
fragmentList.add(searchCategoryFragment);
|
||||
titleList.add("CATEGORIES");
|
||||
titleList.add(getResources().getString(R.string.search_tab_title_categories));
|
||||
|
||||
viewPagerAdapter.setTabData(fragmentList, titleList);
|
||||
viewPagerAdapter.notifyDataSetChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue