Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: platform_tools/android/apps/viewer/src/main/res/layout-xlarge-land/activity_main.xml

Issue 2071333002: Keep drawer open in xlarge-land and add float fps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: FPS -> Render time Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <LinearLayout
4 xmlns:android="http://schemas.android.com/apk/res/android"
5 android:orientation="horizontal"
6 android:layout_width="match_parent"
7 android:background="@android:color/darker_gray"
8 android:layout_height="match_parent">
9
10 <!-- The navigation drawer that's always open -->
11 <ListView android:id="@+id/leftDrawer"
12 android:layout_width="240dp"
13 android:layout_height="match_parent"
14 android:layout_gravity="start"
15 android:choiceMode="singleChoice"
16 android:divider="@android:color/transparent"
17 android:dividerHeight="0dp"
18 android:layout_marginRight="5dp"
19 android:background="@android:color/background_light"/>
20
21 <!-- The main content view -->
22 <RelativeLayout
23 android:layout_width="match_parent"
24 android:layout_height="match_parent">
25
26 <!-- We use mainLayout for recreating SurfaceView -->
27 <LinearLayout
28 android:id="@+id/mainLayout"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent">
31 <SurfaceView
32 android:id="@+id/surfaceView"
33 android:layout_width="match_parent"
34 android:layout_height="match_parent"
35 android:layout_centerVertical="true"
36 android:layout_centerHorizontal="true" />
37 </LinearLayout>
38
39 <TextView
40 android:visibility="invisible"
41 android:layout_width="100dp"
42 android:layout_height="wrap_content"
43 android:layout_margin="10dp"
44 android:padding="10dp"
45 android:background="@android:color/holo_blue_dark"
46 android:textColor="@android:color/white"
47 android:text=" 100.000ms"
48 android:id="@+id/fpsFloatText"
49 android:layout_alignParentBottom="true"
50 android:layout_alignParentEnd="true" />
51 </RelativeLayout>
52
53 </LinearLayout>
54
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698