-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
7 changed files
with
185 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle" | ||
android:thickness="0dp"> | ||
<!--<stroke--> | ||
<!--android:width="1dp"--> | ||
<!--android:color="#FFFFFF" />--> | ||
<solid android:color="@color/colorPrimary" /> | ||
<corners android:radius="0dp" /> | ||
</shape> |
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,17 +1,100 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/activity_main" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="horizontal" | ||
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="udacity.firstproject.MainActivity"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Hello World!" /> | ||
</RelativeLayout> | ||
<LinearLayout | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_weight="2"></LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_marginTop="20dp" | ||
android:layout_weight="6" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="30dp" | ||
android:text="My Nanodegree Apps!" | ||
android:textAlignment="center" | ||
android:textColor="@color/black" | ||
android:textSize="@dimen/title_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_1" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_1" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_2" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_2" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_3" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_3" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_4" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_4" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_5" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_5" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
|
||
<Button | ||
android:id="@+id/btn_6" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/button_height" | ||
android:layout_marginTop="10dp" | ||
android:background="@drawable/button_style" | ||
android:text="@string/btn_6" | ||
android:textColor="@color/white" | ||
android:textSize="@dimen/button_text_size" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_weight="2"></LinearLayout> | ||
|
||
</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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="colorPrimary">#3F51B5</color> | ||
<color name="colorPrimaryDark">#303F9F</color> | ||
<color name="colorAccent">#FF4081</color> | ||
<color name="colorPrimary">#2E3D49</color> | ||
<color name="colorPrimaryDark">#2E3D49</color> | ||
<color name="colorAccent">#00B2E6</color> | ||
|
||
<color name="white">#FFFFFF</color> | ||
<color name="black">#000000</color> | ||
|
||
</resources> |
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,3 +1,11 @@ | ||
<resources> | ||
<string name="app_name">FirstProject</string> | ||
|
||
|
||
<string name="btn_1">POPULAR MOVIES</string> | ||
<string name="btn_2">STOCK HAWK</string> | ||
<string name="btn_3">BUILD IT BIGGER</string> | ||
<string name="btn_4">MAKE YOUR APP MATERIAL</string> | ||
<string name="btn_5">GO UBIQUITOUS</string> | ||
<string name="btn_6">CAPSTONE</string> | ||
</resources> |