285 lines
11 KiB
XML
285 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 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.
|
|
-->
|
|
|
|
<!-- Buttons to send test broadcasts -->
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView android:id="@+id/message_id_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/message_id_label" />
|
|
|
|
<EditText android:id="@+id/message_id"
|
|
android:layout_width="80dp"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="number" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView android:id="@+id/category_id_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/category_id_label" />
|
|
|
|
<EditText android:id="@+id/category_id"
|
|
android:layout_width="80dp"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="number" />
|
|
|
|
</LinearLayout>
|
|
|
|
<CheckBox android:id="@+id/button_delay_broadcast"
|
|
android:text="@string/button_delay_broadcast"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<CheckBox android:id="@+id/button_additional_lang_broadcast"
|
|
android:text="@string/button_additional_lang_broadcast"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- ETWS Alerts -->
|
|
<Button android:id="@+id/button_etws_earthquake_type"
|
|
android:text="@string/button_etws_earthquake_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusableInTouchMode="true">
|
|
<requestFocus></requestFocus>
|
|
</Button>
|
|
|
|
<Button android:id="@+id/button_etws_tsunami_type"
|
|
android:text="@string/button_etws_tsunami_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_etws_earthquake_tsunami_type"
|
|
android:text="@string/button_etws_earthquake_tsunami_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_etws_other_type"
|
|
android:text="@string/button_etws_other_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_etws_cancel_type"
|
|
android:text="@string/button_etws_cancel_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_etws_test_type"
|
|
android:text="@string/button_etws_test_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- CDMA CMAS Alerts -->
|
|
<Button android:id="@+id/button_cmas_pres_alert"
|
|
android:text="@string/button_cmas_pres_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_cmas_extreme_alert"
|
|
android:text="@string/button_cmas_extreme_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_cmas_severe_alert"
|
|
android:text="@string/button_cmas_severe_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_cmas_amber_alert"
|
|
android:text="@string/button_cmas_amber_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_cmas_monthly_test"
|
|
android:text="@string/button_cmas_monthly_test"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_pres_alert"
|
|
android:text="@string/button_gsm_cmas_pres_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_extreme_alert"
|
|
android:text="@string/button_gsm_cmas_extreme_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_severe_alert"
|
|
android:text="@string/button_gsm_cmas_severe_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_amber_alert"
|
|
android:text="@string/button_gsm_cmas_amber_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_monthly_test"
|
|
android:text="@string/button_gsm_cmas_monthly_test"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_cmas_exercise_test"
|
|
android:text="@string/button_gsm_cmas_exercise_test"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_public_safety_message"
|
|
android:text="@string/button_gsm_public_safety_message"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_state_local_test_alert"
|
|
android:text="@string/button_gsm_state_local_test_alert"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- Other Alerts -->
|
|
<Button android:id="@+id/button_gsm_7bit_type"
|
|
android:text="@string/button_gsm_7bit_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_umts_type"
|
|
android:text="@string/button_gsm_7bit_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_nopadding_type"
|
|
android:text="@string/button_gsm_7bit_nopadding_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_nopadding_umts_type"
|
|
android:text="@string/button_gsm_7bit_nopadding_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_multipage_type"
|
|
android:text="@string/button_gsm_7bit_multipage_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_multipage_umts_type"
|
|
android:text="@string/button_gsm_7bit_multipage_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_with_language_type"
|
|
android:text="@string/button_gsm_7bit_with_language_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_with_language_body_gsm_type"
|
|
android:text="@string/button_gsm_7bit_with_language_body_gsm_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_7bit_with_language_body_umts_type"
|
|
android:text="@string/button_gsm_7bit_with_language_body_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_ucs2_type"
|
|
android:text="@string/button_gsm_ucs2_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_ucs2_umts_type"
|
|
android:text="@string/button_gsm_ucs2_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_ucs2_multipage_umts_type"
|
|
android:text="@string/button_gsm_ucs2_multipage_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_ucs2_with_language_type"
|
|
android:text="@string/button_gsm_ucs2_with_language_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button android:id="@+id/button_gsm_ucs2_with_language_umts_type"
|
|
android:text="@string/button_gsm_ucs2_with_language_umts_type"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|