diff options
author | Kevin Li <kevin.li@mapbox.com> | 2018-12-12 09:15:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 09:15:55 +0800 |
commit | 2d527c2af7224d03429b8b2ccb7c1712e8ffe12b (patch) | |
tree | 726936aeda5c6b1be1106c52f1a9de47238de6d4 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml | |
parent | d812babecd8cfa31e6198bdd83d28e2f80fd240f (diff) | |
download | qtlocation-mapboxgl-2d527c2af7224d03429b8b2ccb7c1712e8ffe12b.tar.gz |
[Android] Add setPreferredFramesPerSecond for MapView (#13498)
* [Android] Add setPreferredFramesPerSecond for MapView
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml index 2779ad7a08..1b185ab9c8 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_debug_mode.xml @@ -71,6 +71,29 @@ app:layout_anchor="@id/bottom_sheet" app:layout_anchorGravity="bottom|end"/> + <Button + android:id="@+id/fps_60" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end|start" + app:backgroundTint="@color/primary" + android:layout_margin="@dimen/fab_margin" + android:text="@string/fps60" + app:layout_anchor="@id/bottom_sheet" + app:layout_anchorGravity="top|end"/> + + <Button + android:id="@+id/fps_30" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="top|end" + android:layout_marginBottom="82dp" + app:backgroundTint="@color/primary" + android:layout_marginEnd="@dimen/fab_margin" + android:layout_marginRight="@dimen/fab_margin" + android:text="@string/fps30" + app:layout_anchor="@id/fps_60" + app:layout_anchorGravity="top"/> </android.support.design.widget.CoordinatorLayout> <android.support.design.widget.NavigationView |