Browse Source

Designing GUI

pull/2/head
Yiğit Çolakoğlu 6 years ago
parent
commit
91008dadf3
10 changed files with 56 additions and 7 deletions
  1. +9
    -0
      MyCity/app/src/main/res/drawable-v21/subway.xml
  2. +46
    -0
      MyCity/app/src/main/res/drawable/parking.svg
  3. +0
    -6
      MyCity/app/src/main/res/layout/nav_header_main.xml
  4. +1
    -1
      MyCity/app/src/main/res/menu/activity_main_drawer.xml
  5. +0
    -0
      server_side/Chatbot/keywords.json
  6. +0
    -0
      server_side/Chatbot/main.py
  7. +0
    -0
      server_side/Chatbot/parser_test.py
  8. +0
    -0
      server_side/Chatbot/predefined.json
  9. +0
    -0
      server_side/Chatbot/train.py
  10. +0
    -0
      server_side/Chatbot/user_details.json

+ 9
- 0
MyCity/app/src/main/res/drawable-v21/subway.xml View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
android:viewportWidth="484.5"
android:viewportHeight="484.5"
android:width="484.5dp"
android:height="484.5dp">
<path
android:pathData="M242.25 0c-112.2 0 -204 12.75 -204 102v242.25c0 48.45 40.8 89.25 89.25 89.25l-38.25 38.25v12.75h306v-12.75L357 433.5c48.45 0 89.25 -40.8 89.25 -89.25V102C446.25 12.75 354.45 0 242.25 0zM127.5 382.5c-20.4 0 -38.25 -17.85 -38.25 -38.25S107.1 306 127.5 306s38.25 17.85 38.25 38.25S147.9 382.5 127.5 382.5zM216.75 229.5H89.25V102h127.5V229.5zM357 382.5c-20.4 0 -38.25 -17.85 -38.25 -38.25S336.6 306 357 306s38.25 17.85 38.25 38.25S377.4 382.5 357 382.5zM395.25 229.5h-127.5V102h127.5V229.5z"
android:fillColor="#000000" />
</vector>

+ 46
- 0
MyCity/app/src/main/res/drawable/parking.svg View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<g>
<g>
<path d="M452,0H60C26.916,0,0,26.916,0,60v392c0,33.084,26.916,60,60,60h392c33.084,0,60-26.916,60-60V60
C512,26.916,485.084,0,452,0z M472,452c0,11.028-8.972,20-20,20H60c-11.028,0-20-8.972-20-20V60c0-11.028,8.972-20,20-20h392
c11.028,0,20,8.972,20,20V452z"/>
<path d="M286,100H146v312h40V300h100c55.14,0,100-44.86,100-100S341.14,100,286,100z M286,260H186V140h100
c33.084,0,60,26.916,60,60S319.084,260,286,260z"/>
</g>
</g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

+ 0
- 6
MyCity/app/src/main/res/layout/nav_header_main.xml View File

@ -28,10 +28,4 @@
android:text="@string/nav_header_title"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nav_header_subtitle"
android:id="@+id/textView"/>
</LinearLayout>

+ 1
- 1
MyCity/app/src/main/res/menu/activity_main_drawer.xml View File

@ -6,7 +6,7 @@
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_camera"
android:icon="@drawable/ic_menu_camera"
android:icon="@drawable/subway"
android:title="Import"/>
<item
android:id="@+id/nav_gallery"


server_side/keywords.json → server_side/Chatbot/keywords.json View File


server_side/main.py → server_side/Chatbot/main.py View File


server_side/parser_test.py → server_side/Chatbot/parser_test.py View File


server_side/predefined.json → server_side/Chatbot/predefined.json View File


server_side/train.py → server_side/Chatbot/train.py View File


server_side/user_details.json → server_side/Chatbot/user_details.json View File


Loading…
Cancel
Save