diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-05-24 17:01:35 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-05-24 18:08:29 +0800 |
commit | e0a67508a26a506011d50cb766d2dc317ec5e03c (patch) | |
tree | ce11264ea76b69492f5470701f18796eb4681607 /res/layout-w1024dp/setting_item.xml | |
parent | 6caf641ce069e2e286c5a27062bc536b701ab313 (diff) | |
download | LegacyCamera-e0a67508a26a506011d50cb766d2dc317ec5e03c.zip LegacyCamera-e0a67508a26a506011d50cb766d2dc317ec5e03c.tar.gz LegacyCamera-e0a67508a26a506011d50cb766d2dc317ec5e03c.tar.bz2 |
Fix layout on 1024x600dp devices.
Change sw485dp to w1024dp and w1280dp. The wheel is not flexible
enough to scale according to the size. So w1024dp uses the same
wheel but smaller layout_width.
bug:4473360
Change-Id: I0eef53bd22b3cc0360b2e76fcff02f250ce3cdbf
Diffstat (limited to 'res/layout-w1024dp/setting_item.xml')
-rw-r--r-- | res/layout-w1024dp/setting_item.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/res/layout-w1024dp/setting_item.xml b/res/layout-w1024dp/setting_item.xml new file mode 100644 index 0000000..43e6271 --- /dev/null +++ b/res/layout-w1024dp/setting_item.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2010, 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" + style="@style/SettingRow"> + + <TextView android:id="@+id/text" + style="@style/SettingPickerText" + android:layout_width="267dp" + android:layout_height="match_parent"/> + <ImageView android:id="@+id/image" + android:layout_width="35dp" + android:layout_height="35dp" + android:scaleType="fitCenter" + android:adjustViewBounds="true" /> +</LinearLayout> |