470 lines
18 KiB
XML
470 lines
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_width="fill_parent"
|
|
style="?bg">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutGateway"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:weightSum="100"
|
|
android:orientation="horizontal"
|
|
style="?header">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewRadioStation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/enable"
|
|
android:layout_weight="0" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:id="@+id/textViewGateway"
|
|
android:text="n/a"
|
|
android:layout_marginLeft="5dp"
|
|
android:textStyle="bold"
|
|
android:paddingTop="7dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:id="@+id/textViewIP"
|
|
android:text="[192.168.2.100]"
|
|
android:paddingLeft="4dp"
|
|
android:paddingTop="17dp"
|
|
android:textColor="#FFFFFF"
|
|
android:visibility="gone"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="1"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewSeparator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/separator_white"
|
|
android:layout_margin="2dp"
|
|
android:layout_weight="0"
|
|
android:visibility="invisible"
|
|
android:focusable="false" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewDown"
|
|
android:layout_width="20dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginTop="2dp"
|
|
android:focusable="false"
|
|
android:visibility="visible"
|
|
android:src="@drawable/arrow_menu_down" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/status_offline" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="right"
|
|
android:layout_marginRight="8dp"
|
|
android:visibility="gone">
|
|
|
|
|
|
<ImageButton
|
|
android:id="@+id/imageButtonAdd"
|
|
android:layout_width="1dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
android:layout_marginRight="2dp"
|
|
android:paddingLeft="2dp"
|
|
android:background="@layout/addmessage_selector"
|
|
android:visibility="invisible"/>
|
|
<ImageView
|
|
android:id="@+id/imageViewGreen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scaleType="fitCenter"
|
|
android:paddingTop="4dp"
|
|
android:src="@drawable/call_private_green_small"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
<TextView
|
|
android:id="@+id/textViewLoggedIn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/login"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="16dp"
|
|
android:paddingTop="7dp" />
|
|
</LinearLayout>
|
|
<!-- android:background="@drawable/addmessage_selector" -->
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@layout/style_bluebutton"
|
|
android:paddingLeft="5dp"
|
|
android:paddingTop="2dp"
|
|
android:paddingBottom="2dp"
|
|
android:visibility="gone"
|
|
android:orientation="horizontal">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/IP"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="17dp" />
|
|
<TextView
|
|
android:id="@+id/textViewIP"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/emptyIP"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="17dp" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:id="@+id/layoutGateway">
|
|
<ImageView
|
|
android:id="@+id/imageView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/enable" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/textViewGateway"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="17dp"
|
|
android:paddingRight="2dp"/>
|
|
<ImageView
|
|
android:id="@+id/imageViewGateway"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/arrow_down" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="6">
|
|
<TextView
|
|
android:id="@+id/textView3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/Status"
|
|
android:textColor="#FFFFFF"
|
|
android:textSize="17dp" />
|
|
<ImageView
|
|
android:id="@+id/imageViewStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/status_offline"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="2dp">
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:layout_gravity="center"
|
|
android:gravity="center">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingRight="10dp"
|
|
android:layout_gravity="center_vertical">
|
|
<LinearLayout
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:gravity="center">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/Zone"
|
|
android:textStyle="bold"
|
|
android:textColor="#ffffffff"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
<LinearLayout
|
|
android:id="@+id/layoutSpinnerZone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@layout/style_spinner"
|
|
android:gravity="right"
|
|
android:minWidth="150dp"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="4dp"
|
|
android:paddingLeft="3dp"
|
|
android:paddingRight="3dp"
|
|
android:paddingTop="4dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/textViewZone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text=""
|
|
android:textColor="#000000"
|
|
android:textStyle="bold"
|
|
android:textSize="20dp"/>
|
|
<ImageView
|
|
android:src="@drawable/arrow_spinner"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:gravity="center">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/Channel"
|
|
android:textColor="#ffffffff"
|
|
android:textStyle="bold"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutSpinnerChannel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@layout/style_spinner"
|
|
android:gravity="right"
|
|
android:minWidth="150dp"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="4dp"
|
|
android:paddingLeft="3dp"
|
|
android:paddingRight="3dp"
|
|
android:paddingTop="4dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/textViewChannel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text=""
|
|
android:textColor="#000000"
|
|
android:textStyle="bold"
|
|
android:textSize="20dp"/>
|
|
<ImageView
|
|
android:src="@drawable/arrow_spinner"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center"
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center"
|
|
android:paddingTop="3dp">
|
|
<LinearLayout
|
|
android:layout_width="276dp"
|
|
android:layout_height="93dp"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/screen"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="0dp"
|
|
android:paddingTop="7dp">
|
|
|
|
<TextView
|
|
android:id="@+id/textViewMessageChannel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:paddingBottom="7dp"
|
|
android:textColor="#000000"
|
|
android:textSize="20dp"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:id="@+id/textViewMessageStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textColor="#000000"
|
|
android:textSize="20dp"
|
|
android:textStyle="bold"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="3dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center_horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal"
|
|
android:layout_weight="1">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<RadioGroup android:id="@+id/radioGroupCallType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3sp">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioAll"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="30dp"
|
|
android:checked="true"
|
|
android:text="@string/AllCall"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#ffffffff" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioGroup"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="30dp"
|
|
android:text="@string/GroupCall"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#ffffffff" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radioPrivate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="30dp"
|
|
android:text="@string/PrivateCall"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="#ffffffff" />
|
|
|
|
</RadioGroup>
|
|
<LinearLayout
|
|
android:id="@+id/layoutSpinnerCallType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@layout/style_spinner"
|
|
android:gravity="right"
|
|
android:minWidth="150dp"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="4dp"
|
|
android:paddingLeft="3dp"
|
|
android:paddingRight="3dp"
|
|
android:paddingTop="4dp"
|
|
android:visibility="invisible" >
|
|
|
|
<TextView
|
|
android:id="@+id/textViewCallType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text=""
|
|
android:textColor="#000000"
|
|
android:textStyle="bold"
|
|
android:textSize="20dp"/>
|
|
<ImageView
|
|
android:src="@drawable/arrow_spinner"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:orientation="vertical" >
|
|
<Button
|
|
android:id="@+id/buttonPTT"
|
|
style="@style/ButtonPTT"
|
|
android:layout_width="135dp"
|
|
android:layout_height="88dp"
|
|
android:background="@layout/style_buttonptt"
|
|
android:gravity="center"
|
|
android:paddingBottom="20dp"
|
|
android:text="@string/PTT" />
|
|
<Button
|
|
android:id="@+id/buttonDKey"
|
|
style="@style/ButtonText"
|
|
android:layout_width="135dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@layout/style_bluebutton"
|
|
android:text="@string/DeKey"
|
|
android:textSize="18dp" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|