1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2010 Felix Bechstein
6 This file is part of TravelLog. This program is free software; you can
7 redistribute it and/or modify it under the terms of the GNU General
8 Public License as published by the Free Software Foundation; either
9 version 3 of the License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details. You should have received a
16 copy of the GNU General Public License along with this program; If
17 not, see <http://www.gnu.org/licenses/>.
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res/de.ub0r.android.travelLog"
21 android:orientation="vertical" android:layout_width="fill_parent"
22 android:layout_height="fill_parent">
23 <LinearLayout android:layout_width="fill_parent"
24 android:layout_height="wrap_content" android:layout_weight="0">
25 <Button android:text="" android:id="@+id/stop"
26 android:layout_width="fill_parent" android:layout_height="wrap_content"
27 android:layout_weight="1" />
28 <Button android:text="@string/start_work" android:id="@+id/start_work_"
29 android:layout_width="fill_parent" android:layout_height="wrap_content"
30 android:layout_weight="1" />
31 <Button android:text="@string/start_travel" android:id="@+id/start_travel_"
32 android:layout_width="fill_parent" android:layout_height="wrap_content"
33 android:layout_weight="1" />
34 <Button android:text="@string/start_pause" android:id="@+id/start_pause_"
35 android:layout_width="fill_parent" android:layout_height="wrap_content"
36 android:layout_weight="1" />
38 <ListView android:id="@+id/log" android:layout_width="fill_parent"
39 android:layout_height="wrap_content" android:layout_weight="1">
41 <Button android:text="@string/add_row" android:id="@+id/add_row_"
42 android:layout_width="fill_parent" android:layout_height="wrap_content" />
43 <com.admob.android.ads.AdView android:id="@+id/ad"
44 android:visibility="gone" android:layout_width="fill_parent"
45 android:layout_height="wrap_content" app:isGoneWithoutAd="true"
46 app:keywords="android mobile handy cellphone google htc market app report business travel trip" />