StjepanSalkovic

sučelje - govor

Oct 1st, 2025 (edited)
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/main"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    tools:context=".MainActivity">
  9.  
  10.     <TextView
  11.        android:id="@+id/tvPitanje"
  12.        android:layout_width="200dp"
  13.        android:layout_height="162dp"
  14.        android:text="Pitanje"
  15.        app:layout_constraintBottom_toBottomOf="parent"
  16.        app:layout_constraintEnd_toEndOf="parent"
  17.        app:layout_constraintStart_toStartOf="parent"
  18.        app:layout_constraintTop_toTopOf="parent" />
  19.  
  20.     <ImageButton
  21.        android:id="@+id/btnPricaj"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:layout_marginTop="108dp"
  25.        android:contentDescription="slušam..."
  26.        app:layout_constraintEnd_toEndOf="parent"
  27.        app:layout_constraintStart_toStartOf="parent"
  28.        app:layout_constraintTop_toTopOf="parent"
  29.        app:srcCompat="@android:drawable/ic_btn_speak_now" />
  30.  
  31.     <TextView
  32.        android:id="@+id/tvOdgovor"
  33.        android:layout_width="198dp"
  34.        android:layout_height="135dp"
  35.        android:layout_marginTop="92dp"
  36.        android:layout_marginEnd="3dp"
  37.        android:text="Odgovor"
  38.        android:textAlignment="center"
  39.        app:layout_constraintEnd_toEndOf="@+id/tvPitanje"
  40.        app:layout_constraintTop_toBottomOf="@+id/tvPitanje" />
  41.  
  42. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment