Skip to content
Snippets Groups Projects
Commit 4a000b16 authored by Taras's avatar Taras
Browse files

Update create video post layout

parent 98a436fa
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerCrop"
android:src="@drawable/blurred_placeholder"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintDimensionRatio="w,1:1"
app:layout_constraintEnd_toEndOf="parent"
......
<?xml version="1.0" encoding="utf-8"?>
<org.futo.circles.view.PostLayout 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:id="@+id/lVideoPost"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include
android:id="@+id/videoItem"
layout="@layout/device_video_list_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintDimensionRatio="w,1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.imageview.ShapeableImageView
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_gravity="center"
android:background="@color/white"
android:src="@drawable/ic_play_round"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintDimensionRatio="w,1:1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.App.CornerSize50Percent"
app:tint="@color/blue" />
<org.futo.circles.view.LoadingView
android:id="@+id/vLoadingView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginHorizontal="16dp"
android:background="@color/white"
android:padding="16dp"
android:visibility="gone"
tools:visibility="visible" />
</FrameLayout>
</org.futo.circles.view.PostLayout>
\ No newline at end of file
......@@ -139,7 +139,7 @@
<string name="create_post">Create post</string>
<string name="send">Send</string>
<string name="enter_your_message_here">Enter your message here</string>
<string name="compressing_image">Compressing image</string>
<string name="compressing">Compressing</string>
<string name="encrypting">Encrypting</string>
<string name="uploading">Uploading</string>
<string name="reply_to_format">Reply to %s</string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment