Created
April 18, 2015 21:07
-
-
Save Floern/12e7d40ed3b6539e72e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout | |
... | |
tools:context=".MainActivity"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" /> | |
<LinearLayout | |
xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:id="@+id/main_content" | |
android:layout_below="@id/toolbar"> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<android.support.v7.widget.CardView | |
xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/stop_card" | |
android:layout_gravity="center" | |
android:layout_width="match_parent" | |
android:layout_height="100dp" | |
android:layout_marginTop="5dp" | |
android:layout_marginBottom="36dp" | |
card_view:cardCornerRadius="4dp"> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:paddingLeft="10dp" | |
android:paddingTop="5dp" | |
android:paddingRight="10dp" | |
android:paddingBottom="5dp"> | |
<TextView | |
android:id="@+id/label_stop" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:text="Fermata" | |
android:textSize="25sp" | |
android:textStyle="bold" | |
android:singleLine="true" /> | |
<EditText | |
android:id="@+id/edit_stop" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:inputType="number" | |
android:ems="10" | |
android:layout_gravity="end" /> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="72dp" | |
android:layout_alignParentBottom="true"> | |
<com.gc.materialdesign.views.ButtonFloat | |
android:id="@+id/buttonFloat" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:background="#1E88E5" | |
materialdesign:animate="true" | |
materialdesign:iconDrawable="@android:drawable/ic_menu_search" | |
android:layout_gravity="end" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentEnd="true" /> | |
</RelativeLayout> | |
</RelativeLayout> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment