<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <TextView
        android:id="@+id/battery_percent"
        android:layout_gravity="center_vertical"
        style="@style/tb_hn_medium_14dp_red"/>

    <com.siliconlabs.bledemo.features.demo.thunderboard_demos.base.ui.BatteryMeter
        android:id="@+id/battery_meter"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/space_XXS"
        android:layout_gravity="center_vertical" />
</LinearLayout>