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

Side by Side Diff: webrtc/examples/androidapp/res/layout/fragment_call.xml

Issue 1361083002: Android AppRTCDemo: Add slider for changing camera capture quality during call (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Move programmatic layout changes into fragment_call.xml instead Created 5 years, 2 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
« no previous file with comments | « no previous file | webrtc/examples/androidapp/res/values/strings.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 2
3 <RelativeLayout 3 <RelativeLayout
4 xmlns:android="http://schemas.android.com/apk/res/android" 4 xmlns:android="http://schemas.android.com/apk/res/android"
5 xmlns:tools="http://schemas.android.com/tools" 5 xmlns:tools="http://schemas.android.com/tools"
6 android:layout_width="match_parent" 6 android:layout_width="match_parent"
7 android:layout_height="match_parent"> 7 android:layout_height="match_parent">
8 8
9 <TextView 9 <TextView
10 android:id="@+id/contact_name_call" 10 android:id="@+id/contact_name_call"
11 android:layout_width="wrap_content" 11 android:layout_width="wrap_content"
12 android:layout_height="wrap_content" 12 android:layout_height="wrap_content"
13 android:layout_centerHorizontal="true" 13 android:layout_centerHorizontal="true"
14 android:layout_above="@+id/buttons_call_container" 14 android:layout_above="@+id/buttons_call_container"
15 android:textSize="24sp" 15 android:textSize="24sp"
16 android:layout_margin="8dp"/> 16 android:layout_margin="8dp"/>
17 17
18 <LinearLayout 18 <LinearLayout
19 android:id="@+id/buttons_call_container" 19 android:id="@+id/buttons_call_container"
20 android:orientation="horizontal" 20 android:orientation="horizontal"
21 android:layout_alignParentBottom="true" 21 android:layout_above="@+id/capture_format_text_call"
22 android:layout_alignWithParentIfMissing="true"
22 android:layout_marginBottom="32dp" 23 android:layout_marginBottom="32dp"
23 android:layout_centerHorizontal="true" 24 android:layout_centerHorizontal="true"
24 android:layout_width="wrap_content" 25 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"> 26 android:layout_height="wrap_content">
26 27
27 <ImageButton 28 <ImageButton
28 android:id="@+id/button_call_disconnect" 29 android:id="@+id/button_call_disconnect"
29 android:background="@drawable/disconnect" 30 android:background="@drawable/disconnect"
30 android:contentDescription="@string/disconnect_call" 31 android:contentDescription="@string/disconnect_call"
31 android:layout_marginEnd="16dp" 32 android:layout_marginEnd="16dp"
32 android:layout_width="48dp" 33 android:layout_width="48dp"
33 android:layout_height="48dp"/> 34 android:layout_height="48dp"/>
34 35
35 <ImageButton 36 <ImageButton
36 android:id="@+id/button_call_switch_camera" 37 android:id="@+id/button_call_switch_camera"
37 android:background="@android:drawable/ic_menu_camera" 38 android:background="@android:drawable/ic_menu_camera"
38 android:contentDescription="@string/switch_camera" 39 android:contentDescription="@string/switch_camera"
39 android:layout_marginEnd="8dp" 40 android:layout_marginEnd="8dp"
40 android:layout_width="48dp" 41 android:layout_width="48dp"
41 android:layout_height="48dp"/> 42 android:layout_height="48dp"/>
42 43
43 <ImageButton 44 <ImageButton
44 android:id="@+id/button_call_scaling_mode" 45 android:id="@+id/button_call_scaling_mode"
45 android:background="@drawable/ic_action_return_from_full_screen" 46 android:background="@drawable/ic_action_return_from_full_screen"
46 android:contentDescription="@string/disconnect_call" 47 android:contentDescription="@string/disconnect_call"
47 android:layout_width="48dp" 48 android:layout_width="48dp"
48 android:layout_height="48dp"/> 49 android:layout_height="48dp"/>
49 </LinearLayout> 50 </LinearLayout>
50 51
52 <TextView
53 android:id="@+id/capture_format_text_call"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_centerHorizontal="true"
57 android:layout_above="@+id/capture_format_slider_call"
58 android:textSize="16sp"
59 android:text="Slide to change capture format"/>
60
61 <SeekBar
62 android:id="@+id/capture_format_slider_call"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:layout_centerHorizontal="true"
66 android:layout_alignParentBottom="true"
67 android:progress="50"
68 android:layout_margin="8dp"/>
69
51 </RelativeLayout> 70 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | webrtc/examples/androidapp/res/values/strings.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698