Select Git revision
activity_location.xml
activity_location.xml 1.14 KiB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/texture9"
tools:context="com.example.nimal.help.Location">
<TextView
android:id="@+id/LocationShow"
android:layout_width="match_parent"
android:layout_height="261dp"
android:gravity="center"
android:hint="Location will appear here"
android:textSize="20dp"
android:textColorHint="#000000"
android:textStyle="italic"/>
<Button
android:id="@+id/button8"
android:layout_width="120dp"
android:layout_height="50dp"
android:layout_marginTop="60dp"
android:background="#000000"
android:textColor="#E6BE8A"
android:textStyle="bold"
android:layout_marginLeft="130dp"
android:onClick="show_location"
android:text="Show Location" />
</LinearLayout>