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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/examples/androidapp/res/values/strings.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/androidapp/res/layout/fragment_call.xml
diff --git a/webrtc/examples/androidapp/res/layout/fragment_call.xml b/webrtc/examples/androidapp/res/layout/fragment_call.xml
index 70a9a28197a1ae49378e703507181d3bff9fec77..5d71d73f50d4328ca1937b44bba756a133d1dcea 100644
--- a/webrtc/examples/androidapp/res/layout/fragment_call.xml
+++ b/webrtc/examples/androidapp/res/layout/fragment_call.xml
@@ -18,7 +18,8 @@
<LinearLayout
android:id="@+id/buttons_call_container"
android:orientation="horizontal"
- android:layout_alignParentBottom="true"
+ android:layout_above="@+id/capture_format_text_call"
+ android:layout_alignWithParentIfMissing="true"
android:layout_marginBottom="32dp"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
@@ -48,4 +49,22 @@
android:layout_height="48dp"/>
</LinearLayout>
+ <TextView
+ android:id="@+id/capture_format_text_call"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_above="@+id/capture_format_slider_call"
+ android:textSize="16sp"
+ android:text="Slide to change capture format"/>
+
+ <SeekBar
+ android:id="@+id/capture_format_slider_call"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentBottom="true"
+ android:progress="50"
+ android:layout_margin="8dp"/>
+
</RelativeLayout>
« 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