Advertisement
Guest User

Untitled

a guest
Nov 29th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 1.56 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:id="@+id/activity_main"
  5.     android:layout_width="match_parent"
  6.     android:layout_height="match_parent"
  7.     android:paddingBottom="@dimen/activity_vertical_margin"
  8.     android:paddingLeft="@dimen/activity_horizontal_margin"
  9.     android:paddingRight="@dimen/activity_horizontal_margin"
  10.     android:paddingTop="@dimen/activity_vertical_margin"
  11.     tools:context="exceptionbound.com.gpslocation.MainActivity">
  12.  
  13.     <ScrollView
  14.         android:layout_width="match_parent"
  15.         android:layout_height="wrap_content"
  16.         android:layout_alignParentEnd="true"
  17.         android:layout_alignParentRight="true"
  18.         android:layout_below="@+id/button">
  19.  
  20.         <TextView
  21.             android:id="@+id/textView"
  22.             android:layout_width="match_parent"
  23.             android:layout_height="wrap_content"
  24.             android:layout_alignParentLeft="true"
  25.             android:layout_alignParentStart="true"
  26.             android:layout_below="@+id/button"
  27.             android:gravity="center"
  28.             android:text="Coordinates: "
  29.             android:textSize="30sp" />
  30.     </ScrollView>
  31.  
  32.  
  33.     <Button
  34.         android:id="@+id/button"
  35.         android:layout_width="wrap_content"
  36.         android:layout_height="wrap_content"
  37.         android:layout_centerHorizontal="true"
  38.         android:layout_centerVertical="true"
  39.         android:text="Request Location" />
  40.  
  41.  
  42. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement