main_activity.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:orientation="vertical" android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:orientation="vertical">
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="horizontal">
  14. <ImageView
  15. android:id="@+id/ivCall"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_gravity="center"
  19. android:src="@android:drawable/sym_action_call" />
  20. <TextView
  21. android:layout_width="wrap_content"
  22. android:layout_height="match_parent"
  23. android:text="Call"
  24. android:textSize="42px"
  25. android:gravity="center"
  26. android:layout_marginLeft="5dp"/>
  27. <View
  28. android:layout_width="0dp"
  29. android:layout_height="match_parent"
  30. android:layout_weight="8"/>
  31. <ToggleButton
  32. android:id="@+id/tbCall"
  33. android:text="ToggleButton"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="center"
  37. android:layout_weight="1"/>
  38. </LinearLayout>
  39. <LinearLayout
  40. android:id="@+id/llCall"
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:orientation="vertical">
  44. <TextView
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:text="Nb blink : "/>
  48. <com.sylvrec.incallsms.UI.StarRateView
  49. android:id="@+id/StarRateCall"
  50. android:layout_width="match_parent"
  51. android:layout_height="30dp"/>
  52. </LinearLayout>
  53. </LinearLayout>
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:layout_marginTop="72px"
  58. android:orientation="vertical">
  59. <LinearLayout
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:orientation="horizontal">
  63. <ImageView
  64. android:id="@+id/ivSMS"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_gravity="center"
  68. android:src="@android:drawable/sym_action_chat" />
  69. <TextView
  70. android:layout_width="wrap_content"
  71. android:layout_height="match_parent"
  72. android:text="SMS"
  73. android:textSize="42px"
  74. android:gravity="center"
  75. android:layout_marginLeft="5dp"/>
  76. <View
  77. android:layout_width="0dp"
  78. android:layout_height="match_parent"
  79. android:layout_weight="8"/>
  80. <ToggleButton
  81. android:id="@+id/tbSms"
  82. android:text="ToggleButton"
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:layout_gravity="center"
  86. android:layout_weight="1"/>
  87. </LinearLayout>
  88. <LinearLayout
  89. android:id="@+id/llSms"
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:orientation="vertical">
  93. <TextView
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:text="Nb blink : "/>
  97. <com.sylvrec.incallsms.UI.StarRateView
  98. android:id="@+id/StarRateSms"
  99. android:layout_width="match_parent"
  100. android:layout_height="30dp"/>
  101. </LinearLayout>
  102. </LinearLayout>
  103. <LinearLayout
  104. android:layout_width="match_parent"
  105. android:layout_height="wrap_content"
  106. android:layout_marginTop="72px"
  107. android:orientation="vertical">
  108. <LinearLayout
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:orientation="horizontal">
  112. <ImageView
  113. android:id="@+id/ivMMS"
  114. android:layout_width="wrap_content"
  115. android:layout_height="wrap_content"
  116. android:layout_gravity="center"
  117. android:src="@android:drawable/sym_action_email" />
  118. <TextView
  119. android:layout_width="wrap_content"
  120. android:layout_height="match_parent"
  121. android:text="MMS"
  122. android:textSize="42px"
  123. android:gravity="center"
  124. android:layout_marginLeft="5dp"/>
  125. <View
  126. android:layout_width="0dp"
  127. android:layout_height="match_parent"
  128. android:layout_weight="8"/>
  129. <ToggleButton
  130. android:id="@+id/tbMms"
  131. android:text="ToggleButton"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_gravity="center"
  135. android:layout_weight="1"/>
  136. </LinearLayout>
  137. <LinearLayout
  138. android:id="@+id/llMms"
  139. android:layout_width="match_parent"
  140. android:layout_height="wrap_content"
  141. android:orientation="vertical">
  142. <TextView
  143. android:layout_width="match_parent"
  144. android:layout_height="wrap_content"
  145. android:text="Nb blink : "/>
  146. <com.sylvrec.incallsms.UI.StarRateView
  147. android:id="@+id/StarRateMms"
  148. android:layout_width="match_parent"
  149. android:layout_height="30dp"/>
  150. </LinearLayout>
  151. </LinearLayout>
  152. <View
  153. android:layout_width="match_parent"
  154. android:layout_height="25dp"/>
  155. <com.sylvrec.incallsms.UI.TextViewPlus
  156. android:layout_height="wrap_content"
  157. android:layout_width="match_parent"
  158. app:TextHtml="@string/notice"/>
  159. </LinearLayout>