Advertisement
Guest User

activity_main

a guest
Mar 9th, 2019
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.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.    tools:context=".MainActivity">
  8.  
  9.     <ImageView
  10.        android:id="@+id/imageView"
  11.        android:layout_width="49dp"
  12.        android:layout_height="172dp"
  13.        android:layout_marginStart="8dp"
  14.        android:layout_marginTop="8dp"
  15.        android:layout_marginEnd="8dp"
  16.        android:layout_marginBottom="24dp"
  17.        android:contentDescription="@string/nome_imagem"
  18.        android:src="@drawable/ic_recorder_microphone_svgrepo_com"
  19.        app:layout_constraintBottom_toBottomOf="parent"
  20.        app:layout_constraintEnd_toEndOf="parent"
  21.        app:layout_constraintStart_toStartOf="parent"
  22.        app:layout_constraintTop_toBottomOf="@+id/textView" />
  23.  
  24.     <TextView
  25.        android:id="@+id/textView"
  26.        android:layout_width="wrap_content"
  27.        android:layout_height="wrap_content"
  28.        android:layout_marginStart="8dp"
  29.        android:layout_marginTop="8dp"
  30.        android:layout_marginEnd="8dp"
  31.        android:text="TextView"
  32.        app:layout_constraintEnd_toEndOf="parent"
  33.        app:layout_constraintStart_toStartOf="parent"
  34.        app:layout_constraintTop_toTopOf="parent" />
  35.  
  36. </android.support.constraint.ConstraintLayout>
Advertisement
RAW Paste Data Copied
Advertisement