tor-android/res/layout/layout_main.xml

67 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/bgtitanium"
android:id="@+id/viewMain"
>
<RelativeLayout android:id="@+id/layoutHeaderMain"
android:layout_width="fill_parent"
android:layout_height="30dp"
android:layout_gravity="center_horizontal"
android:background="#A0909090">
<ImageView android:id="@+id/radioModeImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3px"
android:layout_marginRight="3px"
android:gravity="right"
android:layout_toRightOf="@+id/radioModeLabel"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:src="@drawable/tor25"
/>
<TextView android:id="@+id/radioModeText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="powered by The Tor Project "
android:layout_marginTop="8px"
android:layout_marginRight="0px"
android:gravity="right"
android:layout_toLeftOf="@+id/radioModeImage"
android:textColor="#cccccc" />
</RelativeLayout>
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_vertical"
>
<ImageView
android:id="@+id/imgStatus"
android:layout_margin="15dip"
android:layout_width="fill_parent"
android:layout_height="320dip"
android:src="@drawable/toroff"
android:layout_gravity="center_horizontal"
/>
<TextView android:id="@+id/lblStatus"
android:text="@string/press_to_start"
android:gravity="center_horizontal"
android:textStyle="bold"
android:layout_width="fill_parent"
android:layout_height="60dip"
android:textColor="#ffffff"
android:layout_below="@id/imgStatus"
/>
</RelativeLayout>
</LinearLayout>