diff --git a/app/src/main/java/io/neurolab/activities/MemoryGraphParent.java b/app/src/main/java/io/neurolab/activities/MemoryGraphParent.java index a6a97592..4899f0ef 100644 --- a/app/src/main/java/io/neurolab/activities/MemoryGraphParent.java +++ b/app/src/main/java/io/neurolab/activities/MemoryGraphParent.java @@ -17,7 +17,7 @@ public class MemoryGraphParent extends AppCompatActivity { private String filePath; public static final String MEMORY_GRAPH_FLAG = "Memory"; - private static Fragment defaultProgram=MemoryGraphFragment.newInstance(); + private static Fragment defaultProgram = MemoryGraphFragment.newInstance(); @Override protected void onCreate(Bundle savedInstanceState) { @@ -50,7 +50,7 @@ protected void onCreate(Bundle savedInstanceState) { selectedFragment.setArguments(bundle); FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); transaction.replace(R.id.frame_layout, selectedFragment); - defaultProgram=selectedFragment; + defaultProgram = selectedFragment; transaction.commit(); return true; }); @@ -70,7 +70,7 @@ public boolean onSupportNavigateUp(){ public void onBackPressed() { super.onBackPressed(); StatisticsFragment.parsedData = null; - defaultProgram=MemoryGraphFragment.newInstance(); + defaultProgram = MemoryGraphFragment.newInstance(); } public void setActionBarTitle(String title) { diff --git a/app/src/main/res/layout/fragment_statistics.xml b/app/src/main/res/layout/fragment_statistics.xml index b5dddf70..61f5f415 100644 --- a/app/src/main/res/layout/fragment_statistics.xml +++ b/app/src/main/res/layout/fragment_statistics.xml @@ -12,6 +12,7 @@ android:layout_height="match_parent"> + \ No newline at end of file