replicant-vendor_cmsdk/samples/externalviews/setkeyguardviewprovider/res/layout/set_keyguard.xml
d34d afa4fef9ee ExtView: Add samples for using KeyguardExternalViews
This adds two samples, samples/externalviews/keyguardviewprovider
which provides an example of creating a third party keyguard component,
and samples/externalviews/setleygiardviewprovider which allows setting
and clearing of the third party keyguard component.

Change-Id: Ia9c564d602f1b6d44953eb05f2ffcf3f44663ece
2015-12-22 15:13:38 -08:00

19 lines
693 B
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/clear_keyguard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btn_clear_keyguard"/>
<Button
android:id="@+id/set_keyguard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btn_set_keyguard"/>
</LinearLayout>