|
|
@ -23,7 +23,7 @@ |
|
|
|
app:popupTheme="@style/ToolbarTheme" /> |
|
|
|
</android.support.design.widget.AppBarLayout> |
|
|
|
|
|
|
|
<ScrollView |
|
|
|
<android.support.v4.widget.NestedScrollView |
|
|
|
android:id="@+id/upload_outer_scrollview" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
@ -84,8 +84,7 @@ |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:hint="@string/upload_description_hint" |
|
|
|
android:inputType="textMultiLine" |
|
|
|
android:maxLines="3" /> |
|
|
|
android:inputType="textMultiLine" /> |
|
|
|
</android.support.design.widget.TextInputLayout> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatButton |
|
|
@ -98,16 +97,16 @@ |
|
|
|
android:textAlignment="center" |
|
|
|
android:textColor="@color/accent" /> |
|
|
|
|
|
|
|
<TextView |
|
|
|
<android.support.v7.widget.AppCompatTextView |
|
|
|
android:id="@+id/upload_filename" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginBottom="6dp" |
|
|
|
android:layout_marginTop="6dp" |
|
|
|
android:drawablePadding="5dp" |
|
|
|
android:ellipsize="marquee" |
|
|
|
android:singleLine="true" |
|
|
|
android:textColor="@color/primary_text" |
|
|
|
android:text="@string/upload_filename"/> |
|
|
|
android:textColor="@color/primary_text" /> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
@ -142,20 +141,11 @@ |
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
android:drawablePadding="5dp" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:text="@string/upload_select_file" |
|
|
|
android:text="@string/upload_take_photo" |
|
|
|
android:textColor="@color/primary_text" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatButton |
|
|
|
android:id="@+id/upload_upload_button" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:gravity="center_vertical" |
|
|
|
android:text="@string/upload_upload_button" |
|
|
|
android:textAlignment="center" |
|
|
|
android:textColor="@color/accent" /> |
|
|
|
</LinearLayout> |
|
|
|
</ScrollView> |
|
|
|
</android.support.v4.widget.NestedScrollView> |
|
|
|
|
|
|
|
<me.zhanghai.android.materialprogressbar.MaterialProgressBar |
|
|
|
android:id="@+id/progressBar" |
|
|
@ -168,6 +158,15 @@ |
|
|
|
app:layout_anchorGravity="bottom|center" |
|
|
|
app:mpb_indeterminateTint="@color/accent" |
|
|
|
app:mpb_progressStyle="horizontal" /> |
|
|
|
</android.support.design.widget.CoordinatorLayout> |
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton |
|
|
|
android:id="@+id/upload_fab" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_gravity="bottom|end" |
|
|
|
android:layout_marginBottom="@dimen/fab_margins" |
|
|
|
android:layout_marginEnd="@dimen/fab_margins" |
|
|
|
app:layout_behavior="gr.thmmy.mthmmy.utils.ScrollAwareFABBehavior" |
|
|
|
app:srcCompat="@drawable/ic_file_upload_white_24dp" /> |
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |