Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
frag_dialing.xml 3.04 KiB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >

    <cx.ring.views.ClearableEditText
        android:id="@+id/textField"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_marginTop="10dp" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/textField"
        android:layout_alignRight="@+id/textField"
        android:layout_below="@+id/textField" >

        <ImageView
            android:id="@+id/fake_padding"
            android:layout_width="match_parent"
            android:layout_height="30dp"
            android:background="@color/sfl_light_blue" />

        <LinearLayout
            android:id="@+id/keyboard_choice"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/fake_padding"
            android:layout_marginBottom="15dp"
            android:weightSum="100" >

            <Button
                android:id="@+id/numeric_keyboard"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="30"
                android:background="@drawable/item_keyboard_choice_selector"
                android:contentDescription="@string/dial_numeric_pad"
                android:drawableLeft="@drawable/ic_dialpad_white_24dp"
                android:text="123"
                android:textColor="@color/white"
                android:textSize="15sp" />

            <cx.ring.views.CircularImageView
                android:id="@+id/fake_dar_band"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="40"
                android:background="@drawable/item_keyboard_choice_selector" />

            <Button
                android:id="@+id/alphabetic_keyboard"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="30"
                android:background="@drawable/item_keyboard_choice_selector"
                android:contentDescription="@string/dial_alphabetic_pad"
                android:drawableLeft="@drawable/ic_action_keyboard_light"
                android:text="ABC"
                android:textColor="@color/white"
                android:textSize="15sp" />
        </LinearLayout>

        <ImageButton
            android:id="@+id/buttonCall"
            android:layout_width="100dp"
            android:layout_height="100dp"
            android:layout_centerHorizontal="true"
            android:background="@drawable/call_button"
            android:src="@drawable/ic_call_white_24dp" />
    </RelativeLayout>

</RelativeLayout>