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

Unified Diff: webrtc/examples/androidapp/res/layout/activity_connect.xml

Issue 2003983002: UI for AppRTC Android demo that doesn't require Design Support Library (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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
Index: webrtc/examples/androidapp/res/layout/activity_connect.xml
diff --git a/webrtc/examples/androidapp/res/layout/activity_connect.xml b/webrtc/examples/androidapp/res/layout/activity_connect.xml
index acc20dc6a18dd65d579bd06a55a88cef67ff341c..2a80774b72cfd6820bd73d8bb9e6e850797827e8 100644
--- a/webrtc/examples/androidapp/res/layout/activity_connect.xml
+++ b/webrtc/examples/androidapp/res/layout/activity_connect.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_margin="16dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -37,6 +36,13 @@
android:layout_height="48dp"
android:contentDescription="@string/connect_description"
android:background="@android:drawable/sym_action_call" />
+
+ <ImageButton
+ android:id="@+id/add_favorite_button"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:contentDescription="@string/add_favorite_description"
+ android:background="@android:drawable/ic_input_add" />
</LinearLayout>
<TextView
@@ -67,16 +73,5 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/no_favorites" />
-
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/add_favorite_button"
- android:layout_width="56dp"
- android:layout_height="56dp"
- android:layout_margin="8dp"
- android:layout_gravity="bottom|end"
- android:src="@drawable/ic_add_white_24dp"
- android:contentDescription="@string/add_favorite_description"
- app:backgroundTint="@android:color/holo_green_dark"
- app:elevation="8dp"/>
</FrameLayout>
</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698