| 4 | tools:ignore="RtlHardcoded" |
| 5 | android:layout_width="match_parent" |
| 6 | android:layout_height="128dip" |
| 7 | android:background="@drawable/call_notification_bg"> |
| 8 |
| 9 | <ImageView |
| 10 | android:id="@+id/photo" |
| 11 | android:layout_width="42dip" |
| 12 | android:layout_height="42dip" |
| 13 | android:layout_marginTop="20dip" |
| 14 | android:layout_marginLeft="20dip" |
| 15 | android:layout_alignParentTop="true" |
| 16 | android:layout_alignParentLeft="true" |
| 17 | android:layerType="hardware" |
| 18 | tools:src="#0f0"/> |
| 19 |
| 20 | <ImageView |
| 21 | android:id="@+id/icon" |
| 22 | android:layout_width="16dip" |
| 23 | android:layout_height="16dip" |
| 24 | android:layout_alignBottom="@+id/photo" |
| 25 | android:layout_alignRight="@+id/photo" |
| 26 | android:layout_marginRight="-2dip" |
| 27 | android:layout_marginBottom="-2dip" |
| 28 | android:src="@drawable/call_custom_notification_icon"/> |
| 29 |
| 30 | <LinearLayout |
| 31 | android:id="@+id/text_wrap" |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:layout_toRightOf="@+id/photo" |
| 35 | android:layout_alignTop="@+id/photo" |
| 36 | android:layout_alignBottom="@+id/photo" |
| 37 | android:layout_marginTop="-12dip" |
| 38 | android:layout_marginBottom="-12dip" |
| 39 | android:layout_marginLeft="12dip" |
| 40 | android:layout_marginRight="20dip" |
| 41 | android:gravity="center_vertical|left" |
| 42 | android:orientation="vertical"> |
| 43 |
| 44 | <TextView |
| 45 | android:id="@+id/name" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:textSize="17dip" |
| 49 | android:singleLine="true" |
| 50 | android:ellipsize="end" |
| 51 | android:textColor="#FFF" |
| 52 | android:fontFamily="sans-serif-medium" |
| 53 | android:gravity="left" |
| 54 | tools:text="Wow Such Doge"/> |
| 55 |
| 56 | <TextView |
| 57 | android:id="@+id/title" |
| 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:textSize="14dip" |
| 61 | android:textColor="#FFF" |
| 62 | android:singleLine="true" |
| 63 | android:ellipsize="end" |
| 64 | android:gravity="left" |
| 65 | tools:text="Telegram Call"/> |
| 66 |
| 67 | <TextView |
| 68 | android:id="@+id/subtitle" |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="wrap_content" |
| 71 | android:textSize="14dip" |
| 72 | android:textColor="#6BFFFFFF" |
| 73 | android:singleLine="true" |
| 74 | android:ellipsize="end" |
| 75 | android:gravity="left" |
| 76 | tools:text="to Account Name"/> |
| 77 |
| 78 | </LinearLayout> |
| 79 |
| 80 | <LinearLayout |
| 81 | android:id="@+id/buttons" |
| 82 | android:layout_width="match_parent" |
| 83 | android:layout_height="48.3dip" |
| 84 | android:paddingTop=".3dip" |
| 85 | android:layout_alignParentBottom="true" |
| 86 | android:background="@drawable/call_notification_line" |
| 87 | android:orientation="horizontal"> |
| 88 |
| 89 | <FrameLayout |
| 90 | android:id="@+id/decline_btn" |
| 91 | android:layout_width="0dip" |
| 92 | android:layout_height="match_parent" |
| 93 | android:layout_margin="2dip" |
| 94 | android:background="@drawable/bar_selector_white" |
| 95 | android:layout_weight="1"> |
| 96 |
| 97 | <TextView |
| 98 | android:id="@+id/decline_text" |
| 99 | android:layout_width="wrap_content" |
| 100 | android:layout_height="match_parent" |
| 101 | android:layout_gravity="center" |
| 102 | android:textAllCaps="true" |
| 103 | android:gravity="center" |
| 104 | android:textSize="14dip" |
| 105 | android:textColor="#ef5050" |
| 106 | android:fontFamily="sans-serif-medium" |
| 107 | android:drawableLeft="@drawable/ic_call_notification_decline" |
| 108 | android:drawablePadding="12dip" |
| 109 | tools:text="@string/VoipDeclineCall"/> |
| 110 |
| 111 | </FrameLayout> |
| 112 |
| 113 | <FrameLayout |
| 114 | android:id="@+id/answer_btn" |
| 115 | android:layout_width="0dip" |
| 116 | android:layout_height="match_parent" |
| 117 | android:layout_margin="2dip" |
| 118 | android:background="@drawable/bar_selector_white" |
| 119 | android:layout_weight="1"> |
| 120 |
| 121 | <TextView |
| 122 | android:id="@+id/answer_text" |
| 123 | android:layout_width="wrap_content" |
| 124 | android:layout_height="match_parent" |
| 125 | android:layout_gravity="center" |
| 126 | android:textAllCaps="true" |
| 127 | android:gravity="center" |
| 128 | android:textSize="14dip" |
| 129 | android:textColor="#5ee067" |
| 130 | android:fontFamily="sans-serif-medium" |
| 131 | android:drawableLeft="@drawable/ic_call_notification_answer" |
| 132 | android:drawablePadding="12dip" |
| 133 | tools:text="@string/VoipAnswerCall"/> |
| 134 |
| 135 | </FrameLayout> |
| 136 |
| 137 | </LinearLayout> |
| 138 |
| 139 | <!--LinearLayout |
| 140 | android:id="@+id/group_photos" |
| 141 | android:layout_width="wrap_content" |
| 142 | android:layout_height="wrap_content" |
| 143 | android:orientation="horizontal" |
| 144 | android:layout_alignParentRight="true" |
| 145 | android:layout_marginRight="16dip" |
| 146 | android:layout_marginTop="20dip" |
| 147 | android:layerType="hardware"> |
| 148 |
| 149 | <ImageView |
| 150 | android:id="@+id/group_photo1" |
| 151 | android:layout_width="22dip" |
| 152 | android:layout_height="22dip" |
| 153 | android:layout_marginRight="4dip" |
| 154 | tools:src="#f0f"/> |
| 155 |
| 156 | <ImageView |
| 157 | android:id="@+id/group_photo2" |
| 158 | android:layout_width="22dip" |
| 159 | android:layout_height="22dip" |
| 160 | android:layout_marginRight="4dip" |
| 161 | tools:src="#f0f"/> |
| 162 |
| 163 | <ImageView |
| 164 | android:id="@+id/group_photo3" |
| 165 | android:layout_width="22dip" |
| 166 | android:layout_height="22dip" |
| 167 | android:layout_marginRight="4dip" |
| 168 | tools:src="#f0f"/> |
| 169 |
| 170 | <TextView |
| 171 | android:id="@+id/group_more" |
| 172 | android:layout_width="22dip" |
| 173 | android:layout_height="22dip" |
| 174 | android:layout_marginRight="4dip" |
| 175 | android:gravity="center" |
| 176 | android:textColor="#CFFF" |
| 177 | android:textSize="9dip" |
| 178 | android:fontFamily="sans-serif-condensed" |
| 179 | android:textStyle="bold" |
| 180 | android:background="@drawable/group_call_more_users_circle_thin" |
| 181 | tools:text="+99"/> |
| 182 |
| 183 | </LinearLayout--> |
| 184 |
| 185 | </RelativeLayout> |