<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
LinearLayout
xmlns:android
=
"http://schemas.android.com/apk/res/android"
android:layout_width
=
"fill_parent"
android:layout_height
=
"wrap_content"
android:id
=
"@+id/header_layout_root"
android:background
=
"#ffffff"
android:orientation
=
"vertical"
>
<
TextView
android:layout_width
=
"fill_parent"
android:layout_height
=
"wrap_content"
android:text
=
"@string/app_name"
android:background
=
"#000000"
android:textColor
=
"#ffffff"
android:textSize
=
"28dp"
android:gravity
=
"center_horizontal"
android:paddingTop
=
"10dp"
android:paddingBottom
=
"10dp"
>
</
TextView
>
<
RelativeLayout
android:layout_width
=
"fill_parent"
android:layout_height
=
"wrap_content"
>
<
ImageView
android:id
=
"@+id/sample_image"
android:layout_width
=
"fill_parent"
android:layout_height
=
"wrap_content"
android:adjustViewBounds
=
"true"
android:src
=
"@drawable/sample_image"
android:scaleType
=
"fitXY"
>
</
ImageView
>
<
TextView
android:id
=
"@+id/sample_title"
android:text
=
"@string/sample_text"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:textColor
=
"#ffffffff"
android:textSize
=
"12dp"
android:background
=
"#AA000000"
android:padding
=
"5dp"
android:layout_alignParentLeft
=
"true"
android:layout_alignBottom
=
"@id/sample_image"
>
</
TextView
>
</
RelativeLayout
>
</
LinearLayout
>
댓글을 달아 주세요