123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/background"
- tools:context="app.brest.testmin3d.ViewerActivity">
- <!-- The primary full-screen view. This can be replaced with whatever view
- is needed to present your content, e.g. VideoView, SurfaceView,
- TextureView, etc. -->
- <!-- This FrameLayout insets its children based on system windows using
- android:fitsSystemWindows. -->
- <Button
- android:layout_width="match_parent"
- android:layout_height="70dp"
- android:text="Carte"
- android:id="@+id/b_title"
- android:layout_alignParentBottom="false"
- android:layout_centerHorizontal="true"
- android:layout_alignParentTop="true"
- android:textColor="@color/dull_4"
- android:textSize="30dp"
- android:textStyle="bold"
- android:background="@drawable/title" />
- <Button
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:text="Informations"
- android:id="@+id/button_info"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:background="@drawable/button"
- android:textColor="#33b5e5"
- android:textStyle="bold"
- android:textSize="25dp"
- android:onClick="onClickInfo" />
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@+id/button_info"
- android:id="@+id/frame_viewer"
- android:layout_below="@+id/b_title">
- <ImageView
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:id="@+id/imageView"
- android:layout_gravity="center"
- android:adjustViewBounds="true"
- android:cropToPadding="false"
- android:focusableInTouchMode="true"
- android:focusable="true"
- android:visibility="visible" />
- <VideoView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/vv_media"
- android:layout_gravity="center" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:text="Medium Text"
- android:id="@+id/tv_comment"
- android:layout_gravity="center"
- android:textColor="#33b5e5"
- android:textSize="20dp"
- android:visibility="invisible" />
- </FrameLayout>
- </RelativeLayout>
|