Created
December 29, 2022 07:21
-
-
Save erdalkaymak/394fba8e60a96c48c937f70ec1765dd9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <androidx.constraintlayout.widget.ConstraintLayout 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" | |
| tools:context="com.hms.explorehms.keyring.KeyringServiceIntroductionActivity"> | |
| <androidx.appcompat.widget.Toolbar | |
| android:id="@+id/toolbar_keyring_example" | |
| style="@style/ToolbarAppearance.ExploreHMS.Normal" | |
| android:layout_width="0dp" | |
| android:layout_height="?attr/actionBarSize" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintTop_toTopOf="parent" | |
| app:title="@string/title_keyring_example" /> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:gravity="center" | |
| android:orientation="vertical"> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:gravity="center" | |
| android:orientation="horizontal"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:gravity="center" | |
| android:text="ExploreHMS" | |
| android:textAllCaps="false" | |
| android:textColor="@color/black" | |
| android:textSize="30dp" | |
| android:textStyle="bold" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginLeft="30dp" | |
| android:layout_marginTop="30dp" | |
| android:layout_marginRight="30dp" | |
| android:gravity="left" | |
| android:orientation="vertical"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="Username" | |
| android:textAllCaps="false" /> | |
| <EditText | |
| android:id="@+id/edit_username" | |
| style="@style/Widget.AppCompat.EditText" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:paddingTop="10dp" | |
| android:singleLine="true" | |
| android:textSize="16sp" /> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginLeft="30dp" | |
| android:layout_marginTop="30dp" | |
| android:layout_marginRight="30dp" | |
| android:gravity="left" | |
| android:orientation="vertical"> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="Password" | |
| android:textAllCaps="false" /> | |
| <RelativeLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content"> | |
| <EditText | |
| android:id="@+id/edit_password" | |
| style="@style/Widget.AppCompat.EditText" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:inputType="textPassword" | |
| android:paddingTop="10dp" | |
| android:singleLine="true" | |
| android:textSize="16sp" /> | |
| <ImageView | |
| android:id="@+id/show_password" | |
| android:layout_width="20dp" | |
| android:layout_height="20dp" | |
| android:layout_alignParentRight="true" | |
| android:layout_margin="10dp" | |
| android:src="@drawable/eye" /> | |
| </RelativeLayout> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="90dp" | |
| android:gravity="center" | |
| android:orientation="horizontal"> | |
| <Button | |
| android:id="@+id/button_login" | |
| style="@style/ButtonAppearance.ExploreHMS.Normal" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginStart="@dimen/hiad_16_dp" | |
| android:text="Login" /> | |
| <Button | |
| android:id="@+id/button_reset" | |
| style="@style/ButtonAppearance.ExploreHMS.Normal" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginStart="@dimen/hiad_16_dp" | |
| android:text="Reset" /> | |
| </LinearLayout> | |
| </LinearLayout> | |
| </androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment