task.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. Copyright (C) 2017 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!-- NOTE! don't add dimensions for margins / paddings / sizes that change per orientation to this
  14. file, they need to be loaded at runtime. -->
  15. <com.android.quickstep.views.TaskView
  16. xmlns:android="http://schemas.android.com/apk/res/android"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:clipChildren="false"
  20. android:defaultFocusHighlightEnabled="false"
  21. android:focusable="true">
  22. <com.android.quickstep.views.TaskThumbnailView
  23. android:id="@+id/snapshot"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"/>
  26. <com.android.quickstep.views.IconView
  27. android:id="@+id/icon"
  28. android:layout_width="@dimen/task_thumbnail_icon_size"
  29. android:layout_height="@dimen/task_thumbnail_icon_size"
  30. android:focusable="false"
  31. android:importantForAccessibility="no"/>
  32. </com.android.quickstep.views.TaskView>