<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/message"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="@dimen/hs__listPreferredItemPaddingLeft"
    android:paddingRight="@dimen/hs__listPreferredItemPaddingRight"
    android:paddingTop="@dimen/hs__msgPreferredItemPaddingTop"
    android:paddingBottom="@dimen/hs__msgPreferredItemPaddingTop"
    android:orientation="vertical"
    >

  <LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      >

    <View
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="0.20"
        />

    <LinearLayout
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="0.80"
        android:gravity="right"
        >

      <LinearLayout
          android:id="@+id/user_message"
          android:orientation="vertical"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="?attr/hs__chatBubbleUserBackground"
          android:gravity="center"
          >

        <RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content">

          <ImageView
            android:id="@android:id/summary"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingTop="@dimen/hs__msgPreferredItemPaddingTop"
            android:paddingBottom="@dimen/hs__msgPreferredItemPaddingBottom"
            android:paddingLeft="@dimen/hs__msgPreferredItemPaddingLeft"
            android:paddingRight="@dimen/hs__msgPreferredItemPaddingRight"
            />

          <ProgressBar
            android:id="@android:id/progress"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            style="?android:attr/progressBarStyleLarge"
            android:paddingBottom="@dimen/hs__msgPreferredItemPaddingTop"
            android:layout_centerInParent="true"
            />
        </RelativeLayout>

        <View
            android:id="@android:id/custom"
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="?attr/hs__chatBubbleSeparatorColor"
            android:alpha="0.4"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >

          <ImageButton
              android:text="@string/hs__change_btn"
              android:id="@android:id/button2"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:background="?attr/hs__selectableItemBackground"
              android:src="@drawable/hs__action_no"
              android:paddingTop="@dimen/hs__msgActionButtonPadding"
              android:paddingBottom="@dimen/hs__msgActionButtonPadding"
              android:paddingLeft="@dimen/hs__msgPreferredItemPaddingLeft"
              android:paddingRight="@dimen/hs__msgPreferredItemPaddingRight"
              />
          <View
              android:layout_height="fill_parent"
              android:layout_width="1dp"
              android:background="?attr/hs__chatBubbleSeparatorColor"
              android:alpha="0.4"/>

          <ImageButton
              android:text="@string/hs__done_btn"
              android:id="@android:id/button3"
              android:layout_width="0dp"
              android:layout_weight="1"
              android:layout_height="wrap_content"
              android:background="?attr/hs__selectableItemBackground"
              android:src="@drawable/hs__action_yes"
              android:paddingTop="@dimen/hs__msgActionButtonPadding"
              android:paddingBottom="@dimen/hs__msgActionButtonPadding"
              android:paddingLeft="@dimen/hs__msgPreferredItemPaddingLeft"
              android:paddingRight="@dimen/hs__msgPreferredItemPaddingRight"
              />
        </LinearLayout>
      </LinearLayout>
    </LinearLayout>
  </LinearLayout>
</LinearLayout>
<!-- From: file:/Users/naiquevin/helpshift/code/r2d2/Helpshift/src/main/res/layout/hs__local_msg_request_screenshot.xml -->