summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/main_headbar.xml
diff options
context:
space:
mode:
authorgoblin911 <[email protected]>2013-08-25 21:18:19 +0800
committergoblin911 <[email protected]>2013-08-25 21:18:19 +0800
commit0e687f12bd2653adb55ea002b39292678366c525 (patch)
tree0ad073ec8ff2ed2716adf23a679184c38df582a1 /client/Piztor/res/layout/main_headbar.xml
parent2efdc2f20f0306791ced5ec78a1acddfaf086f42 (diff)
...
Diffstat (limited to 'client/Piztor/res/layout/main_headbar.xml')
-rw-r--r--client/Piztor/res/layout/main_headbar.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/Piztor/res/layout/main_headbar.xml b/client/Piztor/res/layout/main_headbar.xml
new file mode 100644
index 0000000..137e3a1
--- /dev/null
+++ b/client/Piztor/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>