abc_activity_chooser_view.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. **
  4. ** Copyright 2013, The Android Open Source Project
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. -->
  19. <view xmlns:android="http://schemas.android.com/apk/res/android"
  20. class="android.support.v7.widget.ActivityChooserView$InnerLayout"
  21. android:id="@+id/activity_chooser_view_content"
  22. android:layout_width="wrap_content"
  23. android:layout_height="match_parent"
  24. android:layout_gravity="center"
  25. style="?attr/activityChooserViewStyle">
  26. <FrameLayout
  27. android:id="@+id/expand_activities_button"
  28. android:layout_width="wrap_content"
  29. android:layout_height="match_parent"
  30. android:layout_gravity="center"
  31. android:focusable="true"
  32. android:addStatesFromChildren="true"
  33. android:background="?attr/actionBarItemBackground"
  34. android:paddingTop="2dip"
  35. android:paddingBottom="2dip"
  36. android:paddingLeft="12dip"
  37. android:paddingRight="12dip">
  38. <ImageView android:id="@+id/image"
  39. android:layout_width="32dip"
  40. android:layout_height="32dip"
  41. android:layout_gravity="center"
  42. android:scaleType="fitCenter"
  43. android:adjustViewBounds="true" />
  44. </FrameLayout>
  45. <FrameLayout
  46. android:id="@+id/default_activity_button"
  47. android:layout_width="wrap_content"
  48. android:layout_height="match_parent"
  49. android:layout_gravity="center"
  50. android:focusable="true"
  51. android:addStatesFromChildren="true"
  52. android:background="?attr/actionBarItemBackground"
  53. android:paddingTop="2dip"
  54. android:paddingBottom="2dip"
  55. android:paddingLeft="12dip"
  56. android:paddingRight="12dip">
  57. <ImageView android:id="@id/image"
  58. android:layout_width="32dip"
  59. android:layout_height="32dip"
  60. android:layout_gravity="center"
  61. android:scaleType="fitCenter"
  62. android:adjustViewBounds="true" />
  63. </FrameLayout>
  64. </view>