Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.  
  7.     android:background="@drawable/bacground"
  8.     tools:context="com.example.navigate.potehki_v01.MainActivity"
  9.     android:weightSum="1">
  10.  
  11.  
  12.     <ImageView
  13.         android:layout_width="wrap_content"
  14.         android:layout_height="wrap_content"
  15.         android:id="@+id/cat"
  16.         android:clickable="true"
  17.         android:background="@drawable/cat"
  18.         android:layout_alignParentTop="true"
  19.         android:layout_alignParentLeft="true"
  20.         android:layout_alignParentStart="true"
  21.         android:layout_marginLeft="35dp"
  22.         android:layout_marginStart="35dp"
  23.         android:layout_marginTop="104dp" />
  24.  
  25.     <ImageView
  26.         android:layout_width="wrap_content"
  27.         android:layout_height="wrap_content"
  28.         android:id="@+id/cow"
  29.         android:clickable="true"
  30.         android:background="@drawable/cow"
  31.         android:layout_marginLeft="29dp"
  32.         android:layout_marginStart="29dp"
  33.         android:layout_alignTop="@+id/cat"
  34.         android:layout_toRightOf="@+id/cat"
  35.         android:layout_toEndOf="@+id/cat" />
  36.  
  37.     <ImageView
  38.         android:layout_width="wrap_content"
  39.         android:layout_height="wrap_content"
  40.         android:id="@+id/elifan"
  41.         android:clickable="true"
  42.         android:background="@drawable/elifan"
  43.         android:layout_marginLeft="34dp"
  44.         android:layout_marginStart="34dp"
  45.         android:layout_alignTop="@+id/cow"
  46.         android:layout_toRightOf="@+id/cow"
  47.         android:layout_toEndOf="@+id/cow" />
  48.  
  49.     <ImageView
  50.         android:layout_width="wrap_content"
  51.         android:layout_height="wrap_content"
  52.         android:id="@+id/fox"
  53.         android:background="@drawable/fox"
  54.         android:clickable="true"
  55.         android:layout_alignTop="@+id/elifan"
  56.         android:layout_toRightOf="@+id/elifan"
  57.         android:layout_toEndOf="@+id/elifan"
  58.         android:layout_marginLeft="41dp"
  59.         android:layout_marginStart="41dp" />
  60.  
  61.     <ImageView
  62.         android:layout_width="wrap_content"
  63.         android:layout_height="wrap_content"
  64.         android:id="@+id/owl"
  65.         android:background="@drawable/owl"
  66.         android:clickable="true"
  67.         android:layout_marginTop="33dp"
  68.         android:layout_below="@+id/cat"
  69.         android:layout_alignRight="@+id/cow"
  70.         android:layout_alignEnd="@+id/cow"
  71.         android:layout_marginRight="56dp"
  72.         android:layout_marginEnd="56dp" />
  73.  
  74.     <ImageView
  75.         android:layout_width="wrap_content"
  76.         android:layout_height="wrap_content"
  77.         android:id="@+id/piglet"
  78.         android:background="@drawable/piglet"
  79.         android:clickable="true"
  80.         android:layout_alignTop="@+id/owl"
  81.         android:layout_centerHorizontal="true" />
  82.  
  83.     <ImageView
  84.         android:layout_width="wrap_content"
  85.         android:layout_height="wrap_content"
  86.         android:id="@+id/rebit"
  87.         android:background="@drawable/rebit"
  88.         android:clickable="true"
  89.         android:layout_alignTop="@+id/piglet"
  90.         android:layout_toRightOf="@+id/elifan"
  91.         android:layout_toEndOf="@+id/elifan" />
  92.  
  93.     <ImageView
  94.         android:layout_width="wrap_content"
  95.         android:layout_height="wrap_content"
  96.         android:id="@+id/settings"
  97.         android:background="@drawable/settings"
  98.         android:clickable="true"
  99.         android:layout_below="@+id/rebit"
  100.         android:layout_alignParentRight="true"
  101.         android:layout_alignParentEnd="true" />
  102. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement