Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.constraint.Guideline
- android:id="@+id/guideline"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.5" />
- <TextView
- android:id="@+id/textView01"
- android:ems="10"
- android:text="Waluta"
- android:textSize="32dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- />
- <RadioGroup
- android:id="@+id/radioGroup01"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/textView01"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@id/guideline"
- >
- <RadioButton
- android:id="@+id/radioButton01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="PLN"
- android:textSize="25sp"
- android:checked="true"
- />
- <RadioButton
- android:id="@+id/radioButton02"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="EURO"
- android:textSize="25sp"
- android:checked="true"
- />
- <RadioButton
- android:id="@+id/radioButton03"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="DOLLARS"
- android:textSize="25sp"
- android:checked="true"
- />
- </RadioGroup>
- <RadioGroup
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/radioGroup02"
- app:layout_constraintTop_toBottomOf="@id/textView01"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintLeft_toLeftOf="@id/guideline"
- >
- <RadioButton
- android:id="@+id/radioButton04"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="PLN"
- android:textSize="25sp"
- />
- <RadioButton
- android:id="@+id/radioButton05"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="EURO"
- android:textSize="25sp"
- />
- <RadioButton
- android:id="@+id/radioButton06"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="DOLLARS"
- android:textSize="25sp"
- />
- </RadioGroup>
- <EditText
- android:id="@+id/editText01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ems="10"
- android:text="0"
- android:textSize="32dp"
- app:layout_constraintTop_toBottomOf="@id/radioGroup02"/>
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintTop_toBottomOf="@id/editText01"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- android:text="licz"
- android:textSize="32dp"
- android:onClick="zmianaWaluty"
- />
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement