Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:custom="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:baselineAligned="true"
- android:orientation="vertical"
- android:weightSum="1">
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="match_parent"
- android:fillViewport="false"
- android:id="@+id/formScrollView">
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <!-- all form fields goes here -->
- </LinearLayout>
- </ScrollView>
- <FrameLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/white"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:padding="@dimen/done_button_padding"
- android:id="@+id/happeningDoneLayout">
- <Button
- android:id="@+id/doneButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:text="@string/done"
- android:layout_alignParentBottom="true"/>
- <Button
- android:id="@+id/cancelButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:text="@string/cancel"
- android:layout_alignParentBottom="true"/>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement