Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sonvp/36d36e86fd60ea2812001afc8313617f to your computer and use it in GitHub Desktop.
Save sonvp/36d36e86fd60ea2812001afc8313617f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/lnContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@color/background_reminder"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_reminder"
android:orientation="vertical">
<LinearLayout
style="@style/RemindersBackgroundMarginStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:orientation="vertical">
<TextView
style="@style/RemindersStyle"
android:text="Details:"
android:textSize="@dimen/font_size_button"/>
<EditText
android:id="@+id/edtDetail"
style="@style/RemindersEditTextStyle"
android:layout_marginBottom="20dp"
android:layout_marginTop="5dp"
android:background="@android:color/transparent"
android:gravity="top"
android:lines="5"
tools:text="Do 5 repeats, nice and slowy"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
</LinearLayout>
</ScrollView>
<Button
android:id="@+id/btnSave"
style="@style/ButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:text="Save"
/>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment