summaryrefslogtreecommitdiffstats
path: root/tests/JobSchedulerTestApp/res
diff options
context:
space:
mode:
Diffstat (limited to 'tests/JobSchedulerTestApp/res')
-rw-r--r--tests/JobSchedulerTestApp/res/layout/activity_main.xml14
-rw-r--r--tests/JobSchedulerTestApp/res/values/strings.xml2
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/JobSchedulerTestApp/res/layout/activity_main.xml b/tests/JobSchedulerTestApp/res/layout/activity_main.xml
index d3429ff..96e1641 100644
--- a/tests/JobSchedulerTestApp/res/layout/activity_main.xml
+++ b/tests/JobSchedulerTestApp/res/layout/activity_main.xml
@@ -141,6 +141,20 @@
android:id="@+id/checkbox_idle"
android:text="@string/idle_mode_text"/>
</LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/persisted_caption"
+ android:layout_marginRight="15dp"/>
+ <CheckBox
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/checkbox_persisted"
+ android:text="@string/persisted_mode_text"/>
+ </LinearLayout>
</LinearLayout>
<Button
diff --git a/tests/JobSchedulerTestApp/res/values/strings.xml b/tests/JobSchedulerTestApp/res/values/strings.xml
index eebfb19..90dd2b6 100644
--- a/tests/JobSchedulerTestApp/res/values/strings.xml
+++ b/tests/JobSchedulerTestApp/res/values/strings.xml
@@ -27,6 +27,7 @@ limitations under the License.
<string name="charging_caption">Charging:</string>
<string name="charging_text">Requires device plugged in.</string>
<string name="idle_caption">Idle:</string>
+ <string name="persisted_caption">Persisted:</string>
<string name="constraints">Constraints</string>
<string name="connectivity">Connectivity:</string>
<string name="any">Any</string>
@@ -34,4 +35,5 @@ limitations under the License.
<string name="timing">Timing:</string>
<string name="delay">Delay:</string>
<string name="deadline">Deadline:</string>
+ <string name="persisted_mode_text">Persisted:</string>
</resources>