Revision 67eee83e
Added by Leszek Koltunski over 5 years ago
| src/main/AndroidManifest.xml | ||
|---|---|---|
| 30 | 30 |
<category android:name="android.intent.category.LAUNCHER" /> |
| 31 | 31 |
</intent-filter> |
| 32 | 32 |
</activity> |
| 33 |
|
|
| 34 |
<activity android:name="org.distorted.tutorial.TutorialActivity" android:screenOrientation="portrait"/> |
|
| 35 | 33 |
</application> |
| 36 | 34 |
</manifest> |
| src/main/res/layout/tutorial.xml | ||
|---|---|---|
| 1 |
<?xml version="1.0" encoding="utf-8"?> |
|
| 2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
| 3 |
android:layout_width="match_parent" |
|
| 4 |
android:layout_height="match_parent" |
|
| 5 |
android:layout_marginLeft="0dp" |
|
| 6 |
android:layout_marginRight="0dp" |
|
| 7 |
android:background="@android:color/transparent" |
|
| 8 |
android:orientation="vertical" > |
|
| 9 |
|
|
| 10 |
<WebView |
|
| 11 |
android:id="@+id/videoview" |
|
| 12 |
android:layout_width="match_parent" |
|
| 13 |
android:layout_height="0dp" |
|
| 14 |
android:layout_weight="1"/> |
|
| 15 |
|
|
| 16 |
<LinearLayout |
|
| 17 |
android:id="@+id/lowerPart" |
|
| 18 |
android:layout_width="match_parent" |
|
| 19 |
android:layout_height="0dp" |
|
| 20 |
android:gravity="center" |
|
| 21 |
android:layout_weight="1" |
|
| 22 |
android:orientation="horizontal" |
|
| 23 |
android:background="@android:color/transparent"> |
|
| 24 |
|
|
| 25 |
<org.distorted.tutorial.TutorialSurfaceView |
|
| 26 |
android:id="@+id/tutorialSurfaceView" |
|
| 27 |
android:layout_width="fill_parent" |
|
| 28 |
android:layout_height="fill_parent"/> |
|
| 29 |
|
|
| 30 |
<LinearLayout |
|
| 31 |
android:id="@+id/rightBar" |
|
| 32 |
android:layout_width="200dp" |
|
| 33 |
android:layout_height="match_parent" |
|
| 34 |
android:orientation="vertical" |
|
| 35 |
android:background="@android:color/transparent"> |
|
| 36 |
</LinearLayout> |
|
| 37 |
</LinearLayout> |
|
| 38 |
</LinearLayout> |
|
Also available in: Unified diff
New 'tutorial' activity.