diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java index 9dae7d1..f3faf93 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java @@ -123,11 +123,8 @@ public class MainActivity extends ActionBarActivity { boolean copySavedConfiguration = savedConfiguration = savedInstanceState != null && savedInstanceState.getBoolean(AppConstants.SAVED_CONFIG_KEY); - String deviceType = getResources().getString(R.string.device_type); - if ("Plain".equals(deviceType)) { - switchFragment(); - updateSwipeHandler(); - } + switchFragment(); + updateSwipeHandler(); if (!copySavedConfiguration && HelperUtils.checkForLocalicatonEnabled(this)) return; } diff --git a/app/src/main/res/layout-sw720dp/activity_main.xml b/app/src/main/res/layout/activity_main_three_frag.xml similarity index 50% rename from app/src/main/res/layout-sw720dp/activity_main.xml rename to app/src/main/res/layout/activity_main_three_frag.xml index 8f09865..57b4bb3 100644 --- a/app/src/main/res/layout-sw720dp/activity_main.xml +++ b/app/src/main/res/layout/activity_main_three_frag.xml @@ -2,7 +2,6 @@ - + - + - + - - - + - + + + diff --git a/app/src/main/res/layout-sw600dp/activity_main.xml b/app/src/main/res/layout/activity_main_two_frag.xml similarity index 97% rename from app/src/main/res/layout-sw600dp/activity_main.xml rename to app/src/main/res/layout/activity_main_two_frag.xml index a9d4684..8b38205 100644 --- a/app/src/main/res/layout-sw600dp/activity_main.xml +++ b/app/src/main/res/layout/activity_main_two_frag.xml @@ -2,7 +2,6 @@ - - 600 - \ No newline at end of file diff --git a/app/src/main/res/values-sw720dp/tech.xml b/app/src/main/res/values-sw720dp/tech.xml deleted file mode 100644 index eb42eca..0000000 --- a/app/src/main/res/values-sw720dp/tech.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - 720 - \ No newline at end of file diff --git a/app/src/main/res/values/tech.xml b/app/src/main/res/values/tech.xml deleted file mode 100644 index 3f92b7e..0000000 --- a/app/src/main/res/values/tech.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - Plain - \ No newline at end of file