Skip to content

Instantly share code, notes, and snippets.

@robillo
Created October 9, 2017 16:13
Show Gist options
  • Save robillo/5a94d1353fc4f733c96723fcfef3381d to your computer and use it in GitHub Desktop.
Save robillo/5a94d1353fc4f733c96723fcfef3381d to your computer and use it in GitHub Desktop.
InterestsFragment.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"
android:background="@color/white"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/action_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/blue_text">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginBottom="10dp"
android:layout_marginLeft="40dp"
android:layout_marginRight="50dp"
android:layout_marginTop="10dp"
android:layout_toRightOf="@id/action_bar_home_icon"
android:text="@string/choose_interest"
android:textColor="@color/white"
android:textSize="@dimen/font_larger" />
<TextView
android:id="@+id/tv_next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="15dp"
android:text="@string/next"
android:textColor="@color/white"
android:textSize="@dimen/font_normal"
android:textStyle="bold" />
</RelativeLayout>
<TextView
android:id="@+id/tv_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/action_bar"
android:gravity="center"
android:padding="15dp"
android:text="@string/please_choose_at_least_two_interests"
android:textColor="@color/white"
android:fontFamily="sans-serif-smallcaps"
android:background="@color/blue_dark"
android:textSize="@dimen/font_large"
android:textStyle="bold" />
<com.igalata.bubblepicker.rendering.BubblePicker
android:id="@+id/picker"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/tv_header"
app:backgroundColor="@android:color/white" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment