-
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
12 changed files
with
159 additions
and
3 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
18 changes: 18 additions & 0 deletions
18
Workoutathome/src/main/java/com/joumaa/workouthome/temporary/Video.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,18 @@ | ||
package com.joumaa.workouthome.temporary; | ||
|
||
/** | ||
* Created by dany on 10/27/13. | ||
*/ | ||
public class Video { | ||
private String title; | ||
|
||
public static Video buildTestVideo() { | ||
Video video = new Video(); | ||
video.title = "The Most Awesome Ab Workout Ever"; | ||
return video; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
} |
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,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<FrameLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:paddingTop="20dp" | ||
android:paddingBottom="20dp" | ||
> | ||
|
||
<TextView | ||
android:layout_height="wrap_content" | ||
android:layout_width="wrap_content" | ||
android:textColor="#808080" | ||
android:layout_gravity="center_vertical" | ||
android:text="Featured Workouts" | ||
android:textSize="24sp" | ||
/> | ||
|
||
</FrameLayout> |
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
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,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<FrameLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:paddingBottom="20dp" | ||
android:background="@color/fragment_background" | ||
> | ||
|
||
<LinearLayout | ||
android:layout_height="wrap_content" | ||
android:layout_width="match_parent" | ||
android:background="@drawable/card_background" | ||
android:orientation="vertical" | ||
> | ||
|
||
<ImageView | ||
android:id="@+id/imageView" | ||
android:layout_height="200dp" | ||
android:layout_width="match_parent" | ||
android:src="@drawable/test_image" | ||
android:scaleType="centerCrop" | ||
/> | ||
|
||
<RelativeLayout | ||
android:layout_height="match_parent" | ||
android:layout_width="wrap_content" | ||
android:layout_margin="10dp" | ||
> | ||
|
||
<TextView | ||
android:id="@+id/title" | ||
android:layout_height="wrap_content" | ||
android:layout_width="wrap_content" | ||
android:text="This is a test" | ||
android:layout_centerVertical="true" | ||
/> | ||
|
||
<ImageView | ||
android:id="@+id/playButton" | ||
android:layout_height="wrap_content" | ||
android:layout_width="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:src="@drawable/play_icon" | ||
/> | ||
|
||
</RelativeLayout> | ||
|
||
</LinearLayout> | ||
|
||
|
||
|
||
</FrameLayout> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="fragment_background">#e4e4e4</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