You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.0 KiB
55 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout 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="?attr/fullscreenBackgroundColor"
|
|
android:theme="@style/ThemeOverlay.Notes1.FullscreenContainer"
|
|
tools:context=".ui.SplashActivity">
|
|
|
|
<!-- The primary full-screen view. This can be replaced with whatever view
|
|
is needed to present your content, e.g. VideoView, SurfaceView,
|
|
TextureView, etc. -->
|
|
|
|
<TextView
|
|
android:id="@+id/fullscreen_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/op_start"
|
|
android:gravity="center|top"
|
|
android:keepScreenOn="true"
|
|
android:text="@string/dummy_content"
|
|
android:textColor="?attr/fullscreenTextColor"
|
|
android:textSize="50sp"
|
|
android:textStyle="bold" />
|
|
|
|
<!-- This FrameLayout insets its children based on system windows using
|
|
android:fitsSystemWindows. -->
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fullscreen_content_controls"
|
|
style="@style/Widget.Theme.Notes1.ButtonBar.Fullscreen"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:orientation="horizontal"
|
|
tools:ignore="UselessParent">
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
<!--版本问题,目前已经废弃了~-->
|
|
<!-- <Button
|
|
android:id="@+id/skip_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:text="跳过"
|
|
android:layout_marginRight="2dp"/>-->
|
|
|
|
|
|
</FrameLayout> |