Guruh: 653-21 Nazariy qism: Layout turlari va ular haqida qisqa ma’lumot




Download 493,26 Kb.
bet3/4
Sana15.05.2024
Hajmi493,26 Kb.
#236557
1   2   3   4
Bog'liq
Mobil ilovalar2

LoginActivity.java:

package com.example.dedline_2;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
public class LoginActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login);

}
}


activity_signup.xml:




android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="24dp" android:text="Sign Up" android:textSize="30sp" />


android:id="@+id/signUpEmail" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="Email" android:textColor="#ff00"
android:inputType="textEmailAddress" />


android:id="@+id/signUpPassword" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:hint="Password" android:textColor="#ff00"
android:inputType="textPassword" />
android:id="@+id/signUpConfirmPassword" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:hint="Confirm Password" android:textColor="#ff00"
android:inputType="textPassword" />



Download 493,26 Kb.
1   2   3   4




Download 493,26 Kb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Guruh: 653-21 Nazariy qism: Layout turlari va ular haqida qisqa ma’lumot

Download 493,26 Kb.