This file contains hidden or 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
/** I apologise for this messy code! It's because I'm a complete beginner, but I'd really appreciate any advice in improving it/cleaning it up! | |
The majority has been gathered from various internet search results, and so I'm making this available for any other learners wanting | |
to play around with the code/app | |
- Remember to replace occurrances of "ball" with the name of your video file | |
- The background video wouldn't run for me on the emulator, so try running directly to your android device | |
- Place your video in a "raw" folder that sits within the "res" folder. | |
*/ | |
package com.example.android.tabletennisscore; |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v4.widget.NestedScrollView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
tools:context=".MainActivity" | |
android:layout_height="match_parent" | |
android:layout_width="match_parent" | |
android:fillViewport="true"> |