Created
June 28, 2022 19:59
-
-
Save iamcodder/41b02de468e77b0df65dede5359450c8 to your computer and use it in GitHub Desktop.
activity_main.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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/login_background" | |
android:gravity="center" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> | |
<androidx.cardview.widget.CardView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:cardCornerRadius="25dp"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_margin="10dp" | |
android:orientation="vertical"> | |
<TextView | |
android:layout_width="300dp" | |
android:layout_height="wrap_content" | |
android:gravity="center" | |
android:paddingTop="10dp" | |
android:paddingBottom="5dp" | |
android:text="Giriş Yap" | |
android:textColor="#000000" | |
android:textSize="30sp" | |
android:textStyle="bold" | |
android:typeface="sans" /> | |
<com.google.android.material.textfield.TextInputLayout | |
android:id="@+id/filledTextField" | |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" | |
android:layout_width="300dp" | |
android:layout_height="wrap_content" | |
android:hint="Kullanıcı Adı" | |
android:padding="10dp"> | |
<com.google.android.material.textfield.TextInputEditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_-@." | |
android:inputType="textFilter|textVisiblePassword|textNoSuggestions" /> | |
</com.google.android.material.textfield.TextInputLayout> | |
<com.google.android.material.textfield.TextInputLayout | |
android:id="@+id/filledTextField2" | |
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" | |
android:layout_width="300dp" | |
android:layout_height="wrap_content" | |
android:hint="Şifre" | |
android:padding="10dp"> | |
<com.google.android.material.textfield.TextInputEditText | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:inputType="textPassword" /> | |
</com.google.android.material.textfield.TextInputLayout> | |
<Button | |
style="@style/Widget.MaterialComponents.Button.OutlinedButton" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_marginTop="10dp" | |
android:layout_marginBottom="15dp" | |
android:text="Şifremi Unuttum" /> | |
</LinearLayout> | |
</androidx.cardview.widget.CardView> | |
<include layout="@layout/btn_login_with_social"/> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment