diff --git a/AdaptersDiagram.suml b/AdaptersDiagram.suml new file mode 100644 index 0000000000..45a8e3d529 --- /dev/null +++ b/AdaptersDiagram.suml @@ -0,0 +1,2 @@ + + diff --git a/Android/app/src/main/java/io/github/project_travel_mate/travel/HotelsActivity.java b/Android/app/src/main/java/io/github/project_travel_mate/travel/HotelsActivity.java index 4a48bf042f..58019cd549 100644 --- a/Android/app/src/main/java/io/github/project_travel_mate/travel/HotelsActivity.java +++ b/Android/app/src/main/java/io/github/project_travel_mate/travel/HotelsActivity.java @@ -86,7 +86,6 @@ protected void onCreate(Bundle savedInstanceState) { setSupportActionBar(toolbar); ButterKnife.bind(this); - recyclerView.setLayoutManager(new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL)); mHandler = new Handler(Looper.getMainLooper()); diff --git a/Android/app/src/main/java/io/github/project_travel_mate/utilities/OfflineMapsFragment.java b/Android/app/src/main/java/io/github/project_travel_mate/utilities/OfflineMapsFragment.java new file mode 100644 index 0000000000..911bd1bc5e --- /dev/null +++ b/Android/app/src/main/java/io/github/project_travel_mate/utilities/OfflineMapsFragment.java @@ -0,0 +1,13 @@ +package io.github.project_travel_mate.utilities; + +import android.content.Intent; +import android.support.v4.app.Fragment; + +import adapters.CardViewOptionsAdapter; + +public class OfflineMapsFragment extends Fragment implements CardViewOptionsAdapter.OnItemClickListener { + @Override + public void onItemClick(int position) { + Intent intent; + } +} diff --git a/Android/app/src/main/res/drawable/ic_map_black_24dp.xml b/Android/app/src/main/res/drawable/ic_map_black_24dp.xml new file mode 100644 index 0000000000..b9bacc8a6e --- /dev/null +++ b/Android/app/src/main/res/drawable/ic_map_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/Android/app/src/main/res/drawable/ic_maps.png b/Android/app/src/main/res/drawable/ic_maps.png new file mode 100644 index 0000000000..fc7988a39e Binary files /dev/null and b/Android/app/src/main/res/drawable/ic_maps.png differ diff --git a/Android/app/src/main/res/layout/city_history_listitem.xml b/Android/app/src/main/res/layout/city_history_listitem.xml index 3bad825769..f35dc09a5f 100644 --- a/Android/app/src/main/res/layout/city_history_listitem.xml +++ b/Android/app/src/main/res/layout/city_history_listitem.xml @@ -2,26 +2,29 @@ + android:orientation="horizontal" + android:paddingEnd="5dp" + android:paddingStart="5dp"> + + android:textSize="18sp" + android:textStyle="bold" /> + + android:textSize="14sp" /> + - \ No newline at end of file + diff --git a/Android/app/src/main/res/layout/fragment_offlinemaps.xml b/Android/app/src/main/res/layout/fragment_offlinemaps.xml new file mode 100644 index 0000000000..4e61a950f4 --- /dev/null +++ b/Android/app/src/main/res/layout/fragment_offlinemaps.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/Android/app/src/main/res/menu/activity_main_drawer.xml b/Android/app/src/main/res/menu/activity_main_drawer.xml index 2dabd45803..c153aa38bb 100644 --- a/Android/app/src/main/res/menu/activity_main_drawer.xml +++ b/Android/app/src/main/res/menu/activity_main_drawer.xml @@ -1,7 +1,9 @@ - + + diff --git a/Android/app/src/main/res/values/strings.xml b/Android/app/src/main/res/values/strings.xml index 9ca88d94ad..f025b6a1b5 100644 --- a/Android/app/src/main/res/values/strings.xml +++ b/Android/app/src/main/res/values/strings.xml @@ -8,6 +8,7 @@ Destinations Travel Utilities + Offline Maps About Us Sign Out My Friends diff --git a/Database_UML.suml b/Database_UML.suml new file mode 100644 index 0000000000..498ccd4f45 --- /dev/null +++ b/Database_UML.suml @@ -0,0 +1,2 @@ + + diff --git a/UML_Diagrams/AdaptersDiagram.suml b/UML_Diagrams/AdaptersDiagram.suml new file mode 100644 index 0000000000..45a8e3d529 --- /dev/null +++ b/UML_Diagrams/AdaptersDiagram.suml @@ -0,0 +1,2 @@ + + diff --git a/UML_Diagrams/DAO_Diagrams.suml b/UML_Diagrams/DAO_Diagrams.suml new file mode 100644 index 0000000000..fdfbf23457 --- /dev/null +++ b/UML_Diagrams/DAO_Diagrams.suml @@ -0,0 +1,2 @@ + + diff --git a/screenshots/OfflineMapsPrototype.png b/screenshots/OfflineMapsPrototype.png new file mode 100644 index 0000000000..b2a1b1a8e5 Binary files /dev/null and b/screenshots/OfflineMapsPrototype.png differ