Skip to content
Snippets Groups Projects
Commit b4f9ec2a authored by venkat's avatar venkat
Browse files

updated information

parent a289adcb
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
<activity android:name=".Help" /> <activity android:name=".Help" />
<activity android:name=".Abt" /> <activity android:name=".Abt" />
<activity android:name=".not" /> <activity android:name=".not" />
<activity android:name=".Info"></activity>
</application> </application>
</manifest> </manifest>
\ No newline at end of file
package com.example.venkat.and;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class Info extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_info);
}
}
...@@ -113,6 +113,12 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On ...@@ -113,6 +113,12 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
} }
if(item.getItemId()==R.id.legal)
{
Intent i=new Intent(this,Info.class);
startActivity(i);
}
if(item.getItemId()==R.id.share) if(item.getItemId()==R.id.share)
{ {
......
<?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_info"
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.Info">
<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="dxcbdfg dfgds g"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/textView9" />
</LinearLayout>
</ScrollView>
</RelativeLayout>
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
android:title="FAQ" android:title="FAQ"
android:icon="@drawable/help"/> android:icon="@drawable/help"/>
<item android:id="@+id/legal" <item android:id="@+id/legal"
android:title="Legal Information" android:title="Information"
android:icon="@drawable/info"/> android:icon="@drawable/info"/>
<item android:id="@+id/help" <item android:id="@+id/help"
android:title="Help and Support" android:title="Help and Support"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment