DEV Community

ajithkumar78
ajithkumar78

Posted on

Why change in my app background in samsung mobile phones ? how set all mobile background color set?

I'm new in android developer i will create a new app in android studio my app background color i have kept as white its accepting for all mobile except samsung mobile.by dafault it showing balck color background .i will mention in my code below please check

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"
android:background="@color/white"
android:layout_marginTop="@dimen/_12ssp"
tools:context=".Splashscreen.Splashscreen">

android:id="@+id/logo"
android:layout_width="175dp"
android:layout_height="164dp"
android:src="@drawable/ab"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints">

android:id="@+id/wel_tex"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/logo"
android:gravity="center_horizontal"
android:text="WELCOME"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/logo" />

android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/wel_tex"
android:text="MyChat"
android:textColor="@color/white"
android:textSize="20dp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/wel_tex"
app:layout_constraintVertical_bias="0.376" />

Top comments (0)