|
|
|
@ -6,79 +6,90 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:context="MetadataActivity">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
|
android:text="Title:"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/barrier2"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/title"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/title"/>
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/title"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/barrier2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintBaseline_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/feature_image"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView3"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
|
android:text="Feature Image:"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/feature_image"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/barrier2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/feature_image" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Metadata">
|
|
|
|
|
</TextView>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Title:">
|
|
|
|
|
</TextView>
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/title"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:selectAllOnFocus="true"/>
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/feature_image"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:autofillHints="drop img URL"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/barrier2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/url"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="Feature Image:">
|
|
|
|
|
</TextView>
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/feature_image"
|
|
|
|
|
android:layout_width="200dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:inputType="text"
|
|
|
|
|
android:selectAllOnFocus="true"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="URL:"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/barrier2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/url"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/url"
|
|
|
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/url"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:autoLink="web"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/barrier2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/feature_image"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/login"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/login"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:onClick="onButtonSaveClick"
|
|
|
|
|
android:text="Save"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/url" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
|
android:text="URL:"/>
|
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
|
android:id="@+id/barrier2"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:barrierDirection="right"
|
|
|
|
|
app:constraint_referenced_ids="textView,textView2,textView3" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:id="@+id/url"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/login"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="64dp"
|
|
|
|
|
android:layout_marginBottom="64dp"
|
|
|
|
|
android:text="Save"
|
|
|
|
|
android:onClick="onButtonSaveClick"
|
|
|
|
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|