Advertisement
Baru_Berbagi

activity_main.xml

Jun 20th, 2021
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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.    android:orientation="vertical"
  7.    android:background="#424141"
  8.    tools:context=".MainActivity">
  9.  
  10. <RelativeLayout
  11.    android:layout_width="match_parent"
  12.    android:layout_height="match_parent">
  13.  
  14.    <ImageView
  15.       android:id="@+id/b_kompass"
  16.       android:src="@drawable/b_compass"
  17.       android:layout_width="400dp"
  18.       android:layout_height="400dp"
  19.       android:paddingTop="12dp"
  20.       android:layout_centerInParent="true"/>
  21.  
  22.    <ImageView
  23.       android:id="@+id/kompass"
  24.       android:layout_width="300dp"
  25.       android:layout_height="300dp"
  26.       android:layout_centerInParent="true"
  27.       android:src="@drawable/compass" />
  28.  
  29. </RelativeLayout>
  30.  
  31. </LinearLayout>
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement