diff --git a/samples/ApiDemos/res/layout/fragment_tabs_fragment.xml b/samples/ApiDemos/res/layout/fragment_tabs_fragment.xml
index 89b275712..72dbf60fa 100644
--- a/samples/ApiDemos/res/layout/fragment_tabs_fragment.xml
+++ b/samples/ApiDemos/res/layout/fragment_tabs_fragment.xml
@@ -41,7 +41,7 @@
android:layout_weight="0"/>
diff --git a/samples/ApiDemos/res/layout/progressbar_2.xml b/samples/ApiDemos/res/layout/progressbar_2.xml
index 0c3f63cc4..32e6cddb7 100644
--- a/samples/ApiDemos/res/layout/progressbar_2.xml
+++ b/samples/ApiDemos/res/layout/progressbar_2.xml
@@ -19,21 +19,21 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
-
-
-
-