diff options
Diffstat (limited to 'tools/FM/FmRxApp/res/layout/fmrxmain.xml')
-rw-r--r-- | tools/FM/FmRxApp/res/layout/fmrxmain.xml | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/tools/FM/FmRxApp/res/layout/fmrxmain.xml b/tools/FM/FmRxApp/res/layout/fmrxmain.xml new file mode 100644 index 0000000..94984c6 --- /dev/null +++ b/tools/FM/FmRxApp/res/layout/fmrxmain.xml @@ -0,0 +1,164 @@ +<?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="fill_parent" + android:id="@+id/ParentLayout" android:orientation="vertical" + android:background="@drawable/wallpaper7"> + <ScrollView android:layout_width="fill_parent" + android:layout_height="wrap_content" android:id="@+id/scrollview1" + android:layout_weight="1"> + <LinearLayout android:id="@+id/widget224" + android:layout_width="fill_parent" android:orientation="vertical" + android:layout_height="fill_parent"> + <LinearLayout android:id="@+id/widget30" + android:layout_alignParentTop="true" android:layout_alignParentLeft="true" + android:layout_width="fill_parent" android:layout_height="120dip"> + + <ImageView android:id="@+id/imgMute" + android:layout_gravity="center" android:layout_height="wrap_content" + android:layout_width="fill_parent" android:layout_weight="1"> + </ImageView> + <ImageView android:id="@+id/imgMode" + android:layout_height="wrap_content" android:layout_width="fill_parent" + android:layout_weight="1" android:layout_gravity="center"> + </ImageView> + <ImageView android:id="@+id/imgPower" + android:layout_height="wrap_content" android:layout_width="fill_parent" + android:adjustViewBounds="true" android:layout_gravity="center" + android:baselineAlignBottom="true" android:cropToPadding="true" + android:drawingCacheQuality="auto" android:src="@drawable/poweron" + android:layout_weight="1"> + </ImageView> + </LinearLayout> + <LinearLayout android:id="@+id/widget35" + android:layout_below="@+id/widget30" android:layout_alignParentLeft="true" + android:layout_width="fill_parent" android:orientation="vertical" + android:layout_height="70dip"> + <TextView android:id="@+id/txtRadioText" + android:scrollHorizontally="false" android:lines="1" android:text="@string/radioTxt" + android:textStyle="bold" android:textSize="20sp" + android:layout_width="fill_parent" android:layout_gravity="center" + android:paddingLeft="30dip" android:layout_height="50dip"> + </TextView> + <TextView android:id="@+id/txtPsText" + android:scrollHorizontally="false" android:lines="1" android:text="@string/pstxt" + android:layout_gravity="center" android:textStyle="bold" + android:textSize="20sp" android:layout_width="fill_parent" + android:paddingLeft="30dip" android:layout_height="50dip"> + </TextView> + + </LinearLayout> + + <LinearLayout android:id="@+id/widget36" + android:layout_below="@+id/widget35" android:layout_alignParentLeft="true" + android:layout_width="fill_parent" android:layout_centerInParent="true" + android:layout_height="30dip"> + <TextView android:id="@+id/txtStatusMsg" + android:layout_width="fill_parent" android:scrollHorizontally="false" + android:lines="1" android:text="@string/statusMsg" + android:paddingLeft="120dip" android:textSize="20sp" + android:layout_height="30dip"> + </TextView> + </LinearLayout> + + <LinearLayout android:layout_width="fill_parent" + android:layout_height="100dip" + android:id="@+id/widget67" android:layout_marginLeft="25dip"> + + <TableLayout android:id="@+id/TableLayout01" + android:layout_width="wrap_content" android:layout_weight="1" + android:layout_height="wrap_content" android:paddingLeft="40dip"> + <TableRow android:layout_margin="1dip"> + <ImageButton android:id="@+id/imgseekdown" + android:layout_height="80dip" android:layout_width="wrap_content" + android:background="@drawable/seek_down_bgd"> + </ImageButton> + </TableRow> + </TableLayout> + + <TableLayout android:id="@+id/TableLayout02" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1"> + <TableRow> + <TextView android:id="@+id/txtStationName" android:text="@string/name" + android:visibility="visible" android:layout_gravity="center" + android:layout_height="30dip" android:textSize="22dip"> + </TextView> + </TableRow> + <TableLayout android:id="@+id/widget39" + android:layout_width="144dip" android:orientation="horizontal" + android:layout_height="40dip"> + <TableRow> + <TextView android:id="@+id/txtRxFreq" + android:text="@string/rx_freq_val" + android:textStyle="bold" android:visibility="visible" + android:layout_height="wrap_content" android:textSize="30dip" android:layout_width="fill_parent" android:layout_weight="1"> + </TextView> + <TextView android:id="@+id/txtLabel" + android:layout_height="wrap_content" android:text="@string/labelhz" + android:layout_marginLeft="4dip" android:textSize="26dip" android:layout_width="wrap_content" android:layout_weight="1" android:layout_marginRight="1dip"> + </TextView> + </TableRow> + </TableLayout> + + </TableLayout> + + <TableLayout android:id="@+id/TableLayout03" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_weight="1"> + <TableRow android:layout_margin="1dip"> + <ImageButton android:id="@+id/imgseekup" + android:background="@drawable/seek_up_bgd" android:layout_height="80dip" + android:layout_width="wrap_content"> + </ImageButton> + </TableRow> + </TableLayout> + </LinearLayout> + <LinearLayout android:id="@+id/widget95" + android:layout_below="@+id/widget72" android:layout_alignParentLeft="true" + android:layout_width="fill_parent" android:paddingTop="40dip" + android:layout_height="100dip"> + <Button android:id="@+id/station1" android:layout_height="50dip" + android:text="@string/station1" android:textSize="30sp" + android:background="@drawable/btn_bgd" android:clickable="true" android:layout_width="fill_parent" + android:layout_weight="1" android:layout_marginLeft="20dip" android:layout_marginRight="20dip"> + </Button> + <Button android:id="@+id/station2" android:layout_marginLeft="20dip" + android:layout_height="50dip" android:text="@string/station2" + android:textSize="30sp" android:background="@drawable/btn_bgd" android:clickable="true" android:layout_width="fill_parent" android:layout_weight="1" android:layout_marginRight="20dip"> + </Button> + <Button android:id="@+id/station3" android:layout_marginLeft="20dip" + android:layout_height="50dip" android:text="@string/station3" + android:editable="true" android:textSize="30sp" + android:background="@drawable/btn_bgd" + android:clickable="true" android:layout_width="fill_parent" android:layout_weight="1" android:layout_marginRight="20dip"> + </Button> + </LinearLayout> + <LinearLayout android:id="@+id/widget99" + android:layout_below="@+id/widget95" android:layout_alignParentLeft="true" + android:layout_width="fill_parent" android:paddingTop="20dip" + android:layout_height="100dip"> + <Button android:id="@+id/station4" android:layout_height="50dip" + android:text="@string/station4" android:textSize="30sp" + android:layout_marginLeft="20dip" + android:layout_gravity="center" android:background="@drawable/btn_bgd" + android:clickable="true" android:layout_width="fill_parent" android:layout_weight="1" android:layout_marginRight="20dip"> + </Button> + <Button android:id="@+id/station5" android:layout_height="50dip" + android:layout_marginLeft="20dip" android:text="@string/station5" + android:textSize="30sp" android:layout_gravity="center" android:background="@drawable/btn_bgd" + android:clickable="true" android:layout_marginRight="20dip" android:layout_width="fill_parent" android:layout_weight="1"> + </Button> + <Button android:id="@+id/station6" android:layout_height="50dip" + android:layout_marginLeft="20dip" android:text="@string/station6" + android:textSize="30sp" android:layout_gravity="center" android:background="@drawable/btn_bgd" + android:clickable="true" android:layout_width="fill_parent" android:layout_weight="1" android:layout_marginRight="20dip"> + </Button> + </LinearLayout> + </LinearLayout> + </ScrollView> + +</LinearLayout> + + + + |