Advertisement
AnAriyan

compass xml

Mar 4th, 2017
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 1.00 KB | None | 0 0
  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="com.example.ib_internetbasic.myapplication.MainActivity">
  8.  
  9.     <RelativeLayout
  10.        android:layout_width="368dp"
  11.        android:layout_height="495dp"
  12.        tools:layout_editor_absoluteX="8dp"
  13.        tools:layout_editor_absoluteY="8dp">
  14.  
  15.         <ImageView
  16.            android:id="@+id/compass"
  17.            android:layout_width="300dp"
  18.            android:layout_height="300dp"
  19.            android:layout_centerInParent="true"
  20.            android:src="@drawable/compass"
  21.            tools:layout_editor_absoluteX="28dp"
  22.            tools:layout_editor_absoluteY="66dp" />
  23.     </RelativeLayout>
  24.  
  25. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement