<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <ImageView
        android:id="@+id/ivBattery"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:src="@drawable/battery_0" />

    <EditText
        android:id="@+id/edtBattery"
        android:layout_width="match_parent"
        android:background="#87c3fa"
        android:textColor="#000000"
        android:layout_height="wrap_content" />

</LinearLayout>