Raqamli texnologiyalar vazirligi muhammad al-xorazmiy nomidagi toshkent


Download 0.85 Mb.
Pdf ko'rish
bet3/3
Sana14.04.2023
Hajmi0.85 Mb.
#1358110
1   2   3
 
 
 
 


Ishni bajarish: 
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" 
xmlns:
custom
="http://schemas.android.com/apk/res-auto" 
android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:paddingBottom
="@dimen/activity_vertical_margin" 
android
:paddingLeft
="@dimen/activity_horizontal_margin" 
android
:paddingRight
="@dimen/activity_horizontal_margin" 
android
:paddingTop
="@dimen/activity_vertical_margin" 
app
:theme
="@style/AppTheme.NoActionBar" 
tools
:context
="com.example.ilyes.jobi.activities.SignActivity"

android
:id
="@+id/textView2" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_above
="@+id/textView" 
android
:layout_centerHorizontal
="true" 
android
:text
="@string/app_name" 
android
:textSize
="68sp" 
/> 
android
:id
="@+id/textView" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_above
="@+id/linearLayout" 
android
:layout_alignEnd
="@+id/textView2" 
android
:layout_alignRight
="@+id/textView2" 
android
:text
="@string/app_slogan" 
android
:textSize
="16sp" 
/> 
android
:id
="@+id/linearLayout" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_alignParentBottom
="true" 
android
:layout_alignParentLeft
="true" 
android
:layout_alignParentStart
="true" 
android
:layout_marginBottom
="78dp" 
android
:layout_marginTop
="64dp" 
android
:orientation
="vertical"

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

android
:id
="@+id/emial_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Email" 
android
:inputType
="textEmailAddress" 
android
:singleLine
="true" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"



android
:id
="@+id/password_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Password" 
android
:inputType
="textPassword" 
android
:singleLine
="true" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:gravity
="center" 
android
:orientation
="vertical"

android
:layout_marginTop
="16dp" 
android
:id
="@+id/btn_sign_in" 
android
:layout_width
="match_parent" 
android
:layout_height
="48dp" 
android
:layout_marginBottom
="16dp" 
android
:text
="@string/Sign_in" 
android
:textColor
="@android:color/white" 
android
:textSize
="18sp" 
custom
:pb_colorComplete
="@color/green_complete" 
custom
:pb_colorNormal
="@color/blue_normal" 
custom
:pb_colorPressed
="@color/blue_pressed" 
custom
:pb_colorProgress
="@color/purple_progress" 
custom
:pb_textComplete
="@string/Success" 
custom
:pb_textProgress
="@string/Loading" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_marginTop
="16dp" 
android
:orientation
="horizontal"

android
:id
="@+id/sign_up_flatt_btn" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:gravity
="center_horizontal" 
android
:layout_gravity
="center_horizontal" 
android
:text
="Don't have an account sign up" 
/> 
 
 

 
 


xml version
="1.0" 
encoding
="utf-8"
?> 
xmlns:
android
="http://schemas.android.com/apk/res/android" 
xmlns:
tools
="http://schemas.android.com/tools" 
android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
tools
:context
="com.example.ilyes.jobi.activities.SignUpClientActivity"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="16dp"

android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:orientation
="vertical"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="horizontal"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_face_black_24dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/name_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Name" 
android
:inputType
="textPersonName" 
android
:maxLength
="10" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_mail_black_24dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/email_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Email" 
android
:inputType
="textEmailAddress" 


android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/key_variant" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/password_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Password" 
android
:inputType
="textPassword" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/secrity" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/password_confirm_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Confirm Password" 
android
:inputType
="textPassword" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 


android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_call_black_48dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/numero_tel_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Numero Telephone" 
android
:inputType
="phone" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/ic_place_black_24dp" 
android
:layout_margin
="8dp"
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="vertical"

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

android
:id
="@+id/street_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Street" 
android
:inputType
="textPostalAddress" 
android
:singleLine
="true" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="horizontal" 
android
:weightSum
="2"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_weight
="1"

android
:id
="@+id/city_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="City" 


android
:inputType
="textPostalAddress" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_weight
="1"

android
:id
="@+id/country_client_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Country" 
android
:inputType
="textPostalAddress" 
/> 
 
 
 
 
 
 
android
:id
="@+id/confirm_sigup_client_fab" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_gravity
="bottom|end" 
android
:layout_margin
="16dp" 
android
:src
="@drawable/ic_done_black_24dp" 
/> 



