Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

How to Build a Number Shapes Android App in Android Studio?

0

xml model="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout

    android:layout_width="match_parent"

    android:layout_height="match_parent"

    android:background="#E3B5B5"

    instruments:context=".MainActivity">

    <TextView

        android:id="@+id/textView2"

        android:layout_width="279dp"

        android:layout_height="51dp"

        android:textual content="Number Shapes"

        android:textColor="#29629A"

        android:textSize="36sp"

        android:textStyle="daring"

        app:layout_constraintBottom_toBottomOf="dad or mum"

        app:layout_constraintHorizontal_bias="0.592"

        app:layout_constraintLeft_toLeftOf="dad or mum"

        app:layout_constraintRight_toRightOf="dad or mum"

        app:layout_constraintTop_toTopOf="dad or mum"

        app:layout_constraintVertical_bias="0.08" />

    <TextView

        android:id="@+id/textView"

        android:layout_width="338dp"

        android:layout_height="47dp"

        android:textual content="Enter a quantity to examine it's triangular,sq.,each or neither."

        android:textColor="#303F9F"

        android:textSize="20sp"

        app:layout_constraintBottom_toBottomOf="dad or mum"

        app:layout_constraintEnd_toEndOf="dad or mum"

        app:layout_constraintHorizontal_bias="1.0"

        app:layout_constraintStart_toStartOf="dad or mum"

        app:layout_constraintTop_toBottomOf="@+id/textView2"

        app:layout_constraintVertical_bias="0.056" />

    <EditText

        android:id="@+id/editTextNumber"

        android:layout_width="0dp"

        android:layout_height="wrap_content"

        android:ems="10"

        android:trace="Enter Number"

        android:inputType="quantity"

        app:layout_constraintBottom_toBottomOf="dad or mum"

        app:layout_constraintEnd_toEndOf="dad or mum"

        app:layout_constraintHorizontal_bias="0.0"

        app:layout_constraintStart_toStartOf="dad or mum"

        app:layout_constraintTop_toBottomOf="@+id/textView"

        app:layout_constraintVertical_bias="0.097" />

    <Button

        android:id="@+id/button"

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:onClick="examineNumber"

        android:textual content="Check Number"

        app:layout_constraintBottom_toBottomOf="dad or mum"

        app:layout_constraintEnd_toEndOf="dad or mum"

        app:layout_constraintStart_toStartOf="dad or mum"

        app:layout_constraintTop_toBottomOf="@+id/editTextNumber"

        app:layout_constraintVertical_bias="0.153" />

androidx.constraintlayout.widget.ConstraintLayout>

Leave A Reply

Your email address will not be published.