|
@@ -1,8 +1,10 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
+<android.support.constraint.ConstraintLayout
|
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
<FrameLayout
|
|
<FrameLayout
|
|
|
android:id="@+id/fragment_container"
|
|
android:id="@+id/fragment_container"
|
|
|
android:background="@color/white"
|
|
android:background="@color/white"
|
|
@@ -12,8 +14,11 @@
|
|
|
|
|
|
|
|
<Button
|
|
<Button
|
|
|
android:id="@+id/btn_courage_video"
|
|
android:id="@+id/btn_courage_video"
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="开启激励视频"/>
|
|
|
|
|
|
|
+ android:layout_width="100dp"
|
|
|
|
|
+ android:layout_height="100dp"
|
|
|
|
|
+ android:layout_margin="32dp"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ android:text="激励视频"/>
|
|
|
|
|
|
|
|
-</LinearLayout>
|
|
|
|
|
|
|
+</android.support.constraint.ConstraintLayout>
|