From 2fda7eb66f8c182ea5f19a9c08ffa9f0089f20db Mon Sep 17 00:00:00 2001
From: venkat <venkatganesh.1596@gmail.com>
Date: Sat, 22 Apr 2017 23:30:26 +0530
Subject: [PATCH] FAQ entry

---
 .idea/misc.xml                                |   2 +-
 app/src/main/AndroidManifest.xml              |   3 +-
 .../main/java/com/example/venkat/and/Faq.java |  13 ++
 .../com/example/venkat/and/MainActivity.java  |   6 +
 app/src/main/res/layout/activity_faq.xml      | 118 ++++++++++++++++++
 5 files changed, 140 insertions(+), 2 deletions(-)
 create mode 100644 app/src/main/java/com/example/venkat/and/Faq.java
 create mode 100644 app/src/main/res/layout/activity_faq.xml

diff --git a/.idea/misc.xml b/.idea/misc.xml
index 5d19981..fbb6828 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -37,7 +37,7 @@
     <ConfirmationsSetting value="0" id="Add" />
     <ConfirmationsSetting value="0" id="Remove" />
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
     <output url="file://$PROJECT_DIR$/build/classes" />
   </component>
   <component name="ProjectType">
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 12c1d66..808d9cf 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -25,7 +25,8 @@
         <activity android:name=".Help" />
         <activity android:name=".Abt" />
         <activity android:name=".not" />
-        <activity android:name=".Info"></activity>
+        <activity android:name=".Info" />
+        <activity android:name=".Faq"></activity>
     </application>
 
 </manifest>
\ No newline at end of file
diff --git a/app/src/main/java/com/example/venkat/and/Faq.java b/app/src/main/java/com/example/venkat/and/Faq.java
new file mode 100644
index 0000000..69392fd
--- /dev/null
+++ b/app/src/main/java/com/example/venkat/and/Faq.java
@@ -0,0 +1,13 @@
+package com.example.venkat.and;
+
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+
+public class Faq extends AppCompatActivity {
+
+    @Override
+    protected void onCreate(Bundle savedInstanceState) {
+        super.onCreate(savedInstanceState);
+        setContentView(R.layout.activity_faq);
+    }
+}
diff --git a/app/src/main/java/com/example/venkat/and/MainActivity.java b/app/src/main/java/com/example/venkat/and/MainActivity.java
index 54aa3c1..f5da4f1 100644
--- a/app/src/main/java/com/example/venkat/and/MainActivity.java
+++ b/app/src/main/java/com/example/venkat/and/MainActivity.java
@@ -120,6 +120,12 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
         }
 
 
+        if(item.getItemId()==R.id.faq)
+        {
+            Intent i=new Intent(this,Faq.class);
+            startActivity(i);
+        }
+
         if(item.getItemId()==R.id.share)
         {
 
diff --git a/app/src/main/res/layout/activity_faq.xml b/app/src/main/res/layout/activity_faq.xml
new file mode 100644
index 0000000..e308f82
--- /dev/null
+++ b/app/src/main/res/layout/activity_faq.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:id="@+id/activity_faq"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:paddingBottom="@dimen/activity_vertical_margin"
+    android:paddingLeft="@dimen/activity_horizontal_margin"
+    android:paddingRight="@dimen/activity_horizontal_margin"
+    android:paddingTop="@dimen/activity_vertical_margin"
+    tools:context="com.example.venkat.and.Faq">
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:orientation="vertical" >
+
+            <TextView
+                android:text="1) What is talk+?"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView18" />
+
+            <TextView
+                android:text=" \nTalk+ is an app that helps you find a programmable-code using voice commands. The app records the voice input, searches the available codes and displays it in a new screen.
+"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView19" />
+
+            <TextView
+                android:text="2) How does talk+ work?"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView20" />
+
+            <TextView
+                android:text="\nClick on the generate icon and when the app prompts a speak now screen,provide input(program name) by voice command and wait for a few seconds. The app will display the recorded input in words and display the program code in a new screen.
+"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView21" />
+
+            <TextView
+                android:text="3) How do I find the available codes?"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView22" />
+
+            <TextView
+                android:text="\nFor the user convinience, we also have a sample codes section where the user will be able to view the set of available codes in text format.\n"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView23" />
+            <TextView
+                android:text="4) Can I export the codes outside talk+?"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView24" />
+            <TextView
+                android:text="\nThere is a share option that allows the user to export the selected codes outside talk+ to other apps that the user
+has in her phone.\n"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView25" />
+            <TextView
+                android:text="5) Is the code compatible with all OS?\n"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView26" />
+            <TextView
+                android:text=" The age old turbo C which most students and teachers are familiar with does not help the use of codes in other OS, On the other hand talk+ codes are generic to all OS and is compatible with almost all IDEs available in the present day.
+\n"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView27" />
+            <TextView
+                android:text="6) Is there an option to rate talk+?\n"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView28" />
+            <TextView
+                android:text="Yes, we do have an option called feedback where you can rate us and also give us your valuable feedback in the comment box below.
+\n"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView29" />
+            <TextView
+                android:text="7) How can I contact the developers?\n"
+                android:textSize="20dp"
+                android:textStyle="bold"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView30" />
+            <TextView
+                android:text="There is a help and support section which allows you to get in touch with the developers if there is any issues faced by the customers in regard to the talk+."
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:id="@+id/textView31" />
+        </LinearLayout>
+    </ScrollView>
+</RelativeLayout>
-- 
GitLab