xml version
="1.0" 
encoding
="utf-8"
?> 
xmlns:
android
="http://schemas.android.com/apk/res/android" 
xmlns:
tools
="http://schemas.android.com/tools" 
android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:orientation
="vertical" 
tools
:context
="com.example.ilyes.jobi.activities.SignUpWorkerActivity"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="16dp"

android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:orientation
="vertical"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="horizontal"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_face_black_24dp" 
/> 


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

android
:id
="@+id/name_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Name" 
android
:inputType
="textPersonName" 
android
:maxLength
="10" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_mail_black_24dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/email_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Email" 
android
:inputType
="textEmailAddress" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/key_variant" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/password_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Password" 
android
:inputType
="textPassword" 
android
:singleLine
="true" 
/> 
 


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

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/secrity" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/password_confirm_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Confirm Password" 
android
:inputType
="textPassword" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_call_black_48dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/numero_tel_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Numero Telephone" 
android
:inputType
="phone" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/calendar" 
/> 


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

android
:id
="@+id/birth_date_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Birth Date" 
android
:inputType
="datetime" 
android
:singleLine
="true" 
/> 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="horizontal"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/worker_vec" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="vertical"

android
:id
="@+id/function_worker_spr" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"

android
:id
="@+id/exp_year_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Year Experience" 
android
:inputType
="numberDecimal" 
android
:singleLine
="true" 
/> 
 
 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content"



android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:layout_margin
="8dp" 
android
:src
="@drawable/ic_place_black_24dp" 
/> 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="vertical"

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

android
:id
="@+id/street_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Street" 
android
:inputType
="textPostalAddress" 
android
:singleLine
="true" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:orientation
="horizontal" 
android
:weightSum
="2"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_weight
="1"

android
:id
="@+id/city_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="City" 
android
:inputType
="textPostalAddress" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_weight
="1"

android
:id
="@+id/country_worker_et" 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:hint
="Country" 
android
:inputType
="textPostalAddress" 
/> 
 
 
 


 
 
 
android
:id
="@+id/confirm_sigup_worker_fab" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_gravity
="bottom|end" 
android
:layout_margin
="16dp" 
android
:src
="@drawable/ic_done_black_24dp" 
/> 

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" 
app
:layout_behavior
="@string/appbar_scrolling_view_behavior" 
tools
:context
="com.example.ilyes.jobi.activities.WorkerDetailActivity" 
tools
:showIn
="@layout/activity_worker_detail"

android
:layout_width
="match_parent" 


android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"

android
:orientation
="vertical" 
android
:layout_width
="match_parent" 
android
:layout_height
="match_parent" 
android
:layout_margin
="8dp"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="28dp" 
android
:orientation
="vertical"

android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/ic_face_black_24dp" 
/> 
android
:id
="@+id/worker_name_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="Name" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/ic_mail_black_24dp" 
/> 
android
:id
="@+id/worker_email_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="E-mail" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"



android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/ic_call_black_48dp" 
/> 
android
:id
="@+id/worker_phone_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="Phone" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"

android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/ic_place_black_24dp" 
/> 
android
:id
="@+id/worker_address_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="Address" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"

android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginTop
="12dp" 
android
:text
="EXP" 
android
:textColor
="@android:color/black" 
android
:textSize
="20sp" 
/> 
android
:id
="@+id/worker_exp_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="Exp years" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
android
:layout_width
="match_parent" 
android
:layout_height
="wrap_content" 
android
:layout_margin
="8dp"



android
:id
="@+id/worker_function_iv" 
android
:layout_width
="@dimen/sign_up_form_icon_size" 
android
:layout_height
="@dimen/sign_up_form_icon_size" 
android
:src
="@drawable/forgeron" 
/> 
android
:id
="@+id/worker_function_tv" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:layout_marginLeft
="16sp" 
android
:layout_marginTop
="12dp" 
android
:text
="Function" 
android
:textSize
="@dimen/activity_worker_detail_text_view_text_size" 
/> 
 
 
android
:id
="@+id/action_contact_worker_detail" 
android
:layout_gravity
="right" 
android
:layout_width
="wrap_content" 
android
:layout_height
="wrap_content" 
android
:text
="Contacter"
/> 



Foydalanilgan adabiyotlarlar va internet manbalar: 
1. G. Blake Meike, Mike Dunn, Programming Android with Kotlin, O’Reilly 
Media, 2021, 532 p 
4. https://developer.android.com/docs
5. 
https://www.tutorialkart.com/kotlin-android/
  
6. 
https://github.com
 

Download 0.85 Mb.

Do'stlaringiz bilan baham:
1   2   3




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