am 1c4dcb03: am 02424dea: am 0011604f: Merge "Clean up settings shortcuts" into mnc-dev

* commit '1c4dcb0315f8a6b5031327af668a6284304d6e88':
  Clean up settings shortcuts
This commit is contained in:
Jason Monk
2015-06-11 21:34:04 +00:00
committed by Android Git Automerger
7 changed files with 117 additions and 14 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@@ -0,0 +1,34 @@
<?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.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="@dimen/shortcut_size"
android:layout_height="@dimen/shortcut_size">
<ImageView
android:layout_width="@dimen/shortcut_size"
android:layout_height="@dimen/shortcut_size"
android:scaleType="fitXY"
android:src="@drawable/shortcut_base" />
<ImageView
android:id="@android:id/icon"
android:layout_width="@dimen/shortcut_size"
android:layout_height="@dimen/shortcut_size"
android:padding="12dp"
android:scaleType="fitXY" />
</RelativeLayout>

View File

@@ -244,4 +244,7 @@
<dimen name="mdm_app_info_height">72dp</dimen>
<dimen name="mdm_app_info_padding_top_bottom">8dp</dimen>
<dimen name="mdm_app_name_padding_left">16dp</dimen>
<dimen name="shortcut_size">40dp</dimen>
<dimen name="badge_size">10dp</dimen>
</resources>