-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from rpandey1234/login
Login fix
- Loading branch information
Showing
9 changed files
with
264 additions
and
146 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
Nudge Android | ||
Additt Android | ||
---- | ||
|
||
Ben Rudpolph | ||
Rahul Pandey | ||
Eli Hart | ||
Created by: Ben Rudpolph, Rahul Pandey, Eli Hart | ||
|
||
Contact info: [email protected] | ||
|
||
Additt is crowd-sourced advertising that you'll love. We make it easy, fun, and addicting for you to create ads for companies and brands. Our app seamlessly connects to our website where you can browse other published ads, see different campaigns, and vote on ads. High quality ads get exciting rewards from Additt or the sponsoring organization! | ||
Log in with Facebook to enjoy the full experience. Check out the full platform at additt.co! | ||
|
||
Download the Android app on the [Play store](https://play.google.com/store/apps/details?id=com.additt.maple_android) |
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 |
---|---|---|
@@ -1,25 +1,16 @@ | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".LoginActivity" | ||
android:background="#191919" > | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
|
||
<ImageView | ||
android:id="@+id/additt_logo" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:src="@drawable/additt_logo" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginTop="62dp" /> | ||
|
||
<Button | ||
android:id="@+id/loginB" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:background="@layout/button_sign_in" | ||
android:layout_centerHorizontal="true" | ||
android:layout_centerVertical="true"/> | ||
|
||
</RelativeLayout> | ||
<fragment android:name="com.additt.maple_android.SelectionFragment" | ||
android:id="@+id/selectionFragment" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
<fragment android:name="com.additt.maple_android.SplashFragment" | ||
android:id="@+id/splashFragment" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
</LinearLayout> |
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="10dp" | ||
android:layout_gravity="center" | ||
android:textColor="#333" | ||
android:textSize="18sp" | ||
android:text="Welcome, you are now logged in." /> | ||
|
||
</LinearLayout> |
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,38 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
tools:context=".LoginActivity" | ||
android:background="#191919" > | ||
|
||
<ImageView | ||
android:id="@+id/additt_logo" | ||
android:layout_width="wrap_content" | ||
android:contentDescription="Additt logo" | ||
android:layout_height="wrap_content" | ||
android:src="@drawable/additt_logo" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="20dp" /> | ||
|
||
<TextView | ||
android:id="@+id/profile_name" | ||
android:layout_width="174dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="35dp" | ||
android:lines="2" | ||
android:textSize="17sp" | ||
android:textColor="#FFFFFF" | ||
android:text="To get started, log in using Facebook" | ||
android:layout_gravity="center_horizontal" | ||
android:gravity="center_horizontal"/> | ||
|
||
<com.facebook.widget.LoginButton | ||
android:id="@+id/login_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center_horizontal" | ||
android:layout_marginTop="30dp" | ||
android:layout_marginBottom="30dp" /> | ||
|
||
</LinearLayout> |
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
Oops, something went wrong.