私はSnapchatのような2つのボタンが下にあり、背景レイヤー上で小さなビデオが再生されるようなログイン画面を作っています。私がすべてをやったとき、ボタンはエミュレータ全体に行き渡る位置には位置付けられず、ビデオプレーヤーも位置がずれています。制約レイアウトを使用したvideoViewでのボタンの整列
ログインページのコードは、私はあなたの代わりにRelativeLayoutを使うべきだと思う
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.test.test.Login">
<Button
android:id="@+id/btnSignUp"
android:layout_width="414dp"
android:layout_height="89dp"
android:text="SIGN UP"
android:textSize="40sp"
android:textStyle="bold"
android:background="#FFD54F"
android:textColor="#FAFAFA"
tools:layout_editor_absoluteX="-24dp"
tools:layout_editor_absoluteY="397dp" />
<Button
android:id="@+id/btnLogin"
android:layout_width="414dp"
android:layout_height="89dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="10sp"
android:text="Login"
android:textSize="40sp"
android:textStyle="bold"
android:background="#80DEEA"
android:textColor="#FAFAFA"
tools:layout_editor_absoluteX="-15dp"
tools:layout_editor_absoluteY="486dp" />
<VideoView
android:id="@+id/bgVideoView"
android:layout_width="394dp"
android:layout_height="410dp"
tools:layout_editor_absoluteX="-5dp"
tools:layout_editor_absoluteY="0dp" />
</android.support.constraint.ConstraintLayout>
あなたは現在の状態のスクリーンショットを貼り付けることができますし、何を達成しようとしていますか? – ifiok
@ifiok更新された相手 – Shane