<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2019 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:paddingTop="0dp"
              android:paddingBottom="0dp"
              android:background="@drawable/call_redirection_dialog_background"
              android:orientation="vertical">

    <ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_gravity="center"
            android:paddingTop="@dimen/call_redirection_dialog_image_upper_margin"
            android:paddingBottom="@dimen/call_redirection_dialog_image_bottom_margin"
            android:tint="@color/call_redirection_dialog_icon_tint_color"
            android:src="@drawable/ic_phone"/>

    <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:paddingBottom="@dimen/call_redirection_dialog_title_bottom_margin"
            android:text="@string/alert_redirect_outgoing_call_or_not"
            android:textColor="@color/call_redirection_dialog_text_color"
            android:textSize="@dimen/call_redirection_dialog_title_font_size"
            android:textStyle="bold"/>

    <View
            android:layout_width="fill_parent"
            android:layout_height="1dp"
            android:background="@color/call_redirection_dialog_view_divider_color"/>

    <Button
            android:id="@+id/buttonFirstLine"
            android:text="@string/alert_place_unredirect_outgoing_call"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="left"
            android:background="@drawable/call_redirection_button_ripple_effect"
            android:paddingTop="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingBottom="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingLeft="@dimen/call_redirection_dialog_button_text_left_margin"
            android:paddingRight="@dimen/call_redirection_dialog_button_text_left_margin"
            android:textColor="@color/call_redirection_dialog_text_color"
            android:textSize="@dimen/call_redirection_dialog_button_font_size"
            android:textAllCaps="false"/>

    <View
            android:layout_width="fill_parent"
            android:layout_height="1dp"
            android:background="@color/call_redirection_dialog_view_divider_color"/>

    <Button
            android:id="@+id/buttonSecondLine"
            android:text="@string/alert_place_outgoing_call_with_redirection"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="left"
            android:background="@drawable/call_redirection_button_ripple_effect"
            android:paddingTop="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingBottom="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingLeft="@dimen/call_redirection_dialog_button_text_left_margin"
            android:textColor="@color/call_redirection_dialog_text_color"
            android:textSize="@dimen/call_redirection_dialog_button_font_size"
            android:textAllCaps="false"/>

    <View
            android:layout_width="fill_parent"
            android:layout_height="1dp"
            android:background="@color/call_redirection_dialog_view_divider_color"/>

    <Button
            android:id="@+id/buttonThirdLine"
            android:text="@string/cancel"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="left"
            android:background="@drawable/call_redirection_button_ripple_effect"
            android:paddingTop="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingBottom="@dimen/call_redirection_dialog_button_text_upper_bottom_margin"
            android:paddingLeft="@dimen/call_redirection_dialog_button_text_left_margin"
            android:paddingRight="@dimen/call_redirection_dialog_button_text_left_margin"
            android:textColor="@color/call_redirection_dialog_text_color"
            android:textSize="@dimen/call_redirection_dialog_button_font_size"
            android:textAllCaps="false"/>

</LinearLayout>