afa4fef9ee
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
19 lines
693 B
XML
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> |