Added a developer option to save attribute data.

After the checkbox for 'Enable view attribute inspection' is checked,
newly constructed Views will save their attribute data.

Change-Id: Ia6d150d0d9991a2341236a9d35055b811038c849
This commit is contained in:
Jon Miranda
2014-08-12 09:08:29 -07:00
parent 0cad779d3e
commit 0b65294a7a
3 changed files with 16 additions and 1 deletions

View File

@@ -3431,6 +3431,8 @@
<string name="allow_mock_location">Allow mock locations</string>
<!-- setting Checkbox summary whether to allow mock locations -->
<string name="allow_mock_location_summary">Allow mock locations</string>
<!-- Setting Checkbox title whether to enable view attribute inspection -->
<string name="debug_view_attributes">Enable view attribute inspection</string>
<!-- Title of warning dialog about the implications of enabling USB debugging -->
<string name="adb_warning_title">Allow USB debugging?</string>
<!-- Warning text to user about the implications of enabling USB debugging -->

View File

@@ -86,6 +86,10 @@
android:title="@string/allow_mock_location"
android:summary="@string/allow_mock_location_summary"/>
<CheckBoxPreference
android:key="debug_view_attributes"
android:title="@string/debug_view_attributes" />
<PreferenceScreen android:key="debug_app"
android:title="@string/debug_app" />