com_lenovo_lsf_base_title.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. style="?android:attr/windowTitleBackgroundStyle"
  4. android:layout_width="@dimen/com_lenovo_lsf_view_width_portrait"
  5. android:layout_height="@dimen/com_lenovo_lsf_title_height"
  6. android:background="@drawable/com_lenovo_lsf_title_bg" >
  7. <RelativeLayout
  8. android:layout_width="fill_parent"
  9. android:layout_height="@dimen/com_lenovo_lsf_title_height" >
  10. <TextView
  11. android:id="@+id/custom_title"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_centerInParent="true"
  15. android:layout_centerVertical="true"
  16. android:gravity="center"
  17. android:textColor="@color/com_lenovo_lsf_loginTabColorLight"
  18. android:textSize="@dimen/com_lenovo_lsf_title_fontsize" />
  19. <ImageButton
  20. android:id="@+id/base_title_imb"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_alignParentLeft="true"
  24. android:layout_marginLeft="14dp"
  25. android:layout_centerVertical="true"
  26. android:background="@null"
  27. android:onClick="onBackClicked"
  28. android:src="@drawable/com_lenovo_lsf_title_back" />
  29. </RelativeLayout>
  30. </LinearLayout>