PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/Sky/res/layout/info.xml

http://android-sky.googlecode.com/
XML | 83 lines | 55 code | 14 blank | 14 comment | 0 complexity | 33ea7b4858d099302e50241817326b75 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<!-- Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/
 3
 4     Licensed under the Apache License, Version 2.0 (the "License");
 5     you may not use this file except in compliance with the License.
 6     You may obtain a copy of the License at
 7  
 8          http://www.apache.org/licenses/LICENSE-2.0
 9  
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="fill_parent"
19    android:layout_height="fill_parent"
20    android:orientation="vertical">
21
22    <ScrollView
23        android:layout_width="fill_parent"
24        android:layout_height="fill_parent"
25        android:layout_weight="1">
26
27        <LinearLayout
28            android:layout_width="fill_parent"
29            android:layout_height="fill_parent"
30            android:orientation="vertical">
31
32            <TextView
33                android:layout_width="fill_parent" 
34                android:layout_height="wrap_content"
35                android:padding="20dip"
36                android:textSize="16sp"
37                android:text="@string/info_inserting" />
38
39            <TextView
40                android:layout_width="fill_parent" 
41                android:layout_height="wrap_content"
42                android:text="@string/info_credits_title"
43                style="?android:attr/listSeparatorTextViewStyle" />
44
45            <TextView
46                android:id="@+id/info_credits"
47                android:layout_width="fill_parent" 
48                android:layout_height="wrap_content"
49                android:padding="20dip"
50                android:textSize="16sp"
51                android:text="@string/info_credits"
52                android:autoLink="web" />
53
54        </LinearLayout>
55
56    </ScrollView>
57
58    <LinearLayout
59        android:layout_width="fill_parent"
60        android:layout_height="wrap_content"
61        android:orientation="horizontal"
62        style="@android:style/ButtonBar">
63
64        <View
65            android:layout_width="0dip"
66            android:layout_height="0dip"
67            android:layout_weight="0.25" />
68
69        <Button
70            android:id="@+id/info_done"
71            android:layout_width="0dip"
72            android:layout_height="wrap_content"
73            android:layout_weight="0.5"
74            android:text="@string/info_done" />
75
76        <View
77            android:layout_width="0dip"
78            android:layout_height="0dip"
79            android:layout_weight="0.25" />
80
81    </LinearLayout>
82
83</LinearLayout>