-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Saurabh Joshi
committed
May 26, 2014
1 parent
b102399
commit f866f78
Showing
14 changed files
with
314 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
vitinfo2/src/main/java/com/karthikb351/vitinfo2/TeamScreen.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
package com.karthikb351.vitinfo2; | ||
|
||
import android.content.Intent; | ||
import android.net.Uri; | ||
import android.os.Bundle; | ||
import android.support.v7.app.ActionBarActivity; | ||
import android.view.View; | ||
import android.view.Window; | ||
import android.view.WindowManager; | ||
import android.widget.TextView; | ||
|
||
import com.google.android.gms.analytics.HitBuilders; | ||
import com.google.android.gms.analytics.Tracker; | ||
|
||
/** | ||
* Created by saurabh on 5/25/14. | ||
*/ | ||
public class TeamScreen extends ActionBarActivity implements View.OnClickListener{ | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
|
||
Tracker t = ((Application) getApplication()).getTracker(Application.TrackerName.GLOBAL_TRACKER); | ||
t.setScreenName("TeamScreen"); | ||
t.send(new HitBuilders.AppViewBuilder().build()); | ||
|
||
supportRequestWindowFeature(Window.FEATURE_NO_TITLE); | ||
|
||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, | ||
WindowManager.LayoutParams.FLAG_FULLSCREEN); | ||
setContentView(R.layout.fragment_team_screen); | ||
|
||
setStuff((TextView) findViewById(R.id.lbl_sau)); | ||
setStuff((TextView) findViewById(R.id.lbl_sid)); | ||
setStuff((TextView) findViewById(R.id.lbl_kis)); | ||
setStuff((TextView) findViewById(R.id.lbl_vib)); | ||
setStuff((TextView) findViewById(R.id.lbl_kar)); | ||
|
||
setStuff((TextView) findViewById(R.id.lbl_sau_sub)); | ||
setStuff((TextView) findViewById(R.id.lbl_sid_sub)); | ||
setStuff((TextView) findViewById(R.id.lbl_kis_sub)); | ||
setStuff((TextView) findViewById(R.id.lbl_vib_sub)); | ||
setStuff((TextView) findViewById(R.id.lbl_kar_sub)); | ||
|
||
} | ||
|
||
private void setStuff(TextView textView){ | ||
textView.setOnClickListener(this); | ||
} | ||
|
||
@Override | ||
public void onClick(View view) { | ||
Intent i = new Intent(Intent.ACTION_VIEW); | ||
|
||
switch (view.getId()){ | ||
case R.id.lbl_sau: | ||
i.setData(Uri.parse("https://github.com/battlex2010")); | ||
break; | ||
|
||
case R.id.lbl_sid: | ||
i.setData(Uri.parse("https://github.com/biocross")); | ||
break; | ||
|
||
case R.id.lbl_kis: | ||
i.setData(Uri.parse("https://github.com/kishore-narendran")); | ||
break; | ||
|
||
case R.id.lbl_vib: | ||
i.setData(Uri.parse("https://github.com/vibhorvarshneya")); | ||
break; | ||
|
||
case R.id.lbl_kar: | ||
i.setData(Uri.parse("https://github.com/karthikb351")); | ||
break; | ||
|
||
default: | ||
return; | ||
} | ||
|
||
startActivity(i); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:src="@drawable/logo_back" | ||
android:gravity="top|clip_vertical" > | ||
</bitmap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@drawable/logo_back" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<de.hdodenhof.circleimageview.CircleImageView | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/img_logo" | ||
android:layout_marginTop="15dp" | ||
android:layout_width="100dp" | ||
android:layout_height="100dp" | ||
android:src="@drawable/logo" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" | ||
app:border_width="1dp" | ||
app:border_color="#FFFFFF"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerHorizontal="true" | ||
android:id="@+id/lbl_team" | ||
android:layout_marginTop="15dp" | ||
android:textSize="25sp" | ||
android:layout_below="@id/img_logo" | ||
android:textColor="@color/Black" | ||
android:text="TEAM" | ||
app:typeface="roboto_thin" | ||
/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_sau" | ||
android:text="Saurabh Joshi" | ||
android:autoLink="web" | ||
android:textSize="20sp" | ||
android:textColor="@color/Black" | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/lbl_team" | ||
app:typeface="roboto_light"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_sau_sub" | ||
android:textColor="@color/Black" | ||
android:text="Android|WP8" | ||
android:textSize="13sp" | ||
android:layout_marginTop="2dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/lbl_sau" | ||
app:typeface="roboto_light_italic"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_sid" | ||
android:layout_below="@id/lbl_sau_sub" | ||
android:textColor="@color/Black" | ||
android:text="Siddharth Gupta" | ||
android:textSize="20sp" | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
app:typeface="roboto_light"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_sid_sub" | ||
android:text="iOS|Web" | ||
android:textSize="13sp" | ||
android:textColor="@color/Black" | ||
android:layout_marginTop="2dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/lbl_sid" | ||
app:typeface="roboto_light_italic"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_kis" | ||
android:layout_below="@id/lbl_sid_sub" | ||
android:text="Kishore Narendran" | ||
android:textColor="@color/Black" | ||
android:textSize="20sp" | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
app:typeface="roboto_light"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_kis_sub" | ||
android:text="App Engine" | ||
android:textSize="13sp" | ||
android:layout_marginTop="2dp" | ||
android:textColor="@color/Black" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/lbl_kis" | ||
app:typeface="roboto_light_italic"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_vib" | ||
android:layout_below="@id/lbl_kis_sub" | ||
android:text="Vibhor Varshney" | ||
android:textSize="20sp" | ||
android:textColor="@color/Black" | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
app:typeface="roboto_light"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_vib_sub" | ||
android:text="Android|Design" | ||
android:textSize="13sp" | ||
android:layout_marginTop="2dp" | ||
android:textColor="@color/Black" | ||
android:layout_centerHorizontal="true" | ||
android:layout_below="@id/lbl_vib" | ||
app:typeface="roboto_light_italic"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_kar" | ||
android:layout_below="@id/lbl_vib_sub" | ||
android:text="Karthik Balakrishnan" | ||
android:textColor="@color/Black" | ||
android:textSize="20sp" | ||
android:layout_marginTop="20dp" | ||
android:layout_centerHorizontal="true" | ||
app:typeface="roboto_light"/> | ||
|
||
<com.devspark.robototextview.widget.RobotoTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/lbl_kar_sub" | ||
android:text="Legacy Android" | ||
android:textSize="13sp" | ||
android:layout_marginTop="2dp" | ||
android:layout_centerHorizontal="true" | ||
android:textColor="@color/Black" | ||
android:layout_below="@id/lbl_kar" | ||
app:typeface="roboto_light_italic"/> | ||
|
||
<RelativeLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="25dp" | ||
android:layout_marginBottom="5dp" | ||
android:layout_below="@id/lbl_kar_sub" | ||
android:layout_centerHorizontal="true" | ||
android:orientation="horizontal"> | ||
|
||
<ImageView | ||
android:id="@+id/img_android" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="1dp" | ||
android:src="@drawable/app_engine_icon" | ||
/> | ||
<ImageView | ||
android:id="@+id/img_apple" | ||
android:layout_toRightOf="@id/img_android" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="1dp" | ||
android:src="@drawable/android_icon" | ||
/> | ||
|
||
<ImageView | ||
android:id="@+id/img_wp" | ||
android:layout_toRightOf="@id/img_apple" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="1dp" | ||
android:src="@drawable/apple_icon" | ||
/> | ||
|
||
<ImageView | ||
android:id="@+id/img_ae" | ||
android:layout_toRightOf="@id/img_wp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="1dp" | ||
android:src="@drawable/windows_icon" | ||
/> | ||
</RelativeLayout> | ||
|
||
</RelativeLayout> | ||
|
||
</ScrollView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters