package="org.openintents.safe" \r
android:versionCode="1" \r
android:versionName="0.7.0">
- <application android:icon="@drawable/passicon" android:allowClearUserData="true" android:debuggable="true" android:label="@string/app_name">
+ <application android:icon="@drawable/icon_safe" android:allowClearUserData="true" android:debuggable="true" android:label="@string/app_name">
<activity class=".FrontDoor" android:name="FrontDoor" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
android:orientation="vertical" android:layout_width="fill_parent"\r
android:layout_height="fill_parent">\r
- \r
- <TableLayout android:id="@+id/entry_head" \r
+ <LinearLayout android:id="@+id/entry_head"\r
android:layout_width="fill_parent" \r
- android:layout_height="wrap_content">\r
- \r
- <TableRow>\r
+ android:layout_height="wrap_content"\r
+ android:orientation = "vertical"\r
+ android:layout_marginTop="5dip">\r
+ <LinearLayout \r
+ android:layout_width="wrap_content" \r
+ android:layout_height="wrap_content"\r
+ android:orientation="horizontal"\r
+ android:layout_gravity="center">\r
<ImageView android:id="@+id/entry_icon"\r
android:layout_height="wrap_content"\r
android:layout_width="wrap_content"\r
<TextView android:id="@+id/entry_header"\r
android:paddingBottom="10px"\r
android:paddingTop="10px"\r
- android:textSize="20px" \r
- android:layout_width="fill_parent"\r
- android:layout_weight="1"\r
+ android:textSize="24px" \r
+ android:layout_width="wrap_content"\r
+ android:layout_height="wrap_content"\r
/>\r
- </TableRow>\r
- </TableLayout>\r
+ </LinearLayout>\r
+ </LinearLayout>\r
<TextView android:id="@+id/first_time"\r
android:layout_below="@id/entry_head"\r
android:text="@string/first_time" \r
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
android:orientation="vertical" android:layout_width="fill_parent"\r
android:layout_height="fill_parent">\r
- \r
- <TableLayout android:layout_width="fill_parent" \r
- android:layout_height="wrap_content">\r
- \r
- <TableRow>\r
- <ImageView android:id="@+id/entry_icon"\r
- android:layout_height="wrap_content"\r
- android:layout_width="wrap_content"\r
- />\r
- <TextView android:id="@+id/entry_header"\r
- android:paddingBottom="10px"\r
- android:paddingTop="10px"\r
- android:textSize="20px" \r
- android:layout_width="fill_parent"\r
- android:layout_weight="1"\r
- />\r
- </TableRow>\r
- </TableLayout>\r
+ <LinearLayout android:layout_width="wrap_content" \r
+ android:layout_height="wrap_content"\r
+ android:orientation="horizontal"\r
+ android:layout_gravity="center"\r
+ android:layout_marginTop="15dip">\r
+ <ImageView android:id="@+id/entry_icon"\r
+ android:layout_height="wrap_content"\r
+ android:layout_width="wrap_content"\r
+ />\r
+ <TextView android:id="@+id/entry_header"\r
+ android:paddingBottom="10px"\r
+ android:paddingTop="10px"\r
+ android:textSize="24px" \r
+ android:layout_width="wrap_content"\r
+ android:layout_height="wrap_content"\r
+ />\r
+ </LinearLayout>\r
<TextView android:id="@+id/first_time"\r
android:text="@string/first_time" \r
android:paddingBottom="10px"\r
// Setup layout
setContentView(R.layout.front_door);
ImageView icon = (ImageView) findViewById(R.id.entry_icon);
- icon.setImageResource(R.drawable.passicon);
+ icon.setImageResource(R.drawable.icon_safe);
TextView header = (TextView) findViewById(R.id.entry_header);
String version = VersionUtils.getVersionNumber(this);
String appName = VersionUtils.getApplicationName(this);