diff options
author | sjtufs <[email protected]> | 2013-08-25 15:45:55 +0800 |
---|---|---|
committer | sjtufs <[email protected]> | 2013-08-25 15:45:55 +0800 |
commit | ac7633d8149a28af288ac0b850850cef9b13c151 (patch) | |
tree | 861fe3d57c114b5ec7f3141679428cc6302d21bc /res/layout/main_headbar.xml | |
parent | a53f4d21238d2bccd58a22d7485e54f495dbd55d (diff) |
This is alpha
Diffstat (limited to 'res/layout/main_headbar.xml')
-rw-r--r-- | res/layout/main_headbar.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/res/layout/main_headbar.xml b/res/layout/main_headbar.xml new file mode 100644 index 0000000..137e3a1 --- /dev/null +++ b/res/layout/main_headbar.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="40dip" + android:background="@drawable/topbar_background" + android:id="@+id/main_headbar_layout" > + + <ImageView + android:id="@+id/headbar_logo" + android:layout_width="34dip" + android:layout_height="34dip" + android:layout_alignParentLeft="true" + android:layout_centerVertical="true" + android:layout_marginLeft="5dip" + android:layout_alignParentTop="true" + android:background="@drawable/title_logo"/> + + <TextView + android:id="@+id/headbar_appname" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_marginLeft="8dip" + android:textSize="26dip" + android:textColor="@android:color/white" + android:layout_toRightOf="@+id/headbar_logo" + android:text="@string/app_name" /> + +</RelativeLayout> |