Я хочу создать активность входа для своего приложения, но макет по умолчанию продолжает отображаться при запуске моего приложения в AVD.Как изменить макет по умолчанию (activity_main) в студии android
i don't want any blue on my layout, all i want in the yellow part
ниже мой файл макета
<?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:weightSum="1"
android:paddingLeft="20dp"
android:paddingTop="20dp"
android:paddingRight="20dp"
android:paddingBottom="20dp"
android:background="@android:color/holo_orange_light">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/mobile_money_market"
android:layout_weight="0.05"
android:textAlignment="center"
android:inputType="text"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="0.05"
android:text="@string/free_advertising"
android:textAlignment="center" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:ems="10"
android:id="@+id/editText1"
android:hint="Email..."
android:layout_marginTop="30dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:ems="10"
android:id="@+id/editText2"
android:hint="Password..."
android:layout_marginTop="20dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/item">
<Button
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/sign_in"
android:id="@+id/sign_in_button"
android:layout_weight="1" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/sign_up"
android:id="@+id/sign_up_button"
android:background="@color/errorColor" />
</LinearLayout>
</LinearLayout>
Я хочу знать, как извлечь синюю часть от моей деятельности. Я не хочу, чтобы название Mobile Money Market появилось дважды, как показано на картинке выше.
Я хочу удалить стандартный заголовок Android (часть в синем) из макета.
my layout as it appears on my AVD
мне нужна помощь, пожалуйста. Может кто-нибудь посоветует мне, что делать или что не делать. Заранее спасибо
этот код не работает –