DT @11.12.2015: Report-Workflow weiterentwickelt (noch nicht fertig), Map-Icons hinzugefügt, Performance auf der Map verbessert, Theme angepasst
This commit is contained in:
@@ -1,57 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
|
||||
android:padding="0dip"
|
||||
android:fillViewport="true"
|
||||
android:background="@drawable/layout_bg_gradient"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout android:id="@+id/menu_ll"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:animateLayoutChanges="true">
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_01"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_reportwf_1_question"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="What happened?"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_margin="20dp"
|
||||
android:textColor="@color/bg_common" />
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_01_01"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
android:animateLayoutChanges="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Spinner
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="5dp"
|
||||
android:maxLength="10"
|
||||
android:background="@drawable/dropbox_2"
|
||||
android:id="@+id/dd_reportwf_1_cat_main"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_below="@id/lbl_reportwf_1_question"/>
|
||||
<TextView
|
||||
android:id="@+id/lbl_reportwf_1_question"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="What happened?"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_margin="20dp"
|
||||
android:textColor="@color/bg_common" />
|
||||
|
||||
<Spinner
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_margin="5dp"
|
||||
android:maxLength="10"
|
||||
android:background="@drawable/dropbox_2"
|
||||
android:id="@+id/dd_reportwf_1_cat_sub"
|
||||
android:spinnerMode="dropdown"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_main"/>
|
||||
<Spinner
|
||||
android:id="@+id/dd_reportwf_1_cat_main"
|
||||
android:background="@drawable/dropdown_4"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="52dp"
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_below="@id/lbl_reportwf_1_question"/>
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:hint="Please enter your info here"
|
||||
android:id="@+id/txt_reportwf_1_cat_etc"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_sub"/>
|
||||
<Spinner
|
||||
android:id="@+id/dd_reportwf_1_cat_sub"
|
||||
android:background="@drawable/dropdown_4"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="52dp"
|
||||
android:layout_margin="5dp"
|
||||
android:spinnerMode="dialog"
|
||||
android:prompt="@string/lbl_spinner_choose"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_main"/>
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:hint="Please enter your info here"
|
||||
android:id="@+id/txt_reportwf_1_cat_etc"
|
||||
android:layout_below="@id/dd_reportwf_1_cat_sub"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll_pos"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/lbl_reportwf_1_question_2"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="Can you tell us the place?"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_margin="20dp"
|
||||
android:textColor="@color/bg_common" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="70dp"
|
||||
android:background="@drawable/layout_bg"
|
||||
android:hint="No position choosen yet"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/lbl_reportwf_position_detail"
|
||||
android:layout_alignTop="@+id/btn_reportwf_position"
|
||||
android:layout_toRightOf="@+id/btn_reportwf_position"
|
||||
android:layout_marginLeft="20dp" />
|
||||
|
||||
<com.beardedhen.androidbootstrap.BootstrapButton
|
||||
android:id="@+id/btn_reportwf_position"
|
||||
android:layout_marginTop="3dp"
|
||||
bootstrap:bootstrapText="@string/btn_report_position"
|
||||
android:layout_below="@+id/lbl_reportwf_1_question_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
bootstrap:bootstrapBrand="primary"
|
||||
bootstrap:roundedCorners="true"
|
||||
bootstrap:bootstrapSize="lg"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_01_02"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:animateLayoutChanges="true"
|
||||
android:layout_marginBottom="0dp">
|
||||
|
||||
<com.beardedhen.androidbootstrap.AwesomeTextView
|
||||
android:id="@+id/atv_reportwf_1_finish"
|
||||
@@ -64,5 +127,7 @@
|
||||
android:layout_alignTop="@+id/txt_reportwf_1_cat_etc"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="19dp" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
Reference in New Issue
Block a user