summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml
diff options
context:
space:
mode:
authorCameron Mace <cameron@mapbox.com>2017-01-23 13:27:02 -0500
committerGitHub <noreply@github.com>2017-01-23 13:27:02 -0500
commit9b726441911224e27c0fd001f43dbeeee42e3079 (patch)
tree28916f3e6e408c6808268f4766edd1879cdc6cdf /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml
parent7cf317c08ce89d10a8ac01cd21caf035bfc9dc5e (diff)
downloadqtlocation-mapboxgl-9b726441911224e27c0fd001f43dbeeee42e3079.tar.gz
Test app refactor (#7598)
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml38
1 files changed, 15 insertions, 23 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml
index 434cb59115..d4b64b1ea2 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_offline.xml
@@ -1,52 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/primary"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
+ android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progress_bar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="25dp"
- android:layout_below="@+id/toolbar"
android:indeterminate="true"
- android:visibility="gone" />
+ android:visibility="gone"/>
<com.mapbox.mapboxsdk.maps.MapView
android:id="@id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_below="@+id/progress_bar" />
+ android:layout_below="@+id/progress_bar"/>
<Button
+ android:id="@+id/button_download_region"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/button_download_region"
- android:id="@+id/button_download_region"
- android:layout_margin="@dimen/fab_margin"
+ android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
- android:layout_alignParentBottom="true"
- android:background="@color/white"/>
+ android:layout_margin="@dimen/fab_margin"
+ android:background="@color/white"
+ android:padding="10dp"
+ android:text="@string/button_download_region"/>
<Button
+ android:id="@+id/button_list_regions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/button_list_regions"
- android:id="@+id/button_list_regions"
android:layout_alignBottom="@+id/button_download_region"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/fab_margin"
- android:background="@color/white"/>
+ android:background="@color/white"
+ android:padding="10dp"
+ android:text="@string/button_list_regions"/>
</RelativeLayout>