UNPKG

helpshift-plugin-phonegap

Version:

Plugin for integrating Helpshift's SDK into a Phonegap/Cordova project

137 lines (123 loc) 5.6 kB
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_alignParentTop="true"> <RelativeLayout android:id="@+id/hs__questionContent" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:id="@+id/hs__webViewParent" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_above="@+id/hs__contactUsContainer" android:paddingLeft="@dimen/hs__content_wrapper_padding"/> <LinearLayout android:id="@+id/hs__contactUsContainer" android:layout_alignParentBottom="true" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:layout_gravity="bottom"> <View android:background="?attr/hs__faqFooterSeparatorColor" android:layout_width="fill_parent" android:layout_height="1dp" android:alpha="0.5"/> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="8dp" android:paddingRight="8dp" android:background="?attr/hs__faqsFooterBackgroundColor" android:splitMotionEvents="false"> <Button style="?attr/hs__faqHelpfulButtonStyle" android:id="@+id/hs__action_faq_helpful" android:text="@string/hs__mark_yes" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="10dp" android:paddingRight="10dp" android:visibility="gone" android:layout_gravity="center_vertical" android:textColor="?attr/hs__faqHelpfulButtonTextColor" android:layout_toLeftOf="@+id/hs__action_faq_unhelpful" android:textAppearance="?android:attr/textAppearanceMedium" /> <Button style="?attr/hs__faqUnhelpfulButtonStyle" android:id="@+id/hs__action_faq_unhelpful" android:text="@string/hs__mark_no" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:paddingLeft="10dp" android:paddingRight="10dp" android:visibility="gone" android:layout_gravity="center_vertical" android:textColor="?attr/hs__faqUnhelpfulButtonTextColor" android:textAppearance="?android:attr/textAppearanceMedium"/> <TextView android:id="@+id/hs__question" android:text="@string/hs__mark_yes_no_question" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/hs__action_faq_helpful" android:layout_marginBottom="5dp" android:paddingLeft="8dp" android:visibility="gone" android:textAppearance="?android:attr/textAppearanceMedium"/> <TextView android:id="@+id/hs__unhelpful_text" android:text="@string/hs__question_unhelpful_message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_alignParentLeft="true" android:layout_toLeftOf="@+id/hs__contact_us_btn" android:paddingTop="12dp" android:paddingBottom="12dp" android:visibility="gone" android:textAppearance="?android:attr/textAppearanceMedium"/> <Button style="?attr/hs__contactUsButtonStyle" android:id="@+id/hs__contact_us_btn" android:text="@string/hs__contact_us_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="10dp" android:paddingRight="12dp" android:paddingTop="8dp" android:layout_centerVertical="true" android:layout_alignParentRight="true" android:visibility="gone" android:textAppearance="?android:attr/textAppearanceMedium"/> <TextView android:text="@string/hs__question_helpful_message" android:id="@+id/hs__helpful_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:visibility="gone" android:paddingTop="12dp" android:paddingBottom="12dp" android:textAppearance="?android:attr/textAppearanceMedium"/> </RelativeLayout> </LinearLayout> </RelativeLayout> <FrameLayout android:id="@+id/hs__customViewContainer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/black" android:visibility="gone" > </FrameLayout> </FrameLayout> <!-- From: file:/Users/naiquevin/helpshift/code/r2d2/Helpshift/src/main/res/layout/hs__question_fragment.xml -->