helpshift-plugin-phonegap
Version:
Plugin for integrating Helpshift's SDK into a Phonegap/Cordova project
66 lines (61 loc) • 2.36 kB
text/xml
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/hs__content_wrapper_padding" >
<EditText
android:id="@+id/hs__conversationDetail"
android:hint="@string/hs__new_conversation_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:lines="@integer/hs__conversation_detail_lines"
android:layout_toLeftOf="@+id/hs__screenshot"
android:layout_alignParentTop="true"
android:gravity="top"
/>
<ImageView
android:id="@+id/hs__screenshot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:background="@android:color/darker_gray"
android:padding="1dp"
android:cropToPadding="true"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@android:id/button2"
android:visibility="gone"
android:layout_marginLeft="@dimen/hs__content_wrapper_padding"
/>
<ImageButton
android:contentDescription="@string/hs__remove_screenshot_btn"
android:text="@string/hs__change_btn"
android:id="@android:id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/darker_gray"
android:src="@drawable/hs__screenshot_clear"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:visibility="gone"
/>
<EditText
android:id="@+id/hs__username"
android:hint="@string/hs__username_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:layout_below="@id/hs__conversationDetail"
/>
<EditText
android:id="@+id/hs__email"
android:hint="@string/hs__email_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textEmailAddress"
android:layout_below="@+id/hs__username"
/>
</RelativeLayout>
<!-- From: file:/Users/naiquevin/helpshift/code/r2d2/Helpshift/src/main/res/layout/hs__new_conversation_fragment.xml -->