Advertisement
Diaxon

Untitled

Sep 21st, 2023
1,275
0
99 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.71 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:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:background="#beb7a4"
  8.    tools:context=".MainActivity">
  9.  
  10.     <TextView
  11.        android:id="@+id/textView"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_marginTop="32dp"
  15.        android:text="Android studio nie jest spoko πŸ‘"
  16.        android:textColor="#F0F0F0"
  17.  
  18.  
  19.        android:textSize="22sp"
  20.        app:layout_constraintBottom_toBottomOf="parent"
  21.        app:layout_constraintEnd_toEndOf="parent"
  22.        app:layout_constraintStart_toStartOf="parent"
  23.        app:layout_constraintTop_toTopOf="parent" />
  24.  
  25.     <ImageView
  26.        android:layout_marginTop="32dp"
  27.        android:id="@+id/imageView"
  28.        android:layout_width="64dp"
  29.        android:layout_height="64dp"
  30.        app:layout_constraintEnd_toEndOf="parent"
  31.        app:layout_constraintStart_toStartOf="parent"
  32.        app:srcCompat="@drawable/butterfly"
  33.        tools:layout_editor_absoluteY="68dp" />
  34.  
  35.     <androidx.constraintlayout.widget.ConstraintLayout
  36.        android:layout_width="409dp"
  37.        android:layout_height="332dp"
  38.        android:layout_marginTop="32dp"
  39.        android:background="#0000ff"
  40.        app:layout_constraintTop_toBottomOf="@+id/textView"
  41.        tools:layout_editor_absoluteX="1dp">
  42.  
  43.     </androidx.constraintlayout.widget.ConstraintLayout>
  44.  
  45. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement