Fixes: 156301524 Test: # to enable controls component adb shell am start -n com.android.egg.test/com.android.egg.neko.NekoActivationActivity # manual step: activate controls from GlobalActions # to visit the cat list adb shell am start -n com.android.egg.test/com.android.egg.neko.NekoLand # to check on the status of the food bowl job (once # the food bowl control has been tapped) adb shell cmd jobscheduler get-job-state com.android.egg.test 42 # to trigger the food immediately adb shell cmd jobscheduler run com.android.egg.test 42 Change-Id: I985a930bb5dd56d99eb57a340e4affe08c09724b
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under the
|
|
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the specific language governing
|
|
permissions and limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:paddingLeft="4dp" android:paddingRight="4dp"
|
|
android:paddingBottom="6dp" android:paddingTop="6dp">
|
|
<ImageView
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:id="@+id/icon"
|
|
android:tint="?android:attr/colorControlNormal"/>
|
|
<TextView android:layout_width="64dp" android:layout_height="wrap_content"
|
|
android:gravity="top|center_horizontal"
|
|
android:id="@+id/text" />
|
|
</LinearLayout>
|