90 lines
No EOL
3.2 KiB
XML
90 lines
No EOL
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/osmo_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingLeft="4dp"
|
|
android:paddingRight="4dp"
|
|
android:src="@drawable/mon_osmo_conn_small" />
|
|
|
|
<Switch
|
|
android:id="@+id/enable_service"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/osmo_start_service" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/osmo_log_off_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="3dp"
|
|
android:layout_marginTop="3dp" >
|
|
|
|
<TextView
|
|
android:id="@+id/osmo_user_name_text_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:text="@string/anonymous_user"
|
|
android:textAppearance="?android:attr/textAppearance" />
|
|
|
|
<Switch
|
|
android:id="@+id/osmo_login_logoff"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:focusable="false"
|
|
android:gravity="center_vertical" />
|
|
|
|
<Button
|
|
android:id="@+id/osmo_login_hint_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toRightOf="@id/osmo_user_name_text_view"
|
|
android:minHeight="0dp"
|
|
android:minWidth="0dp"
|
|
android:text="\?"
|
|
android:textAppearance="?android:attr/textAppearance" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<Switch
|
|
android:id="@+id/enable_tracker"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:focusable="false"
|
|
android:layout_marginLeft="3dp"
|
|
android:layout_marginTop="3dp"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/osmo_enable_tracker" />
|
|
|
|
<TextView
|
|
android:id="@+id/motd"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dip"
|
|
android:gravity="center"
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout> |