presentation/src/main/res-features/camera/layout/fragment_upload_pic.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 The Smash Ks Open Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<androidx.core.widget.NestedScrollView
style="@style/Constraint.MatchParent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:overScrollMode="never"
tools:context=".features.photograph.UploadPicFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/base_layout"
style="@style/Constraint.MatchParent">
<ImageView
android:id="@+id/iv_upload"
style="@style/Upload.ImageView.Snippet"
tools:src="@drawable/logo_splash"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/til_author"
style="@style/TextInputLayout"
android:layout_marginEnd="@dimen/md_two_unit"
android:layout_marginStart="@dimen/md_two_unit"
android:layout_marginTop="@dimen/md_two_unit"
app:layout_constraintTop_toBottomOf="@id/iv_upload">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/et_author"
style="@style/TextInputEditText"
android:hint="@string/edit_hint_author"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/til_title"
style="@style/TextInputLayout"
android:layout_marginEnd="@dimen/md_two_unit"
android:layout_marginStart="@dimen/md_two_unit"
android:layout_marginTop="@dimen/md_two_unit"
app:layout_constraintTop_toBottomOf="@+id/til_author">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/et_photo_title"
style="@style/TextInputEditText"
android:hint="@string/edit_hint_photo_title"/>
</com.google.android.material.textfield.TextInputLayout>
<com.pchmn.materialchips.ChipsInput
android:id="@+id/ci_tag"
style="@style/Upload.EditText.Tag"
android:layout_marginTop="@dimen/md_two_unit"
app:layout_constraintTop_toBottomOf="@+id/til_title"/>
<ImageButton
android:id="@+id/ib_check"
style="@style/Upload.ImageButton.Check"
android:layout_marginTop="@dimen/md_four_unit"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/ib_cancel"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ci_tag"/>
<ImageButton
android:id="@+id/ib_cancel"
style="@style/Upload.ImageButton.Cancel"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/ib_check"
app:layout_constraintTop_toBottomOf="@+id/ci_tag"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>