diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-06-23 10:36:27 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-06-23 10:37:25 -0700 |
commit | 9314b7c01d932093c730dd39b9b9842d1a56efdb (patch) | |
tree | 0180f3d5bd6c901476d85529fe559f69fbceb612 /res/layout | |
parent | a9d721df781bf4d195eb52bba1f9a3193f7eaad4 (diff) | |
download | android_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.tar.gz android_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.tar.bz2 android_packages_apps_Trebuchet-9314b7c01d932093c730dd39b9b9842d1a56efdb.zip |
Separating double shadow logic for BubbleTextView in a separate subclass
This allows better customization and reuse of the double shadow logic and simplified
various attribute management
Change-Id: I5e277d8399756385452d8bb8c0a0107234a76d34
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/app_icon.xml | 2 | ||||
-rw-r--r-- | res/layout/folder_icon.xml | 2 | ||||
-rw-r--r-- | res/layout/widgets_list_row_view.xml | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/res/layout/app_icon.xml b/res/layout/app_icon.xml index fa6eb8910..52df6949d 100644 --- a/res/layout/app_icon.xml +++ b/res/layout/app_icon.xml @@ -14,4 +14,4 @@ limitations under the License. --> -<com.android.launcher3.BubbleTextView style="@style/BaseIcon.Workspace" /> +<com.android.launcher3.views.DoubleShadowBubbleTextView style="@style/BaseIcon.Workspace" /> diff --git a/res/layout/folder_icon.xml b/res/layout/folder_icon.xml index ccc6b01ea..409374462 100644 --- a/res/layout/folder_icon.xml +++ b/res/layout/folder_icon.xml @@ -20,7 +20,7 @@ android:layout_height="match_parent" android:orientation="vertical" android:focusable="true" > - <com.android.launcher3.BubbleTextView + <com.android.launcher3.views.DoubleShadowBubbleTextView style="@style/BaseIcon.Workspace" android:id="@+id/folder_icon_name" android:focusable="false" diff --git a/res/layout/widgets_list_row_view.xml b/res/layout/widgets_list_row_view.xml index 1062269b1..4cd03ce05 100644 --- a/res/layout/widgets_list_row_view.xml +++ b/res/layout/widgets_list_row_view.xml @@ -42,7 +42,6 @@ android:textColor="?android:attr/textColorPrimary" android:textSize="16sp" android:textAlignment="viewStart" - launcher:customShadows="false" launcher:deferShadowGeneration="true" launcher:iconDisplay="widget_section" launcher:iconSizeOverride="@dimen/widget_section_icon_size" |