1553 lines
65 KiB
XML
1553 lines
65 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
tools:context=".MainActivity">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:alpha="0.3"
|
|
app:srcCompat="@drawable/osvc_splash" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/callBackground"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorBlack"
|
|
android:visibility="gone">
|
|
|
|
</FrameLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/defaultLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="0dp"
|
|
android:background="#00000000">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/baseButtonLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/callStartBtn"
|
|
android:layout_width="230px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="500px"
|
|
android:layout_marginTop="450px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/callbutton2"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="전화걸기"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<!-- <androidx.appcompat.widget.AppCompatButton-->
|
|
<!-- android:id="@+id/callHistoryBtn"-->
|
|
<!-- android:layout_width="230px"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_marginLeft="850px"-->
|
|
<!-- android:layout_marginTop="450px"-->
|
|
<!-- android:background="@drawable/bg_button_selector"-->
|
|
<!-- android:drawableTop="@drawable/calls_large"-->
|
|
<!-- android:drawablePadding="25px"-->
|
|
<!-- android:focusable="true"-->
|
|
<!-- android:focusableInTouchMode="true"-->
|
|
<!-- android:gravity="center"-->
|
|
<!-- android:padding="16dp"-->
|
|
<!-- android:text="최근통화"-->
|
|
<!-- android:textColor="@color/colorWhite"-->
|
|
<!-- android:textSize="30sp"-->
|
|
<!-- android:textStyle="bold" />-->
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/settingBtn"
|
|
android:layout_width="230px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="1190px"
|
|
android:layout_marginTop="450px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/setting"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="설정"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/header_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:background="@color/colorBaresip"
|
|
android:orientation="horizontal"
|
|
android:visibility="visible">
|
|
|
|
<TextView
|
|
android:id="@+id/textViewHeaderName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:text="OSVC-C220"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/textViewHeaderIp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:text="0.0.0.0"
|
|
android:textAlignment="viewEnd"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="@color/colorBaresip"
|
|
android:elevation="4dp"
|
|
android:visibility="gone"
|
|
app:theme="@style/ActionBar"></androidx.appcompat.widget.Toolbar>
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/header_bar"
|
|
android:fillViewport="true">
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipeRefresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/mainActivityLayout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingBottom="@dimen/activity_vertical_margin">
|
|
|
|
<Spinner
|
|
android:id="@+id/aorSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:background="@color/cardview_shadow_start_color"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:gravity="center_vertical"
|
|
android:popupBackground="@color/colorSpinnerDropdown"
|
|
android:spinnerMode="dropdown" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/callTitleRow"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/aorSpinner"
|
|
android:layout_marginTop="12dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/callTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp"
|
|
android:gravity="start"
|
|
android:paddingStart="3dp"
|
|
android:paddingEnd="0dp"
|
|
android:text="@string/outgoing_call_to_dots"
|
|
android:textSize="24sp"></TextView>
|
|
|
|
<Chronometer
|
|
android:id="@+id/callTimer"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:paddingStart="0dp"
|
|
android:paddingEnd="3dp"
|
|
android:textSize="18sp"
|
|
android:visibility="invisible"></Chronometer>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/uriRow"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/callTitleRow"
|
|
android:orientation="horizontal">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/callUri"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/custom_border"
|
|
android:enabled="false"
|
|
android:hint="@string/callee"
|
|
android:inputType="textEmailAddress"
|
|
android:textColor="#FF000000"
|
|
android:textColorHint="@color/colorSecondaryDark"
|
|
android:textSize="42sp">
|
|
<!-- <requestFocus /> -->
|
|
</AutoCompleteTextView>
|
|
|
|
<ImageButton
|
|
android:id="@+id/securityButton"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="0"
|
|
android:background="#00000000"
|
|
android:contentDescription="@string/app_name_plus"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/diverter"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/uriRow"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:paddingStart="3dp"
|
|
android:paddingEnd="0dp"
|
|
android:text="@string/diverted_by_dots"
|
|
android:textSize="20sp"></TextView>
|
|
|
|
<TextView
|
|
android:id="@+id/diverterUri"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:paddingStart="6dp"
|
|
android:paddingTop="10dp"
|
|
android:paddingEnd="24dp"
|
|
android:textColor="@color/colorStrong"
|
|
android:textSize="20sp"></TextView>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1.5dp"
|
|
android:layout_marginStart="3dp"
|
|
android:layout_marginEnd="28dp"
|
|
android:background="@color/colorGray" />
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/callRow"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/diverter"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/callButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/call"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/callVideoButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="0dp"
|
|
android:background="@null"
|
|
android:contentDescription="@string/video_call"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call_video"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/hangupButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/hangup"
|
|
android:padding="0dp"
|
|
android:src="@drawable/hangup"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/answerButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginEnd="10dp"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/answer"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/answerVideoButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginEnd="80dp"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/answer"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call_video"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/rejectButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/reject"
|
|
android:padding="0dp"
|
|
android:src="@drawable/hangup"
|
|
android:visibility="invisible"></ImageButton>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/callControl"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="70dp"
|
|
android:orientation="horizontal"
|
|
android:visibility="invisible">
|
|
|
|
<ImageButton
|
|
android:id="@+id/videoButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/video_call"
|
|
android:src="@drawable/video_on"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/holdButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="60dp"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/hold"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call_hold"></ImageButton>
|
|
|
|
<ImageButton
|
|
android:id="@+id/transferButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="120dp"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/call_transfer"
|
|
android:padding="0dp"
|
|
android:src="@drawable/call_transfer"></ImageButton>
|
|
|
|
<EditText
|
|
android:id="@+id/dtmf"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="180dp"
|
|
android:layout_marginEnd="48dp"
|
|
android:hint="@string/dtmf"
|
|
android:importantForAutofill="no"
|
|
android:inputType="phone"
|
|
android:textColorHint="@color/colorSecondaryDark"
|
|
android:textSize="20sp"></EditText>
|
|
|
|
<ImageButton
|
|
android:id="@+id/info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:contentDescription="@string/call_info"
|
|
android:padding="0dp"
|
|
android:src="@drawable/info"></ImageButton>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<TextView
|
|
android:id="@+id/onHoldNotice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@id/buttons"
|
|
android:gravity="center"
|
|
android:text="@string/call_is_on_hold"
|
|
android:textColor="@color/colorAccent"
|
|
android:textSize="18sp"
|
|
android:visibility="gone"></TextView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_bar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="52dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="#150049"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="6dp">
|
|
|
|
<TextView
|
|
android:id="@+id/textViewDeviceName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_weight="1"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="24sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/textViewDatetime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_weight="1"
|
|
android:text=""
|
|
android:textAlignment="viewEnd"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="24sp"
|
|
android:visibility="visible" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/buttons"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="6dp">
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"></Space>
|
|
|
|
<ImageButton
|
|
android:id="@+id/voicemailButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/voicemail"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
android:src="@drawable/voicemail"
|
|
android:visibility="gone"></ImageButton>
|
|
|
|
<Space
|
|
android:id="@+id/voicemailButtonSpace"
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"
|
|
android:visibility="gone"></Space>
|
|
|
|
<ImageButton
|
|
android:id="@+id/contactsButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/contacts"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
android:src="@drawable/contacts"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"></ImageButton>
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"></Space>
|
|
|
|
<ImageButton
|
|
android:id="@+id/messagesButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/messages"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
android:src="@drawable/messages"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"></ImageButton>
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"></Space>
|
|
|
|
<ImageButton
|
|
android:id="@+id/callsButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/call_history"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
android:src="@drawable/calls"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"></ImageButton>
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"></Space>
|
|
|
|
<ImageButton
|
|
android:id="@+id/dialpadButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@null"
|
|
android:contentDescription="@string/dialpad"
|
|
android:gravity="center_horizontal|center_vertical"
|
|
android:src="@drawable/dialpad_off"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"></ImageButton>
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1"></Space>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/videoLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="0dp"
|
|
android:visibility="invisible" >
|
|
</RelativeLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/dialogLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/dialogBase"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="150px"
|
|
android:layout_marginVertical="150px"
|
|
android:background="@drawable/custom_border">
|
|
|
|
<!--
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButton1"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="250px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="전화걸기"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButton2"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="700px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="설정"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
-->
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonImg1"
|
|
android:layout_width="220px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="400px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/callbutton2"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="전화걸기"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonImg2"
|
|
android:layout_width="220px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="950px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/setting"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="설정"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/settingLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="60px"
|
|
android:layout_marginVertical="150px"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonLayout"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="90px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/layout"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:nextFocusLeft="@id/dialogButtonBackward"
|
|
android:nextFocusRight="@id/dialogButtonServer"
|
|
android:nextFocusUp="@id/dialogButtonLayout"
|
|
android:nextFocusDown="@id/dialogButtonLayout"
|
|
android:text="레이아웃설정"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonServer"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="432px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/server"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="서버설정"
|
|
android:nextFocusLeft="@id/dialogButtonLayout"
|
|
android:nextFocusRight="@id/dialogButtonNetwork"
|
|
android:nextFocusUp="@id/dialogButtonServer"
|
|
android:nextFocusDown="@id/dialogButtonServer"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonNetwork"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="774px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/network"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="네트워크설정"
|
|
android:nextFocusLeft="@id/dialogButtonServer"
|
|
android:nextFocusRight="@id/dialogButtonVolume"
|
|
android:nextFocusUp="@id/dialogButtonNetwork"
|
|
android:nextFocusDown="@id/dialogButtonNetwork"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonVolume"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="1116px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/volume"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="볼륨설정"
|
|
android:nextFocusLeft="@id/dialogButtonNetwork"
|
|
android:nextFocusRight="@id/dialogButtonBackward"
|
|
android:nextFocusUp="@id/dialogButtonVolume"
|
|
android:nextFocusDown="@id/dialogButtonVolume"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonBackward"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="1458px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/backward"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="돌아가기"
|
|
android:nextFocusLeft="@id/dialogButtonVolume"
|
|
android:nextFocusRight="@id/dialogButtonLayout"
|
|
android:nextFocusUp="@id/dialogButtonBackward"
|
|
android:nextFocusDown="@id/dialogButtonBackward"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
</FrameLayout>
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/settingLayoutInCall"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="150px"
|
|
android:layout_marginVertical="150px"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonLayoutInCall"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="100px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/layout"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:nextFocusLeft="@id/dialogButtonBackwardInCall"
|
|
android:nextFocusRight="@id/dialogButtonHangUp"
|
|
android:nextFocusUp="@id/dialogButtonLayoutInCall"
|
|
android:nextFocusDown="@id/dialogButtonLayoutInCall"
|
|
android:text="레이아웃설정"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonHangUp"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="480px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/hangup_big"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="통화종료"
|
|
android:nextFocusLeft="@id/dialogButtonLayoutInCall"
|
|
android:nextFocusRight="@id/dialogButtonVolumeInCall"
|
|
android:nextFocusUp="@id/dialogButtonHangUp"
|
|
android:nextFocusDown="@id/dialogButtonHangUp"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonVolumeInCall"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="860px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/volume"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="볼륨설정"
|
|
android:nextFocusLeft="@id/dialogButtonHangUp"
|
|
android:nextFocusRight="@id/dialogButtonBackwardInCall"
|
|
android:nextFocusUp="@id/dialogButtonVolumeInCall"
|
|
android:nextFocusDown="@id/dialogButtonVolumeInCall"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/dialogButtonBackwardInCall"
|
|
android:layout_width="250px"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="1240px"
|
|
android:layout_marginTop="250px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/backward"
|
|
android:drawablePadding="25px"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="16dp"
|
|
android:text="돌아가기"
|
|
android:nextFocusLeft="@id/dialogButtonVolumeInCall"
|
|
android:nextFocusRight="@id/dialogButtonLayoutInCall"
|
|
android:nextFocusUp="@id/dialogButtonBackwardInCall"
|
|
android:nextFocusDown="@id/dialogButtonBackwardInCall"
|
|
android:textColor="@color/colorWhite"
|
|
android:textSize="30sp"
|
|
android:textStyle="bold" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/networkSettingLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:id="@+id/textView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="네트워크 설정"
|
|
android:textSize="34sp"
|
|
android:textStyle="bold" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroup"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioDhcp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:text="DHCP"
|
|
android:textSize="24sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioStatic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:text="STATIC"
|
|
android:textSize="24sp" />
|
|
</RadioGroup>
|
|
|
|
<EditText
|
|
android:id="@+id/editIp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="IP Address"
|
|
android:inputType="phone"
|
|
android:textSize="24sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/editNetmask"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Netmask"
|
|
android:inputType="phone"
|
|
android:textSize="24sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/editGateway"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Gateway"
|
|
android:inputType="phone"
|
|
android:textSize="24sp" />
|
|
|
|
<EditText
|
|
android:id="@+id/editDns"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="DNS"
|
|
android:inputType="phone"
|
|
android:textSize="24sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnApply"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="10dp"
|
|
android:nextFocusLeft="@id/btnApply"
|
|
android:nextFocusRight="@id/btnCancel"
|
|
android:text="적용하기"
|
|
android:textSize="24sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="10dp"
|
|
android:nextFocusLeft="@id/btnApply"
|
|
android:nextFocusRight="@id/btnCancel"
|
|
android:text="취소하기"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/serverSettingLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="서버 설정"
|
|
android:textSize="34sp"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="표시명"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<EditText
|
|
android:id="@+id/editDisplayName"
|
|
android:layout_width="1000px"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="인증 사용자명"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<EditText
|
|
android:id="@+id/editSipId"
|
|
android:layout_width="1000px"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="phone"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="인증 암호"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<EditText
|
|
android:id="@+id/editSipPassword"
|
|
android:layout_width="1000px"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="SIP 서버주소"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<EditText
|
|
android:id="@+id/editSipServer"
|
|
android:layout_width="1000px"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="트랜스포트"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroupTransport"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioTransportUdp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:nextFocusUp="@id/editSipServer"
|
|
android:text="UDP"
|
|
android:textSize="24sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioTransportTcp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:nextFocusUp="@id/editSipServer"
|
|
android:text="TCP"
|
|
android:textSize="24sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioTransportTls"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:nextFocusUp="@id/editSipServer"
|
|
android:text="TLS"
|
|
android:textSize="24sp" />
|
|
</RadioGroup>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="미디어 암호화"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroupEncrypt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioEncryptNone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:nextFocusDown="@id/btnApplyServer"
|
|
android:text="사용안함"
|
|
android:textSize="24sp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioEncryptSrtp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:paddingRight="15dp"
|
|
android:nextFocusDown="@id/btnApplyServer"
|
|
android:text="SRTP"
|
|
android:textSize="24sp" />
|
|
|
|
</RadioGroup>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnApplyServer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="10dp"
|
|
android:nextFocusUp="@id/radioEncryptNone"
|
|
android:nextFocusLeft="@id/btnApplyServer"
|
|
android:nextFocusRight="@id/btnCancelServer"
|
|
android:text="적용하기"
|
|
android:textSize="24sp" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCancelServer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="10dp"
|
|
android:nextFocusUp="@id/radioEncryptNone"
|
|
android:nextFocusLeft="@id/btnApplyServer"
|
|
android:nextFocusRight="@id/btnCancelServer"
|
|
android:text="취소하기"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/volumeSettingLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="16dp">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="볼륨 설정"
|
|
android:textSize="34sp"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:padding="16dp">
|
|
<TextView
|
|
android:layout_width="200px"
|
|
android:layout_height="wrap_content"
|
|
android:text="마이크볼륨"
|
|
android:textSize="24sp"
|
|
/>
|
|
|
|
<SeekBar
|
|
android:id="@+id/seekbarMicVolume"
|
|
android:layout_width="600px"
|
|
android:max="24"
|
|
android:layout_height="wrap_content"
|
|
android:nextFocusUp="@id/seekbarMicVolume"
|
|
android:nextFocusLeft="@id/seekbarMicVolume"
|
|
android:nextFocusRight="@id/seekbarMicVolume"
|
|
android:textSize="24sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/textMicVolume"
|
|
android:layout_width="200px"
|
|
android:layout_marginLeft="30px"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textSize="36sp"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnDoneVolume"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="10dp"
|
|
android:nextFocusUp="@id/seekbarMicVolume"
|
|
android:nextFocusLeft="@id/btnDoneVolume"
|
|
android:nextFocusRight="@id/btnDoneVolume"
|
|
android:nextFocusDown="@id/btnDoneVolume"
|
|
android:text="돌아가기"
|
|
android:textSize="24sp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/layoutSettingLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/custom_border"
|
|
android:visibility="invisible">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="16dp"
|
|
android:text="레이아웃 설정"
|
|
android:textSize="34sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType1"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="155px"
|
|
android:layout_marginTop="140px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout1"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType10"
|
|
android:nextFocusRight="@id/layoutType2"
|
|
android:nextFocusUp="@id/layoutBackward"
|
|
android:nextFocusDown="@id/layoutType6" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType2"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="495px"
|
|
android:layout_marginTop="140px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout2"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType1"
|
|
android:nextFocusRight="@id/layoutType3"
|
|
android:nextFocusUp="@id/layoutBackward"
|
|
android:nextFocusDown="@id/layoutType7" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType3"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="835px"
|
|
android:layout_marginTop="140px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout3"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType2"
|
|
android:nextFocusRight="@id/layoutType4"
|
|
android:nextFocusUp="@id/layoutBackward"
|
|
android:nextFocusDown="@id/layoutType8" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType4"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="1175px"
|
|
android:layout_marginTop="140px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout4"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType3"
|
|
android:nextFocusRight="@id/layoutType5"
|
|
android:nextFocusUp="@id/layoutBackward"
|
|
android:nextFocusDown="@id/layoutType9" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType5"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="1515px"
|
|
android:layout_marginTop="140px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout5"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType4"
|
|
android:nextFocusRight="@id/layoutType6"
|
|
android:nextFocusUp="@id/layoutBackward"
|
|
android:nextFocusDown="@id/layoutType10" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType6"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="155px"
|
|
android:layout_marginTop="420px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout6"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType5"
|
|
android:nextFocusRight="@id/layoutType7"
|
|
android:nextFocusUp="@id/layoutType1"
|
|
android:nextFocusDown="@id/layoutBackward" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType7"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="495px"
|
|
android:layout_marginTop="420px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout7"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType6"
|
|
android:nextFocusRight="@id/layoutType8"
|
|
android:nextFocusUp="@id/layoutType2"
|
|
android:nextFocusDown="@id/layoutBackward" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType8"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="835px"
|
|
android:layout_marginTop="420px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout8"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType7"
|
|
android:nextFocusRight="@id/layoutType9"
|
|
android:nextFocusUp="@id/layoutType3"
|
|
android:nextFocusDown="@id/layoutBackward" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType9"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="1175px"
|
|
android:layout_marginTop="420px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout9"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType8"
|
|
android:nextFocusRight="@id/layoutType10"
|
|
android:nextFocusUp="@id/layoutType4"
|
|
android:nextFocusDown="@id/layoutBackward" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutType10"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="1515px"
|
|
android:layout_marginTop="420px"
|
|
android:background="@drawable/bg_button_selector_2"
|
|
android:drawableTop="@drawable/layout10"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutType9"
|
|
android:nextFocusRight="@id/layoutType1"
|
|
android:nextFocusUp="@id/layoutType5"
|
|
android:nextFocusDown="@id/layoutBackward" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/layoutBackward"
|
|
android:layout_width="250px"
|
|
android:layout_height="210px"
|
|
android:layout_marginLeft="835px"
|
|
android:layout_marginTop="780px"
|
|
android:background="@drawable/bg_button_selector"
|
|
android:drawableTop="@drawable/backward"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:gravity="center"
|
|
android:padding="32dp"
|
|
android:nextFocusLeft="@id/layoutBackward"
|
|
android:nextFocusRight="@id/layoutBackward"
|
|
android:nextFocusUp="@id/layoutType8"
|
|
android:nextFocusDown="@id/layoutType3" />
|
|
|
|
</FrameLayout>
|
|
|
|
</RelativeLayout>
|