/WebVox/res/layout/item_script.xml
XML | 52 lines | 31 code | 5 blank | 16 comment | 0 complexity | 51c5c64f72c7b6eb7c64408602224000 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2008 Jeffrey Sharkey, http://jsharkey.org/ 4 5 This program is free software: you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation, either version 3 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program. If not, see <http://www.gnu.org/licenses/>. 17--> 18 19<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="fill_parent" 21 android:layout_height="wrap_content" 22 android:paddingLeft="15dip" android:paddingRight="10dip" 23 android:paddingTop="8dip" android:paddingBottom="8dip"> 24 25 <TextView 26 android:id="@+id/script_title" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:paddingRight="40dip" 30 android:textAppearance="?android:attr/textAppearanceMedium" 31 /> 32 33 <TextView 34 android:id="@+id/script_descrip" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:layout_below="@id/script_title" 38 android:paddingRight="40dip" 39 android:textAppearance="?android:attr/textAppearanceSmall" 40 /> 41 42 <CheckBox 43 android:id="@+id/script_enabled" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:layout_alignTop="@id/script_title" 47 android:layout_alignParentRight="true" 48 android:clickable="false" 49 android:focusable="false" 50 /> 51 52</RelativeLayout>