Index: platform_tools/android/apps/viewer/src/main/res/layout/fps_toggle.xml |
diff --git a/platform_tools/android/apps/viewer/src/main/res/layout/fps_toggle.xml b/platform_tools/android/apps/viewer/src/main/res/layout/fps_toggle.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4463629ab71d510ac8c3712fffcc39ff38acd077 |
--- /dev/null |
+++ b/platform_tools/android/apps/viewer/src/main/res/layout/fps_toggle.xml |
@@ -0,0 +1,23 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:orientation="vertical" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content"> |
+ |
+ <TextView |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_marginTop="10dp" |
+ android:layout_marginLeft="10dp" |
+ android:layout_marginBottom="0dp" |
+ android:textAppearance="?android:attr/textAppearanceLarge" |
+ android:text="@string/float_fps" /> |
+ |
+ <Switch |
+ android:id="@+id/theSwitch" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_marginBottom="10dp" |
+ android:layout_marginLeft="10dp" |
+ android:layout_marginTop="0dp" /> |
+</LinearLayout> |