Skip to content

Instantly share code, notes, and snippets.

@xuhaibahmad
Last active March 30, 2020 07:34
Show Gist options
  • Save xuhaibahmad/0ecbc5fcff61071105f53f81c35a30d4 to your computer and use it in GitHub Desktop.
Save xuhaibahmad/0ecbc5fcff61071105f53f81c35a30d4 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<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">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/etMarks"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/hint_enter_your_marks"
...
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvGrade"
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:text="Your Grade Is: A"
...
/>
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btSubmit"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/submit"
...
/>
</androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment