add rental form

This commit is contained in:
ikarulus 2019-01-07 01:12:59 +01:00
parent de5c508ac0
commit 04fa5b188a

View file

@ -5,5 +5,40 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".RentActivity"> tools:context=".RentActivity">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/rent_form"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/bike_id"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/prompt_bike_id"
android:inputType="number"
android:maxLines="1"
android:singleLine="true" />
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/rent_submit_button"
style="?android:textAppearanceSmall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/action_rent_submit"
android:textStyle="bold" />
</LinearLayout>
</ScrollView>
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>