diff --git a/.bzrignore b/.bzrignore index b15719c..a682034 100644 --- a/.bzrignore +++ b/.bzrignore @@ -7,3 +7,4 @@ /app/build /.idea /.bzr +.apk diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1169814..e2c7beb 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,7 +14,7 @@ + android:screenOrientation="landscape"> diff --git a/app/src/main/java/org/openlp/android2/OpenLP.java b/app/src/main/java/org/openlp/android2/OpenLP.java index f2a9643..da050e7 100644 --- a/app/src/main/java/org/openlp/android2/OpenLP.java +++ b/app/src/main/java/org/openlp/android2/OpenLP.java @@ -20,7 +20,6 @@ package org.openlp.android2; import android.content.Intent; import android.content.SharedPreferences; -import android.content.res.Configuration; import android.preference.PreferenceManager; import android.support.v7.app.ActionBarActivity; import android.app.ActionBar; @@ -31,6 +30,7 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.support.v4.widget.DrawerLayout; + import org.openlp.android2.activities.SettingsActivity; import org.openlp.android2.common.NavigationOptions; import org.openlp.android2.dialogs.AlertDisplayDialog; @@ -75,7 +75,6 @@ public class OpenLP extends ActionBarActivity (DrawerLayout) findViewById(R.id.drawer_layout)); } - /** * Check the preferences have been set at startup and if not redirect them to be set. * @@ -92,17 +91,6 @@ public class OpenLP extends ActionBarActivity } } - /** - * - * @param newConfig - */ - @Override - public void onConfigurationChanged(Configuration newConfig) { - super.onConfigurationChanged(newConfig); - //here you can handle orientation change - Log.d(LOG_TAG, "Changed direction"); - } - @Override public void onNavigationDrawerItemSelected(int position) { // update the main content by replacing fragments @@ -249,5 +237,4 @@ public class OpenLP extends ActionBarActivity fragment.refreshDisplay(); } } - } diff --git a/app/src/main/java/org/openlp/android2/fragments/NavigationDrawerFragment.java b/app/src/main/java/org/openlp/android2/fragments/NavigationDrawerFragment.java index a2edf98..f4282cb 100644 --- a/app/src/main/java/org/openlp/android2/fragments/NavigationDrawerFragment.java +++ b/app/src/main/java/org/openlp/android2/fragments/NavigationDrawerFragment.java @@ -18,6 +18,7 @@ *******************************************************************************/ package org.openlp.android2.fragments; +import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.support.v7.app.ActionBarActivity; import android.app.Activity; @@ -127,27 +128,27 @@ public class NavigationDrawerFragment extends Fragment { List> aList = new ArrayList>(); HashMap hm = new HashMap(); hm.put("title", getString(R.string.home)); - hm.put("icon", Integer.toString(R.drawable.ic_home)); + hm.put("icon", Integer.toString(R.drawable.ic_home_black)); aList.add(hm); HashMap hm1 = new HashMap(); hm1.put("title", getString(R.string.service_list)); - hm1.put("icon", Integer.toString(R.drawable.ic_inbox)); + hm1.put("icon", Integer.toString(R.drawable.ic_view_list_black)); aList.add(hm1); HashMap hm2 = new HashMap(); hm2.put("title", getString(R.string.live_list)); - hm2.put("icon", Integer.toString(R.drawable.ic_list)); + hm2.put("icon", Integer.toString(R.drawable.ic_list_black)); aList.add(hm2); HashMap hm3 = new HashMap(); hm3.put("title", getString(R.string.stage_view)); - hm3.put("icon", Integer.toString(R.drawable.ic_local_play)); + hm3.put("icon", Integer.toString(R.drawable.ic_live_tv_black)); aList.add(hm3); HashMap hm4 = new HashMap(); hm4.put("title", getString(R.string.live_view)); - hm4.put("icon", Integer.toString(R.drawable.ic_desktop_windows)); + hm4.put("icon", Integer.toString(R.drawable.ic_ondemand_video_black)); aList.add(hm4); // Keys used in Hashmap @@ -185,14 +186,15 @@ public class NavigationDrawerFragment extends Fragment { ActionBar actionBar = getActionBar(); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setHomeButtonEnabled(true); - actionBar.setBackgroundDrawable(new ColorDrawable(0xFF000000)); + // OpenLP Blue + actionBar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#4d7bd8"))); // ActionBarDrawerToggle ties together the the proper interactions // between the navigation drawer and the action bar app icon. mDrawerToggle = new ActionBarDrawerToggle( getActivity(), /* host Activity */ mDrawerLayout, /* DrawerLayout object */ - R.drawable.ic_drawer, /* nav drawer image to replace 'Up' caret */ + R.drawable.ic_menu_white, /* nav drawer image to replace 'Up' caret */ R.string.navigation_drawer_open, /* "open drawer" description for accessibility */ R.string.navigation_drawer_close /* "close drawer" description for accessibility */ ) { diff --git a/app/src/main/java/org/openlp/android2/fragments/ServiceListFragment.java b/app/src/main/java/org/openlp/android2/fragments/ServiceListFragment.java index 46a93d6..ef5f729 100644 --- a/app/src/main/java/org/openlp/android2/fragments/ServiceListFragment.java +++ b/app/src/main/java/org/openlp/android2/fragments/ServiceListFragment.java @@ -21,6 +21,8 @@ package org.openlp.android2.fragments; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; +import android.graphics.Color; +import android.graphics.Typeface; import android.os.Bundle; import android.util.Log; import android.util.TypedValue; @@ -47,8 +49,7 @@ import java.util.List; public class ServiceListFragment extends OpenLPFragment { private final String LOG_TAG = ServiceListFragment.class.getName(); - private boolean noScreenUpdate = false; - private boolean isDoubleClick = false; + private int selected = 0; public ServiceListFragment() { } @@ -61,8 +62,6 @@ public class ServiceListFragment extends OpenLPFragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { context = getActivity(); - noScreenUpdate = false; - isDoubleClick = false; updateUrl = Api.SERVICE_LIST; httpClient = new OpenLPHttpClient(context); return super.onCreateView(inflater, container, savedInstanceState); @@ -84,7 +83,7 @@ public class ServiceListFragment extends OpenLPFragment { } @Override - public void refreshDisplay(){ + public void refreshDisplay() { Log.d(LOG_TAG, "Resuming..."); triggerTextRequest(Api.SERVICE_LIST); } @@ -105,10 +104,6 @@ public class ServiceListFragment extends OpenLPFragment { @Override public void populateDisplay(String json, boolean notInError) { Log.i(LOG_TAG, "populate_display - entry"); - if (noScreenUpdate || isDoubleClick) { - noScreenUpdate = false; - return; - } List> aList = new ArrayList>(); if (notInError) { @@ -132,7 +127,9 @@ public class ServiceListFragment extends OpenLPFragment { } else { hm.put("icon", Integer.toString(R.drawable.ic_edit)); } - + if (item.getString("selected").equals("true")) { + selected = i; + } hm.put("title", item.getString("title")); aList.add(hm); } @@ -163,6 +160,12 @@ public class ServiceListFragment extends OpenLPFragment { View view = super.getView(position, convertView, parent); TextView text1 = (TextView) view.findViewById(R.id.serviceListText); text1.setTextSize(TypedValue.COMPLEX_UNIT_SP, size); + if (selected == position) { + text1.setTextColor(Color.parseColor("#000000")); + text1.setTypeface(null, Typeface.BOLD_ITALIC); + } else{ + text1.setTypeface(null, Typeface.NORMAL); + } return view; } @@ -173,13 +176,10 @@ public class ServiceListFragment extends OpenLPFragment { public void itemClicked(int position) { try { - noScreenUpdate = true; String request = JsonHelpers.createRequestJSON("id", Integer.toString(position)); triggerTextRequest(String.format("%s%s", Api.SERVICE_SET, request)); - String message = String.format("Setting list data. apiBase(%s), position(%s)", - Api.SERVICE_SET, position); - Log.d(LOG_TAG, message); - Toast.makeText(context, "Service Item selected", Toast.LENGTH_SHORT).show(); + Log.d(LOG_TAG, String.format("Setting list data. apiBase(%s), position(%s)", + Api.SERVICE_SET, position)); } catch (JsonHelpers.JSONHandlerException e) { e.printStackTrace(); Toast.makeText(context, "Request Failed", Toast.LENGTH_SHORT).show(); diff --git a/app/src/main/res/drawable-hdpi/ic_add_alert_white.png b/app/src/main/res/drawable-hdpi/ic_add_alert_white.png new file mode 100644 index 0000000..f169577 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_add_alert_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_alarm_add.png b/app/src/main/res/drawable-hdpi/ic_alarm_add.png deleted file mode 100644 index 0ba8cd1..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_alarm_add.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_apps_white.png b/app/src/main/res/drawable-hdpi/ic_apps_white.png new file mode 100644 index 0000000..1ab7303 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_apps_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_desktop_windows.png b/app/src/main/res/drawable-hdpi/ic_desktop_windows.png deleted file mode 100644 index 518a0fa..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_desktop_windows.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_drawer.png b/app/src/main/res/drawable-hdpi/ic_drawer.png deleted file mode 100644 index c59f601..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_drawer.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_home.png b/app/src/main/res/drawable-hdpi/ic_home.png deleted file mode 100644 index 56c6cb7..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_home.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_home_black.png b/app/src/main/res/drawable-hdpi/ic_home_black.png new file mode 100644 index 0000000..2e86cc2 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_home_black.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_inbox.png b/app/src/main/res/drawable-hdpi/ic_inbox.png deleted file mode 100644 index fee47a1..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_inbox.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_list.png b/app/src/main/res/drawable-hdpi/ic_list.png deleted file mode 100644 index ceaf368..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_list.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_list_black.png b/app/src/main/res/drawable-hdpi/ic_list_black.png new file mode 100644 index 0000000..d94b45a Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_list_black.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_live_tv_black.png b/app/src/main/res/drawable-hdpi/ic_live_tv_black.png new file mode 100644 index 0000000..efb4fcb Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_live_tv_black.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_local_play.png b/app/src/main/res/drawable-hdpi/ic_local_play.png deleted file mode 100644 index c8bdca9..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_local_play.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_menu_white.png b/app/src/main/res/drawable-hdpi/ic_menu_white.png new file mode 100644 index 0000000..9cb0348 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_menu_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_ondemand_video_black.png b/app/src/main/res/drawable-hdpi/ic_ondemand_video_black.png new file mode 100644 index 0000000..604868f Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_ondemand_video_black.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_refresh.png b/app/src/main/res/drawable-hdpi/ic_refresh.png deleted file mode 100644 index 9c1e27d..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_refresh.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_refresh_white.png b/app/src/main/res/drawable-hdpi/ic_refresh_white.png new file mode 100644 index 0000000..1692d8a Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_refresh_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_search.png b/app/src/main/res/drawable-hdpi/ic_search.png deleted file mode 100644 index 9424ae9..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_search.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_search_white.png b/app/src/main/res/drawable-hdpi/ic_search_white.png new file mode 100644 index 0000000..abbb989 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_search_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_settings_display.png b/app/src/main/res/drawable-hdpi/ic_settings_display.png deleted file mode 100644 index 1cd2828..0000000 Binary files a/app/src/main/res/drawable-hdpi/ic_settings_display.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_settings_display_white.png b/app/src/main/res/drawable-hdpi/ic_settings_display_white.png new file mode 100644 index 0000000..6e2f3e7 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_settings_display_white.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_view_list_black.png b/app/src/main/res/drawable-hdpi/ic_view_list_black.png new file mode 100644 index 0000000..ae702bb Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_view_list_black.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_add_alert_white.png b/app/src/main/res/drawable-mdpi/ic_add_alert_white.png new file mode 100644 index 0000000..b142c69 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_add_alert_white.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_alarm_add.png b/app/src/main/res/drawable-mdpi/ic_alarm_add.png deleted file mode 100644 index 61bdab0..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_alarm_add.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_apps_white.png b/app/src/main/res/drawable-mdpi/ic_apps_white.png new file mode 100644 index 0000000..95e1f49 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_apps_white.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_desktop_windows.png b/app/src/main/res/drawable-mdpi/ic_desktop_windows.png deleted file mode 100644 index 029ad61..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_desktop_windows.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_drawer.png b/app/src/main/res/drawable-mdpi/ic_drawer.png deleted file mode 100644 index 1ed2c56..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_drawer.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_home.png b/app/src/main/res/drawable-mdpi/ic_home.png deleted file mode 100644 index db1ecaf..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_home.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_home_black.png b/app/src/main/res/drawable-mdpi/ic_home_black.png new file mode 100644 index 0000000..dcdcfc0 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_home_black.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_inbox.png b/app/src/main/res/drawable-mdpi/ic_inbox.png deleted file mode 100644 index 04c486d..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_inbox.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_list.png b/app/src/main/res/drawable-mdpi/ic_list.png deleted file mode 100644 index c51f8a2..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_list.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_list_black.png b/app/src/main/res/drawable-mdpi/ic_list_black.png new file mode 100644 index 0000000..ceb9fc2 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_list_black.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_live_tv_black.png b/app/src/main/res/drawable-mdpi/ic_live_tv_black.png new file mode 100644 index 0000000..0827fb9 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_live_tv_black.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_local_play.png b/app/src/main/res/drawable-mdpi/ic_local_play.png deleted file mode 100644 index 98dd4ef..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_local_play.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_menu_white.png b/app/src/main/res/drawable-mdpi/ic_menu_white.png new file mode 100644 index 0000000..193185f Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_menu_white.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_ondemand_video_black.png b/app/src/main/res/drawable-mdpi/ic_ondemand_video_black.png new file mode 100644 index 0000000..5a9aa2a Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_ondemand_video_black.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_search.png b/app/src/main/res/drawable-mdpi/ic_search.png deleted file mode 100644 index f9c0b2e..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_search.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_search_white.png b/app/src/main/res/drawable-mdpi/ic_search_white.png new file mode 100644 index 0000000..bfc3e39 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_search_white.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_settings_display.png b/app/src/main/res/drawable-mdpi/ic_settings_display.png deleted file mode 100644 index a1f5188..0000000 Binary files a/app/src/main/res/drawable-mdpi/ic_settings_display.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_settings_display_white.png b/app/src/main/res/drawable-mdpi/ic_settings_display_white.png new file mode 100644 index 0000000..4b06e65 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_settings_display_white.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_view_list_black.png b/app/src/main/res/drawable-mdpi/ic_view_list_black.png new file mode 100644 index 0000000..c15537a Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_view_list_black.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_add_alert_white.png b/app/src/main/res/drawable-xhdpi/ic_add_alert_white.png new file mode 100644 index 0000000..34d898b Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_add_alert_white.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_alarm_add.png b/app/src/main/res/drawable-xhdpi/ic_alarm_add.png deleted file mode 100644 index 498049d..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_alarm_add.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_apps_white.png b/app/src/main/res/drawable-xhdpi/ic_apps_white.png new file mode 100644 index 0000000..5fee17f Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_apps_white.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_desktop_windows.png b/app/src/main/res/drawable-xhdpi/ic_desktop_windows.png deleted file mode 100644 index 246323f..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_desktop_windows.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_drawer.png b/app/src/main/res/drawable-xhdpi/ic_drawer.png deleted file mode 100644 index a5fa74d..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_drawer.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_home.png b/app/src/main/res/drawable-xhdpi/ic_home.png deleted file mode 100644 index 1fd6c22..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_home.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_home_black.png b/app/src/main/res/drawable-xhdpi/ic_home_black.png new file mode 100644 index 0000000..04e2b26 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_home_black.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_inbox.png b/app/src/main/res/drawable-xhdpi/ic_inbox.png deleted file mode 100644 index 9f66f70..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_inbox.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_list.png b/app/src/main/res/drawable-xhdpi/ic_list.png deleted file mode 100644 index 7781225..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_list.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_list_black.png b/app/src/main/res/drawable-xhdpi/ic_list_black.png new file mode 100644 index 0000000..e1f03b4 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_list_black.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_live_tv_black.png b/app/src/main/res/drawable-xhdpi/ic_live_tv_black.png new file mode 100644 index 0000000..67fc4e6 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_live_tv_black.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_local_play.png b/app/src/main/res/drawable-xhdpi/ic_local_play.png deleted file mode 100644 index 659c274..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_local_play.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_menu_white.png b/app/src/main/res/drawable-xhdpi/ic_menu_white.png new file mode 100644 index 0000000..623d147 Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_menu_white.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_ondemand_video_black.png b/app/src/main/res/drawable-xhdpi/ic_ondemand_video_black.png new file mode 100644 index 0000000..8bb06ea Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_ondemand_video_black.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_search.png b/app/src/main/res/drawable-xhdpi/ic_search.png deleted file mode 100644 index 0376409..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_search.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_search_white.png b/app/src/main/res/drawable-xhdpi/ic_search_white.png new file mode 100644 index 0000000..dd5adfc Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_search_white.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_settings_display.png b/app/src/main/res/drawable-xhdpi/ic_settings_display.png deleted file mode 100644 index f074161..0000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_settings_display.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_settings_display_white.png b/app/src/main/res/drawable-xhdpi/ic_settings_display_white.png new file mode 100644 index 0000000..6fe1bad Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_settings_display_white.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_view_list_black.png b/app/src/main/res/drawable-xhdpi/ic_view_list_black.png new file mode 100644 index 0000000..7c1506b Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_view_list_black.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_add_alert_white.png b/app/src/main/res/drawable-xxhdpi/ic_add_alert_white.png new file mode 100644 index 0000000..5ae57c4 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_add_alert_white.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_alarm_add.png b/app/src/main/res/drawable-xxhdpi/ic_alarm_add.png deleted file mode 100644 index ca64ba2..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_alarm_add.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_apps_white.png b/app/src/main/res/drawable-xxhdpi/ic_apps_white.png new file mode 100644 index 0000000..5bf8616 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_apps_white.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_desktop_windows.png b/app/src/main/res/drawable-xxhdpi/ic_desktop_windows.png deleted file mode 100644 index cda8501..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_desktop_windows.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_drawer.png b/app/src/main/res/drawable-xxhdpi/ic_drawer.png deleted file mode 100644 index 9c4685d..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_drawer.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_home.png b/app/src/main/res/drawable-xxhdpi/ic_home.png deleted file mode 100644 index 5d6eb81..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_home.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_home_black.png b/app/src/main/res/drawable-xxhdpi/ic_home_black.png new file mode 100644 index 0000000..d66401c Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_home_black.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_inbox.png b/app/src/main/res/drawable-xxhdpi/ic_inbox.png deleted file mode 100644 index 6ebded2..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_inbox.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_list.png b/app/src/main/res/drawable-xxhdpi/ic_list.png deleted file mode 100644 index fba1666..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_list.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_list_black.png b/app/src/main/res/drawable-xxhdpi/ic_list_black.png new file mode 100644 index 0000000..7ddaf52 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_list_black.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_live_tv_black.png b/app/src/main/res/drawable-xxhdpi/ic_live_tv_black.png new file mode 100644 index 0000000..dc8aa6d Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_live_tv_black.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_menu_white.png b/app/src/main/res/drawable-xxhdpi/ic_menu_white.png new file mode 100644 index 0000000..48ae218 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_menu_white.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_ondemand_video_black.png b/app/src/main/res/drawable-xxhdpi/ic_ondemand_video_black.png new file mode 100644 index 0000000..8962da3 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_ondemand_video_black.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_settings_display.png b/app/src/main/res/drawable-xxhdpi/ic_settings_display.png deleted file mode 100644 index 9be2be9..0000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_settings_display.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_settings_display_white.png b/app/src/main/res/drawable-xxhdpi/ic_settings_display_white.png new file mode 100644 index 0000000..05d138d Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_settings_display_white.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_view_list_black.png b/app/src/main/res/drawable-xxhdpi/ic_view_list_black.png new file mode 100644 index 0000000..90591cc Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_view_list_black.png differ diff --git a/app/src/main/res/layout-land/aactivity_main.old b/app/src/main/res/layout-land/aactivity_main.old new file mode 100644 index 0000000..1059594 --- /dev/null +++ b/app/src/main/res/layout-land/aactivity_main.old @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout-xlarge/aactivity_main.old b/app/src/main/res/layout-xlarge/aactivity_main.old new file mode 100644 index 0000000..33ee101 --- /dev/null +++ b/app/src/main/res/layout-xlarge/aactivity_main.old @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/fragment_empty.xml b/app/src/main/res/layout/fragment_empty.xml new file mode 100644 index 0000000..5b483d2 --- /dev/null +++ b/app/src/main/res/layout/fragment_empty.xml @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_item_grid.xml b/app/src/main/res/layout/fragment_item_grid.xml new file mode 100644 index 0000000..9452736 --- /dev/null +++ b/app/src/main/res/layout/fragment_item_grid.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/app/src/main/res/layout/fragment_item_list.xml b/app/src/main/res/layout/fragment_item_list.xml new file mode 100644 index 0000000..dc2e589 --- /dev/null +++ b/app/src/main/res/layout/fragment_item_list.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/app/src/main/res/menu/menu_.xml b/app/src/main/res/menu/menu_.xml new file mode 100644 index 0000000..0ec6df8 --- /dev/null +++ b/app/src/main/res/menu/menu_.xml @@ -0,0 +1,6 @@ + + + diff --git a/app/src/main/res/menu/open_l.xml b/app/src/main/res/menu/open_l.xml index 13fa2fb..b9513c2 100644 --- a/app/src/main/res/menu/open_l.xml +++ b/app/src/main/res/menu/open_l.xml @@ -3,21 +3,21 @@ diff --git a/app/src/main/res/values-large/refs.xml b/app/src/main/res/values-large/refs.xml new file mode 100644 index 0000000..d6935a5 --- /dev/null +++ b/app/src/main/res/values-large/refs.xml @@ -0,0 +1,12 @@ + + + + @layout/fragment_item_grid + + \ No newline at end of file diff --git a/app/src/main/res/values-sw600dp/refs.xml b/app/src/main/res/values-sw600dp/refs.xml new file mode 100644 index 0000000..d6935a5 --- /dev/null +++ b/app/src/main/res/values-sw600dp/refs.xml @@ -0,0 +1,12 @@ + + + + @layout/fragment_item_grid + + \ No newline at end of file