Merge "Fix up some small resource issues" into nyc-dev

am: e4735a9959

* commit 'e4735a99598bf29847a9f12dd7fae6d7df880bc4':
  Fix up some small resource issues
This commit is contained in:
Adam Lesinski
2016-02-16 18:44:19 +00:00
committed by android-build-merger
4 changed files with 4 additions and 5 deletions

View File

@@ -1190,7 +1190,6 @@
settings are -->
<string name="experimental">Experimental</string>
<string name="save" translatable="false">Save</string>
<string name="qs_customize" translatable="false">Allow long-press customize in Quick Settings</string>
<string name="qs_customize_info" translatable="false">Info</string>
<string name="qs_customize_remove" translatable="false">Remove</string>

View File

@@ -300,7 +300,7 @@
</style>
<style name="TunerPreferenceTheme" parent="@android:style/Theme.Material.Settings">
<item name="@dropdownPreferenceStyle">@style/Preference.DropDown.Material</item>
<item name="dropdownPreferenceStyle">@style/Preference.DropDown.Material</item>
</style>
<style name="TextAppearance.NotificationGuts">

View File

@@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<item format="float" type="raw" name="unselected_scale">1.0</item>
</resources>
<item format="float" type="integer" name="unselected_scale">1.0</item>
</resources>

View File

@@ -47,7 +47,7 @@ public class ViewFocusAnimator implements View.OnFocusChangeListener {
mTargetView.setOnFocusChangeListener(this);
TypedValue out = new TypedValue();
res.getValue(R.raw.unselected_scale, out, true);
res.getValue(R.integer.unselected_scale, out, true);
mUnselectedScale = out.getFloat();
mSelectedScaleDelta = res.getFraction(R.fraction.lb_focus_zoom_factor_medium, 1, 1) -
mUnselectedScale;