Mobil ilovalar yaratish fanidan yakuniy nazorat ishi


Download 1.07 Mb.
bet4/6
Sana07.02.2023
Hajmi1.07 Mb.
#1174215
1   2   3   4   5   6
Bog'liq
Abdisaidova Sitora (2)

}

}
}

Bu MainActivity programma ishga tushganda 1-bo’lib ishga tushadi


Activityda ro’yxatdan o’tish qismi bor unda Login va parol terib keyingi oynaga o’tadi.

MainActivity.xml


xml version="1.0" encoding="utf-8"?>
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"

android:orientation="vertical"


tools:context=".ui.MainActivity">

android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">

android:layout_width="wrap_content"
android:layout_height="wrap_content"

android:gravity="center"


android:text="Davlatlar\nMobil Dasturi"
android:textColor="@color/black"
android:textSize="23sp"
android:textStyle="bold" />

android:layout_width="match_parent"
android:layout_height="10dp" />


style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="300dp"
android:layout_height="60dp"
android:hint="login">

android:id="@+id/tvLogin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="" />



android:layout_width="match_parent"
android:layout_height="5dp" />


style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="300dp"
android:layout_height="60dp"
android:hint="password">

android:id="@+id/tvPassword"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="" />



android:layout_width="match_parent"
android:layout_height="5dp" />


Download 1.07 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling