Skip to content
Snippets Groups Projects
Select Git revision
  • 6b9f75c294b69ab33f3519b017c783d550c4f987
  • master default
  • test
3 results

activity_help.xml

Blame
  • activity_help.xml 3.76 KiB
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:background="#d3d3d3"
        tools:context="com.example.nimal.help.Help">
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp"
            android:hint="Area of Specaility"
            android:gravity="center"
            android:id="@+id/Area"/>
    
    
        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center">
    
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:text="Retreive"
            android:layout_margin="10dp"
            android:onClick="retreival"
            />
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:text="Suggest"
            android:layout_margin="10dp"
            android:onClick="suggestion"
                />
    
    
        </LinearLayout>
    
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
    
            <ScrollView
                android:id="@+id/scrollView2"
                android:layout_width="300dp"
                android:layout_height="350dp"
                android:layout_alignParentStart="true"
                android:layout_toStartOf="@+id/floatingActionButton">
    
                <TextView
                    android:id="@+id/ShowSugg"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center"
                    android:gravity="center"
                    android:hint="Suggestions will appear here" />
            </ScrollView>
    
    
            <android.support.design.widget.FloatingActionButton
                android:id="@+id/floatingActionButton"
                android:layout_width="wrap_content"