|
|
@ -14,7 +14,7 @@
|
|
|
|
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
|
|
|
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
see <http://www.gnu.org/licenses>.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/main_container"
|
|
|
|
android:id="@+id/main_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:showDividers="end">
|
|
|
|
android:showDividers="end">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
|
|
android:id="@+id/decoration_container"
|
|
|
|
android:id="@+id/decoration_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp">
|
|
|
|
android:layout_marginStart="10dp">
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/comment_account_profile"
|
|
|
|
android:id="@+id/comment_account_profile"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
@ -50,7 +50,7 @@
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/comment_account_displayname"
|
|
|
|
android:id="@+id/comment_account_displayname"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
@ -61,7 +61,7 @@
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/comment_account_profile"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/comment_account_profile"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/comment_account_username"
|
|
|
|
android:id="@+id/comment_account_username"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
@ -74,7 +74,7 @@
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/comment_account_profile"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/comment_account_profile"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_account_displayname" />
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_account_displayname" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/comment_date"
|
|
|
|
android:id="@+id/comment_date"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
@ -87,7 +87,7 @@
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/more_actions"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/more_actions"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/more_actions"
|
|
|
|
android:id="@+id/more_actions"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_date" />
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_date" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/comment_content"
|
|
|
|
android:id="@+id/comment_content"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
@ -108,35 +108,34 @@
|
|
|
|
app:layout_constraintStart_toStartOf="@id/comment_account_profile"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/comment_account_profile"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_account_profile" />
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_account_profile" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/number_of_replies"
|
|
|
|
android:id="@+id/number_of_replies"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:textColor="?attr/colorPrimary"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/replyButton"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/replyButton"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/comment_account_profile"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/comment_account_profile"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_content" />
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/comment_content" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/replyButton"
|
|
|
|
android:id="@+id/replyButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:text="@string/reply"
|
|
|
|
android:text="@string/reply"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:textColor="?attr/colorPrimary"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/number_of_replies"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/number_of_replies"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/number_of_replies" />
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/number_of_replies" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/post_reply_button"
|
|
|
|
android:id="@+id/post_reply_button"
|
|
|
|
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
|
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/add_public_reply"
|
|
|
|
android:text="@string/add_public_reply"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
|
|
|
|
android:visibility="gone"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
@ -144,4 +143,4 @@
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|