migration_cling.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2011 The Android Open Source Project
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:id="@+id/migration_cling"
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:background="#FF009688"
  19. android:baselineAligned="false"
  20. android:gravity="center_vertical" >
  21. <FrameLayout
  22. android:layout_width="0dp"
  23. android:layout_height="match_parent"
  24. android:layout_weight="1" >
  25. <ImageView
  26. android:layout_width="@dimen/cling_migration_bg_size"
  27. android:layout_height="@dimen/cling_migration_bg_size"
  28. android:layout_gravity="center"
  29. android:background="@drawable/bg_migration_cling" />
  30. <ImageView
  31. android:layout_width="@dimen/cling_migration_logo_width"
  32. android:layout_height="@dimen/cling_migration_logo_height"
  33. android:layout_gravity="center"
  34. android:src="@drawable/ic_migration" />
  35. </FrameLayout>
  36. <LinearLayout
  37. android:layout_width="@dimen/cling_migration_content_width"
  38. android:layout_height="wrap_content"
  39. android:layout_marginEnd="@dimen/cling_migration_content_margin"
  40. android:orientation="vertical"
  41. android:paddingLeft="24dp"
  42. android:paddingRight="24dp" >
  43. <TextView
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:paddingBottom="8dp"
  47. android:text="@string/first_run_cling_title"
  48. android:textColor="#E1000000"
  49. android:textSize="34sp" />
  50. <TextView
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:fontFamily="sans-serif-medium"
  54. android:text="@string/migration_cling_title"
  55. android:textColor="#E1000000"
  56. android:textSize="20sp" />
  57. <TextView
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:paddingBottom="24dp"
  61. android:text="@string/migration_cling_description"
  62. android:textColor="#99000000"
  63. android:textSize="16sp" />
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content" >
  67. <Button
  68. android:id="@+id/cling_dismiss_migration_copy_apps"
  69. style="?android:attr/buttonBarButtonStyle"
  70. android:layout_width="0dp"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:fontFamily="sans-serif-medium"
  74. android:text="@string/migration_cling_copy_apps"
  75. android:textColor="#FFFFFFFF"
  76. android:textSize="14sp" />
  77. <Button
  78. android:id="@+id/cling_dismiss_migration_use_default"
  79. style="?android:attr/buttonBarButtonStyle"
  80. android:layout_width="0dp"
  81. android:layout_height="wrap_content"
  82. android:layout_weight="1"
  83. android:fontFamily="sans-serif-medium"
  84. android:text="@string/migration_cling_use_default"
  85. android:textColor="#deFFFFFF"
  86. android:textSize="14sp" />
  87. </LinearLayout>
  88. </LinearLayout>
  89. </LinearLayout>