"Axborot texnologiyalari" kafedrasi mudiri 5111000 Kasb ta’limi 5330200 Informatika



Download 1,41 Mb.
Pdf ko'rish
bet12/15
Sana13.04.2022
Hajmi1,41 Mb.
#548719
1   ...   7   8   9   10   11   12   13   14   15
Bog'liq
Kurs ishi MA1

 
3.
 
DT.ni realizatsiya qilish. (Foydalanuvchi interfeysi, kodlar qismi) 
 
 
Activity1 
 


 
Activity2


Activity3
 
 
 
 
 
 
 
 
 
 
 


Activity4
 
 
 
 
 
 
 
 
 
 
 


Activity5

Ushbu activityda pdf 
fayldan foydalandim. Pdf 
faylni adresini ko`rsatkan 
holda buttonning onclick 
funkfiyasi ishga tushganda 
ko`rsatgan pdf faylning 
manziliga avtomatik 
ravishda kirib yuklab 
ekranda ko`rsatadi. 
Bundan yashqari 
setSupportZoom(true) 
funksiyasi orqali pdf 
faylni kattalashtirib 
ko`rish imkoniyati ham 
qo`shilgan. 
 
 
 
 
 
 


Activity1 
 
xml version
="1.0" 
encoding
="utf-8"
?> 
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" 
android
:background
="@drawable/backgroundsss" 
tools
:context
="MainActivity"

android
:id
="@+id/start" 
android
:layout_width
="154dp" 
android
:layout_height
="79dp" 
android
:background
="@drawable/dil5" 
app
:layout_constraintBottom_toBottomOf
="parent" 
app
:layout_constraintEnd_toEndOf
="parent" 
app
:layout_constraintHorizontal_bias
="0.498" 
app
:layout_constraintStart_toStartOf
="parent" 
app
:layout_constraintTop_toTopOf
="parent" 
app
:layout_constraintVertical_bias
="0.848" 
/> 

 
 
Activty2 
 
xml version
="1.0" 
encoding
="utf-8"
?> 
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" 
android
:orientation
="vertical" 
android
:weightSum
="10" 
android
:background
="@drawable/salom" 
tools
:context
=".MainActivity2"

android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_weight
="2.5" 
android
:orientation
="horizontal" 
android
:weightSum
="3"

android
:layout_width
="wrap_content" 
android
:id
="@+id/nazad" 
android
:layout_height
="73dp" 
android
:layout_marginLeft
="9dp" 
android
:layout_marginTop
="2dp" 
android
:paddingHorizontal
="@dimen/cardview_compat_inset_shadow" 
android
:src
="@drawable/ic_baseline_arrow_back_24" 
/> 
android
:layout_width
="286dp" 
android
:layout_height
="match_parent" 
android
:layout_gravity
="center" 
android
:gravity
="center" 
android
:text
="Learning" 
android
:textColor
="#ffffff" 


android
:textSize
="30dp" 
/> 
android
:layout_width
="48dp" 
android
:layout_height
="56dp" 
android
:layout_gravity
="center" 
android
:layout_marginRight
="15dp" 
android
:paddingHorizontal
="@dimen/cardview_compat_inset_shadow" 
android
:src
="@drawable/poisk" 
/> 
 
android
:layout_width
="286dp" 
android
:layout_height
="84dp" 
android
:layout_marginLeft
="81dp" 
android
:layout_marginTop
="27dp" 
android
:layout_gravity
="center" 
android
:layout_marginRight
="57dp" 
android
:layout_weight
="4.4" 
android
:background
="@drawable/fad1" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_weight
="1.3" 
android
:textSize
="20dp" 
android
:layout_marginTop
="15dp" 
android
:gravity
="center_vertical" 
android
:textStyle
="bold" 
android
:textColor
="#090101" 
android
:layout_marginLeft
="20dp" 
android
:text
="Categories"
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="140dp" 
android
:orientation
="horizontal" 
android
:layout_marginTop
="20dp" 
android
:weightSum
="2"

android
:layout_width
="0dp" 
android
:layout_height
="match_parent" 
android
:layout_weight
="1"

android
:layout_width
="wrap_content" 
android
:id
="@+id/Csharp" 
android
:layout_height
="wrap_content" 
android
:layout_gravity
="center" 
android
:layout_marginLeft
="8dp" 
android
:background
="@drawable/dilnoza" 
/> 
 
android
:layout_width
="0dp" 
android
:layout_height
="match_parent" 
android
:layout_weight
="1"

android
:layout_width
="192dp" 
android
:id
="@+id/imagebutton1" 
android
:layout_height
="149dp" 


android
:layout_gravity
="center" 
android
:layout_marginLeft
="1dp" 
android
:layout_marginRight
="8dp" 
android
:background
="@drawable/ggggggg" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="140dp" 
android
:orientation
="horizontal" 
android
:layout_marginTop
="20dp" 
android
:weightSum
="2"

android
:layout_width
="0dp" 
android
:layout_height
="match_parent" 
android
:layout_weight
="1"

android
:layout_width
="200dp" 
android
:layout_height
="146dp" 
android
:layout_gravity
="center" 
android
:layout_marginLeft
="4dp" 
android
:background
="@drawable/yas" 
/> 
 
android
:layout_width
="0dp" 
android
:layout_height
="match_parent" 
android
:layout_weight
="1"

android
:layout_width
="186dp" 
android
:layout_height
="149dp" 
android
:layout_gravity
="center" 
android
:layout_marginLeft
="3dp" 
android
:layout_marginRight
="5dp" 
android
:background
="@drawable/kkk" 
/> 
 
 

 
 
Activity3 
 
 
xml version
="1.0" 
encoding
="utf-8"
?> 
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" 
android
:weightSum
="9" 
android
:orientation
="vertical" 
tools
:context
=".MainActivity4"

android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginLeft
="3dp" 
android
:layout_marginTop
="1dp" 


android
:weightSum
="2" 
android
:orientation
="horizontal" 
android
:layout_marginRight
="3.5dp" 
android
:layout_weight
="0.9"

android
:id
="@+id/nazad" 
android
:layout_width
="wrap_content" 
android
:layout_height
="match_parent" 
android
:paddingHorizontal
="@dimen/cardview_compat_inset_shadow" 
android
:src
="@drawable/ic_baseline_arrow_back_24" 
/> 
android
:layout_width
="wrap_content" 
android
:layout_marginLeft
="50dp" 
android
:layout_height
="match_parent" 
android
:orientation
="horizontal" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:text
="Categories" 
android
:textSize
="30dp" 
android
:gravity
="center" 
android
:textStyle
="bold" 
android
:textColor
="#0A0B0B"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="3dp" 
android
:layout_marginLeft
="2dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button1" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="C# haqida ma`lumot" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="3.5dp" 
android
:layout_marginLeft
="4dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button2" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="C# Sintaksisi" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="3dp" 
android
:paddingLeft
="2.5dp" 
android
:layout_marginBottom
="5dp" 


android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button3" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="Izohga olish" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="4dp" 
android
:layout_marginLeft
="4dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button4" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="O`zgaruvchilar" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="2.5dp" 
android
:layout_marginLeft
="3.5dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button5" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="Ma`lumot tiplari" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="2dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button6" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="C# tipidagi kasting" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 


android
:layout_marginRight
="3.5dp" 
android
:layout_marginLeft
="3.5dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button7" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="C# operatorlari" 
android
:textSize
="20dp"

 
 
android
:layout_width
="match_parent" 
android
:layout_height
="0dp" 
android
:layout_marginRight
="3.5dp" 
android
:layout_marginLeft
="3.5dp" 
android
:layout_marginBottom
="5dp" 
android
:layout_weight
="1"

android
:layout_width
="match_parent" 
android
:id
="@+id/button8" 
android
:textStyle
="bold" 
android
:layout_height
="match_parent" 
android
:text
="C# if...else" 
android
:textSize
="20dp"

 
 


Download 1,41 Mb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   15




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish