DT @8.11.2015: Delete report function implemented. Some design changes. Fadein and out animation added.

This commit is contained in:
Dennis Thießen
2015-11-08 19:16:25 +01:00
parent ea40208fdb
commit c8551bf081
16 changed files with 320 additions and 63 deletions

View File

@@ -8,6 +8,11 @@
android:layout_height="match_parent"
tools:context=".ReportActivity">
<!-- dummy item for disabling focus -->
<LinearLayout
android:focusable="true" android:focusableInTouchMode="true"
android:layout_width="0px" android:layout_height="0px"/>
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
@@ -30,7 +35,12 @@
android:layout_alignLeft="@+id/input_report_short"
android:layout_alignStart="@+id/input_report_short"/>
<EditText
<com.beardedhen.androidbootstrap.BootstrapEditText
bootstrap:bootstrapSize="lg"
bootstrap:bootstrapBrand="info"
bootstrap:roundedCorners="true"
android:id="@+id/input_report_short"
android:hint="@string/input_report_short_hint"
android:inputType="text"
@@ -50,7 +60,10 @@
android:layout_marginTop="10dp"
android:layout_below="@+id/input_report_short" />
<EditText
<com.beardedhen.androidbootstrap.BootstrapEditText
bootstrap:bootstrapSize="lg"
bootstrap:bootstrapBrand="info"
bootstrap:roundedCorners="true"
android:id="@+id/input_report_long"
android:hint="@string/input_report_long_hint"
android:inputType="textMultiLine"
@@ -63,7 +76,9 @@
android:textColorHint="@color/input_login_hint"
android:layout_below="@+id/lbl_report_long"
android:scrollbars="vertical"
android:minLines="3"/>
android:minLines="1"
android:lines="4"
android:maxLines="4"/>
<TextView
android:id="@+id/lbl_report_category"
@@ -97,18 +112,25 @@
android:layout_alignLeft="@+id/input_report_time"
android:layout_alignStart="@+id/input_report_time"/>
<EditText
<com.beardedhen.androidbootstrap.BootstrapEditText
bootstrap:bootstrapSize="lg"
bootstrap:bootstrapBrand="info"
bootstrap:roundedCorners="true"
android:id="@+id/input_report_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="date"
android:layout_marginRight="5dp"
android:ems="10"
android:layout_below="@+id/lbl_report_date"
android:layout_alignLeft="@+id/lbl_report_date"
android:layout_alignStart="@+id/lbl_report_date"
android:focusable="false"/>
<EditText
<com.beardedhen.androidbootstrap.BootstrapEditText
bootstrap:bootstrapSize="lg"
bootstrap:bootstrapBrand="info"
bootstrap:roundedCorners="true"
android:id="@+id/input_report_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -133,6 +155,7 @@
android:id="@+id/input_report_position"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="City"
android:ems="10"
android:layout_below="@+id/lbl_report_position"
android:layout_alignLeft="@+id/lbl_report_position"
@@ -164,7 +187,7 @@
<LinearLayout
android:id="@+id/ll_01"
android:gravity="center"
android:background="@color/white"
android:background="#34bbff"
android:layout_height="50dp"
android:layout_width="match_parent"
android:layout_marginBottom="0dp">
@@ -182,6 +205,7 @@
</LinearLayout>
<ListView
android:id="@+id/navList"
android:layout_width="200dp"