Skip to content

Instantly share code, notes, and snippets.

@Marchuck
Created October 18, 2017 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Marchuck/c5838dedbc33efca7c6d81f600a9f2fd to your computer and use it in GitHub Desktop.
Save Marchuck/c5838dedbc33efca7c6d81f600a9f2fd to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
style="@style/textview_bold"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:layout_marginTop="@dimen/activity_default_padding"
android:text="@string/help_centre_how_can_we_help"
android:textSize="@dimen/text_size_header" />
<TextView
style="@style/textview_default"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:text="@string/help_centre_header_description" />
<android.support.v7.widget.SearchView
android:id="@+id/fragment_places_searchview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:queryHint="@string/search_help_centre" />
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_medium_padding"
android:layout_marginRight="@dimen/activity_medium_padding"
android:layout_marginTop="@dimen/activity_small_padding"
app:cardCornerRadius="@dimen/cardview_corner_radius">
<RelativeLayout
android:id="@+id/fragment_help_centre_categories_viewgroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/fragment_help_centre_categories_label"
style="@style/textview_bold"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:text="@string/categories"
android:textSize="@dimen/text_size_header" />
<ImageView
android:id="@+id/fragment_help_centre_categories_expandable_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:clickable="true"
android:contentDescription="@string/expand_categories"
android:focusable="true"
android:padding="@dimen/activity_default_padding"
android:src="@drawable/icn_arrow_dark" />
<com.github.aakira.expandablelayout.ExpandableRelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fragment_help_centre_categories_expandable_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/fragment_help_centre_categories_label"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:orientation="vertical"
app:ael_duration="300"
app:ael_expanded="false"
app:ael_interpolator="accelerateDecelerate"
app:ael_orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/fragment_help_centre_categories_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_medium_padding"
android:layout_marginRight="@dimen/activity_medium_padding"
android:layout_marginTop="@dimen/activity_small_padding"
app:cardCornerRadius="@dimen/cardview_corner_radius">
<RelativeLayout
android:id="@+id/fragment_help_centre_faq_viewgroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/fragment_help_centre_faq_label"
style="@style/textview_bold"
android:layout_marginBottom="@dimen/activity_small_padding"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:text="@string/faq"
android:textSize="@dimen/text_size_header" />
<ImageView
android:id="@+id/fragment_help_centre_faq_expandable_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:clickable="true"
android:contentDescription="@string/expand_categories"
android:focusable="true"
android:padding="@dimen/activity_default_padding"
android:src="@drawable/icn_arrow_dark" />
<com.github.aakira.expandablelayout.ExpandableRelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fragment_help_centre_faq_expandable_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/fragment_help_centre_faq_label"
android:layout_marginLeft="@dimen/activity_default_padding"
android:layout_marginRight="@dimen/activity_default_padding"
android:orientation="vertical"
app:ael_duration="300"
app:ael_expanded="false"
app:ael_interpolator="accelerateDecelerate"
app:ael_orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/fragment_help_centre_faq_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment