summaryrefslogtreecommitdiffstats
path: root/samples/ApiDemos
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-02-20 12:22:17 +0100
committerAdrian Roos <roosa@google.com>2018-02-20 12:22:17 +0100
commit9f8d264a844d9bbc82f8dc1353784d866fc239af (patch)
tree7d7b913f0815b4694ad2dcb7a159d1d87f05abd1 /samples/ApiDemos
parent71fc3601bd9a412fa7aa1f3f4c0853d245169dfb (diff)
downloadandroid_development-9f8d264a844d9bbc82f8dc1353784d866fc239af.tar.gz
android_development-9f8d264a844d9bbc82f8dc1353784d866fc239af.tar.bz2
android_development-9f8d264a844d9bbc82f8dc1353784d866fc239af.zip
Follow-up to I205cdc00533b19be46c7837012a96705c7a4a62f
Test: mmm development/samples/ApiDemos Change-Id: I3794c3c94785c4de3b130201ff70d05dbe792256
Diffstat (limited to 'samples/ApiDemos')
-rw-r--r--samples/ApiDemos/res/layout/picture_in_picture.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/ApiDemos/res/layout/picture_in_picture.xml b/samples/ApiDemos/res/layout/picture_in_picture.xml
index 096ee3cf8..2f333ac8a 100644
--- a/samples/ApiDemos/res/layout/picture_in_picture.xml
+++ b/samples/ApiDemos/res/layout/picture_in_picture.xml
@@ -15,18 +15,18 @@
~ limitations under the License.
-->
-<!-- Demonstrates implementation of a DeviceAdmin. -->
-
+<!-- Demonstrates implementation of picture-in-picture. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:padding="4dip"
+ android:orientation="vertical"
+ android:padding="4dp"
android:gravity="center_horizontal"
- android:layout_width="match_parent" android:layout_height="match_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/enter_pip"
android:text="@string/enter_picture_in_picture">
-
</Button>
</LinearLayout>