Mercurial > cgi-bin > hgwebdir.cgi > FriendStream > ASProto
comparison app/src/main/res/layout/activity_main.xml @ 2:3485a304a057
adding new branch with the original tutorial code -- later merge to main and mod
| author | kshalle |
|---|---|
| date | Thu, 23 Apr 2015 10:53:54 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:6a60c078b8e3 |
|---|---|
| 1 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 2 xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" | |
| 3 android:layout_height="match_parent" android:background="#0099cc" tools:context=".MainActivity"> | |
| 4 | |
| 5 <!-- The primary full-screen view. This can be replaced with whatever view | |
| 6 is needed to present your content, e.g. VideoView, SurfaceView, | |
| 7 TextureView, etc. --> | |
| 8 <TextView android:id="@+id/fullscreen_content" android:layout_width="match_parent" | |
| 9 android:layout_height="match_parent" android:keepScreenOn="true" android:textColor="#33b5e5" | |
| 10 android:textStyle="bold" android:textSize="50sp" android:gravity="center" | |
| 11 android:text="@string/dummy_content" /> | |
| 12 | |
| 13 <!-- This FrameLayout insets its children based on system windows using | |
| 14 android:fitsSystemWindows. --> | |
| 15 <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" | |
| 16 android:fitsSystemWindows="true"> | |
| 17 | |
| 18 <LinearLayout android:id="@+id/fullscreen_content_controls" style="?metaButtonBarStyle" | |
| 19 android:layout_width="match_parent" android:layout_height="wrap_content" | |
| 20 android:layout_gravity="bottom|center_horizontal" | |
| 21 android:background="@color/black_overlay" android:orientation="horizontal" | |
| 22 tools:ignore="UselessParent"> | |
| 23 | |
| 24 <Button android:id="@+id/dummy_button" style="?metaButtonBarButtonStyle" | |
| 25 android:layout_width="0dp" android:layout_height="wrap_content" | |
| 26 android:layout_weight="1" android:text="@string/dummy_button" /> | |
| 27 | |
| 28 </LinearLayout> | |
| 29 </FrameLayout> | |
| 30 | |
| 31 </FrameLayout> |
