Advertisement
Leo1502

activity_main.xml (kocka)

Feb 1st, 2023
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.93 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent">
  9.  
  10.     <ImageView
  11.        android:id="@+id/kocka"
  12.        android:layout_width="250sp"
  13.        android:layout_height="250sp"
  14.        android:layout_centerInParent="true"
  15.        android:contentDescription="@string/kocka"
  16.        android:src="@drawable/one" />
  17.  
  18.     <!--
  19.         - android:src="@drawable/one" <- "/one@" promijeniti u naziv svoje slike kocke (bilo koja od 6 slika)
  20.         - android:contentDescription="@string/kocka" <- u string resursu dodat novi string pod nekim nazivom sa deskripcijom kocke
  21.         - svih 6 slika kocke ubacit pod drawable s imenom po zelji
  22.         - obrisati ovaj komentirani dio koda
  23.     -->
  24.  
  25. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement