aboutsummaryrefslogtreecommitdiff
path: root/android/WALT/app/src/main/res/layout/fragment_front_page.xml
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2020-06-20 09:35:31 +0800
committerTai Kuo <taikuo@google.com>2020-06-20 09:35:31 +0800
commitfd6b63bf0db9abab9b06ef993e2ed71442639386 (patch)
tree8ed110108f865a2a738f41806a7fdfe0b3ac2245 /android/WALT/app/src/main/res/layout/fragment_front_page.xml
parentc6fdd9aa345b93fa042cb00518b00c98503c6a0e (diff)
downloadwalt-fd6b63bf0db9abab9b06ef993e2ed71442639386.tar.gz
Merge google/walt
Merge from https://github.com/google/walt.git Bug: 149721303 Bug: 149721109 Test: ./gradlew build -x :app:lint Change-Id: I56e2f506782fbbe01e3bf2489fa3091226a2b5ca Signed-off-by: Tai Kuo <taikuo@google.com>
Diffstat (limited to 'android/WALT/app/src/main/res/layout/fragment_front_page.xml')
-rw-r--r--android/WALT/app/src/main/res/layout/fragment_front_page.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/android/WALT/app/src/main/res/layout/fragment_front_page.xml b/android/WALT/app/src/main/res/layout/fragment_front_page.xml
index ec3a95a..c4fba96 100644
--- a/android/WALT/app/src/main/res/layout/fragment_front_page.xml
+++ b/android/WALT/app/src/main/res/layout/fragment_front_page.xml
@@ -194,6 +194,31 @@
<View style="@style/MenuDivider" />
+ <!-- Accelerometer -->
+ <LinearLayout
+ style="@style/MenuItemStyle"
+ android:onClick="onClickAccelerometer">
+
+ <ImageView
+ style="@style/MenuIconStyle"
+ android:src="@drawable/ic_swap_horiz_black_24dp" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+
+ <TextView
+ style="@style/MenuTextTop"
+ android:text="Accelerometer latency" />
+
+ </LinearLayout>
+ </LinearLayout>
+ <!-- End of Accelerometer -->
+
+ <View style="@style/MenuDivider" />
+
<!-- Settings -->
<LinearLayout
style="@style/MenuItemStyle"