safedispatch-mobile/res/layout-large/tabsetup.xml

246 lines
9.8 KiB
XML
Raw Normal View History

2022-03-10 14:31:03 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layoutMain"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
style="?bg"
android:weightSum="100">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="80">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="center"
android:paddingLeft="10dp" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="left"
android:paddingTop="10dp"
android:layout_weight="0.34">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/serverIP"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:layout_gravity="center_vertical"
android:gravity="center_vertical|right"
android:layout_weight="2"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="3dp">
<EditText
android:id="@+id/appServerIP"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:minWidth="200dp"
android:singleLine="true"
android:imeOptions="actionDone" >
</EditText>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="left"
android:paddingTop="10dp"
android:layout_weight="0.6">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/serverPort"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:gravity="center_vertical|right"
android:layout_gravity="center_vertical|right"
android:layout_weight="1.4"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingTop="3dp">
<EditText
android:layout_height="wrap_content"
android:id="@+id/appServerPort"
android:maxLength="5"
android:minWidth="73dp"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical|right"
android:inputType="number"
android:imeOptions="actionDone">
</EditText>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/layoutPath">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="0dp"
android:gravity="center_vertical|left">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="200dp"
android:layout_weight="0">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/configName"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:gravity="center_vertical|right"
android:layout_gravity="center_vertical"/>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:paddingTop="3dp">
<EditText
android:id="@+id/editTextPath"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="right|center_vertical"
android:text="serial"
android:imeOptions="actionDone"
android:minWidth="73dp"
android:singleLine="true" >
<requestFocus />
</EditText>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="0"
android:paddingTop="3dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btn_browse"
android:text="@string/load"
style="@style/ButtonText"
android:textColor="#000"
android:textSize="22dp"/>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="0"
android:paddingTop="3dp"
android:paddingRight="3dp">
<ImageView
android:id="@+id/imageViewQuestionMark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/questionmark_small" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/frameLayout11"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="left" >
<TextView
android:layout_width="202dp"
android:layout_height="wrap_content"
android:text="@string/language"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold"
android:textColor="#FFFFFF"
android:gravity="right"
android:layout_gravity="center_vertical"/>
<LinearLayout
android:id="@+id/layoutSpinnerLanguage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@layout/style_spinner"
android:gravity="left|center_vertical"
android:minWidth="223dp"
android:orientation="horizontal"
android:paddingBottom="4dp"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:paddingTop="4dp" >
<ImageView
android:id="@+id/imageLanguage"
android:src="@drawable/de"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0" />
<TextView
android:id="@+id/textViewSpinnerLanguage"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="left"
android:text="Germany"
android:textColor="#000000"
android:textSize="18dp"
android:layout_weight="1"
android:paddingBottom="2dp"
android:paddingLeft="3dp">
<requestFocus />
</TextView>
<ImageView
android:src="@drawable/arrow_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_horizontal"
android:paddingTop="20dp">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btn_save"
android:text="@string/save"
style="@style/ButtonText"
android:textSize="26dp"
android:background="@layout/style_bluebutton"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>