Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:orientation="vertical"
- android:padding="10dp"
- tools:context=".MainActivity"
- android:focusable="true"
- android:focusableInTouchMode="true">
- <TextView
- android:id="@+id/textView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Podaj swój wzrost i wage aby obliczyć wskaźnik BMI"
- android:textAlignment="center"
- android:textSize="18dp" />
- <TextView
- android:id="@+id/slowo"
- android:layout_width="wrap_content"
- android:layout_height="50dp"
- android:layout_marginTop="10dp"
- android:text="Twoje BMI to:"
- android:textSize="26dp"
- android:visibility="invisible" />
- <TextView
- android:id="@+id/wynik"
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:layout_marginLeft="160dp"
- android:layout_marginTop="-50dp"
- android:gravity="center"
- android:text=""
- android:textSize="26dp" />
- <EditText
- android:id="@+id/wzrost"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ems="10"
- android:hint="wzrost"
- android:inputType="number|numberDecimal"
- android:maxLength="3"
- android:text="" />
- <EditText
- android:id="@+id/waga"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:autofillHints=""
- android:ems="10"
- android:hint="waga"
- android:inputType="number|numberDecimal"
- android:maxLength="5"
- android:text="" />
- <Button
- android:id="@+id/oblicz"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Oblicz BMI"
- android:textSize="22dp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="221dp"
- android:orientation="vertical">
- <EditText
- android:id="@+id/adres"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:autofillHints=""
- android:ems="10"
- android:hint="Wpisz adres" />
- <Button
- android:id="@+id/url2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="POKAŻ" />
- <Button
- android:id="@+id/info"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="POMOC" />
- <Button
- android:id="@+id/wsb"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="WSB" />
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement