Loading packages/Shell/res/layout/dialog_bugreport_info.xml 0 → 100644 +43 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 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"> <EditText android:id="@+id/name" android:maxLength="30" android:singleLine="true" android:inputType="textNoSuggestions" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_name"/> <EditText android:id="@+id/title" android:maxLength="80" android:singleLine="true" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_title"/> <EditText android:id="@+id/description" android:singleLine="false" android:inputType="textMultiLine" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_description"/> </LinearLayout> packages/Shell/res/values/strings.xml +15 −0 Original line number Diff line number Diff line Loading @@ -42,4 +42,19 @@ <!-- Title for bug reports received from dumpstate without a name. [CHAR LIMIT=30]--> <string name="bugreport_unnamed">unnamed</string> <!-- Title of the notification action that opens the dialog for the user-defined bug report details. --> <string name="bugreport_info_action">Details</string> <!-- Title of the dialog asking for user-defined bug report details like name, title, and description. --> <string name="bugreport_info_dialog_title">Bug report details</string> <!-- Text of the hint asking for the bug report name, which when set will define a suffix in the bug report file names. [CHAR LIMIT=30] --> <string name="bugreport_info_name">Short name</string> <!-- Text of hint asking for the bug report title, which when set will define the Subject of the email message. [CHAR LIMIT=60] --> <string name="bugreport_info_title">1-line summary</string> <!-- Text of hint asking for the bug report description, which when set will describe what the bug report is about. [CHAR LIMIT=NONE] --> <string name="bugreport_info_description">Detailed description</string> </resources> Loading
packages/Shell/res/layout/dialog_bugreport_info.xml 0 → 100644 +43 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 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"> <EditText android:id="@+id/name" android:maxLength="30" android:singleLine="true" android:inputType="textNoSuggestions" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_name"/> <EditText android:id="@+id/title" android:maxLength="80" android:singleLine="true" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_title"/> <EditText android:id="@+id/description" android:singleLine="false" android:inputType="textMultiLine" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/bugreport_info_description"/> </LinearLayout>
packages/Shell/res/values/strings.xml +15 −0 Original line number Diff line number Diff line Loading @@ -42,4 +42,19 @@ <!-- Title for bug reports received from dumpstate without a name. [CHAR LIMIT=30]--> <string name="bugreport_unnamed">unnamed</string> <!-- Title of the notification action that opens the dialog for the user-defined bug report details. --> <string name="bugreport_info_action">Details</string> <!-- Title of the dialog asking for user-defined bug report details like name, title, and description. --> <string name="bugreport_info_dialog_title">Bug report details</string> <!-- Text of the hint asking for the bug report name, which when set will define a suffix in the bug report file names. [CHAR LIMIT=30] --> <string name="bugreport_info_name">Short name</string> <!-- Text of hint asking for the bug report title, which when set will define the Subject of the email message. [CHAR LIMIT=60] --> <string name="bugreport_info_title">1-line summary</string> <!-- Text of hint asking for the bug report description, which when set will describe what the bug report is about. [CHAR LIMIT=NONE] --> <string name="bugreport_info_description">Detailed description</string> </resources>