mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
[android] Apply updated Android XML layout formatting
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge
|
||||
android:id="@+id/merge"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<merge 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/merge"
|
||||
tools:layout_height="wrap_content"
|
||||
tools:layout_width="match_parent"
|
||||
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"
|
||||
@@ -20,7 +19,7 @@
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@mipmap/ic_launcher_round"/>
|
||||
tools:src="@mipmap/ic_launcher_round" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/avatarIcon"
|
||||
@@ -33,23 +32,23 @@
|
||||
android:src="@drawable/ic_repeat"
|
||||
android:visibility="invisible"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="@+id/avatar"/>
|
||||
app:layout_constraintEnd_toEndOf="@+id/avatar" />
|
||||
|
||||
<com.vanniktech.emoji.EmojiTextView
|
||||
android:id="@+id/authorName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/margin_medium"
|
||||
android:layout_marginLeft="@dimen/margin_medium"
|
||||
android:layout_marginRight="@dimen/margin_medium"
|
||||
android:layout_marginStart="@dimen/margin_medium"
|
||||
android:layout_marginLeft="@dimen/margin_medium"
|
||||
android:layout_marginEnd="@dimen/margin_medium"
|
||||
android:layout_marginRight="@dimen/margin_medium"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="@dimen/text_size_small"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toStartOf="@+id/trustIndicator"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="Author View that can have a long name"/>
|
||||
tools:text="Author View that can have a long name" />
|
||||
|
||||
<org.briarproject.briar.android.view.TrustIndicatorView
|
||||
android:id="@+id/trustIndicator"
|
||||
@@ -61,7 +60,7 @@
|
||||
app:layout_constraintTop_toTopOf="@+id/authorName"
|
||||
app:layout_goneMarginEnd="0dp"
|
||||
app:layout_goneMarginStart="0dp"
|
||||
tools:src="@drawable/trust_indicator_verified"/>
|
||||
tools:src="@drawable/trust_indicator_verified" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/dateView"
|
||||
@@ -72,6 +71,6 @@
|
||||
app:layout_constraintStart_toStartOf="@+id/authorName"
|
||||
app:layout_constraintTop_toBottomOf="@+id/authorName"
|
||||
tools:text="yesterday"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
</merge>
|
||||
|
||||
Reference in New Issue
Block a user