SHARE
TWEET

XML pastebin activity

a guest Apr 10th, 2019 79 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:id="@+id/relativeLayout"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:background="@color/backgroundMain"
  9.    tools:context=".MainActivity">
  10.  
  11.     <ImageView
  12.        android:id="@+id/imageView"
  13.        android:layout_width="wrap_content"
  14.        android:layout_height="wrap_content"
  15.        android:layout_marginStart="2sp"
  16.        android:layout_marginTop="2sp"
  17.        android:layout_marginEnd="2sp"
  18.        android:layout_marginBottom="2sp"
  19.        android:clickable="true"
  20.        android:onClick="loadBasicActivity"
  21.        android:paddingLeft="15sp"
  22.        android:paddingRight="15sp"
  23.        android:scaleType="centerInside"
  24.        app:layout_constraintEnd_toEndOf="parent"
  25.        app:layout_constraintStart_toStartOf="parent"
  26.        app:layout_constraintTop_toTopOf="parent"
  27.        app:srcCompat="@drawable/zhr_background" />
  28.  
  29.     <ImageView
  30.        android:id="@+id/imageView2"
  31.        android:layout_width="wrap_content"
  32.        android:layout_height="wrap_content"
  33.        android:layout_marginStart="308sp"
  34.        android:layout_marginTop="504sp"
  35.        android:foregroundGravity="right"
  36.        android:padding="1sp"
  37.        app:layout_constraintStart_toStartOf="parent"
  38.        app:layout_constraintTop_toTopOf="parent"
  39.        app:srcCompat="@drawable/harclogo" />
  40.  
  41.     <ImageView
  42.        android:id="@+id/imageView3"
  43.        android:layout_width="58sp"
  44.        android:layout_height="55sp"
  45.        android:layout_marginTop="332sp"
  46.        app:layout_constraintStart_toStartOf="parent"
  47.        app:layout_constraintTop_toTopOf="parent"
  48.        app:srcCompat="@drawable/zhr" />
  49.  
  50.     <TextView
  51.        android:id="@+id/textView2"
  52.        android:layout_width="336sp"
  53.        android:layout_height="39sp"
  54.        android:layout_marginStart="56sp"
  55.        android:layout_marginTop="340sp"
  56.        android:autoLink="all|phone"
  57.        android:paddingLeft="4sp"
  58.        android:paddingTop="4sp"
  59.        android:paddingRight="4sp"
  60.        android:text="@string/textView1"
  61.        android:textAlignment="center"
  62.        android:textColor="@color/textView1Color"
  63.        android:textDirection="inherit"
  64.        android:textSize="19sp"
  65.        app:autoSizeMaxTextSize="30sp"
  66.        app:autoSizeMinTextSize="10sp"
  67.        app:layout_constraintStart_toStartOf="parent"
  68.        app:layout_constraintTop_toTopOf="parent" />
  69.  
  70. </android.support.constraint.ConstraintLayout>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top