diff options
author | Brian Muramatsu <btmura@google.com> | 2012-09-17 23:09:35 -0700 |
---|---|---|
committer | Brian Muramatsu <btmura@google.com> | 2012-09-18 11:46:35 -0700 |
commit | a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893 (patch) | |
tree | f592d5156743263014dad2eeec1850b005911693 /res/layout | |
parent | 64c6ee20bae6cbf868ec4a0a3ffc7ce6fd10bdd6 (diff) | |
download | packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.zip packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.gz packages_apps_Settings-a6dbaea2dacaaef7c91f89aae8d5f1ed7580b893.tar.bz2 |
Add optional regulatory info page
Bug 7081675
If R.bools.config_show_regulatory_info is true, then show a "Regulatory
information" item on the "About phone" page. Show a DialogFragment
displaying the regulatory_info drawable if the item is clicked. Add a
1x1 blank regulatory_info drawable for devices that won't show this.
Change-Id: I5823d8969de038becf4911dce893dab5dbb23537
Diffstat (limited to 'res/layout')
-rwxr-xr-x | res/layout/regulatory_info.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/res/layout/regulatory_info.xml b/res/layout/regulatory_info.xml new file mode 100755 index 0000000..e4999a4 --- /dev/null +++ b/res/layout/regulatory_info.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:src="@drawable/regulatory_info"/> |