Small cleanup

This commit is contained in:
Benoit Marty 2020-06-30 18:03:25 +02:00
parent a1ce245e3a
commit 6e66c31911
4 changed files with 14 additions and 14 deletions

View File

@ -164,7 +164,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils # android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If it is ok, change the value in file forbidden_strings_in_code.txt ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If it is ok, change the value in file forbidden_strings_in_code.txt
enum class===72 enum class===73
### Do not import temporary legacy classes ### Do not import temporary legacy classes
import im.vector.matrix.android.internal.legacy.riot===3 import im.vector.matrix.android.internal.legacy.riot===3

View File

@ -60,7 +60,6 @@ import im.vector.matrix.android.api.session.room.timeline.getTextEditableContent
import im.vector.matrix.android.api.util.toOptional import im.vector.matrix.android.api.util.toOptional
import im.vector.matrix.android.internal.crypto.attachments.toElementToDecrypt import im.vector.matrix.android.internal.crypto.attachments.toElementToDecrypt
import im.vector.matrix.android.internal.crypto.model.event.EncryptedEventContent import im.vector.matrix.android.internal.crypto.model.event.EncryptedEventContent
import im.vector.matrix.rx.asObservable
import im.vector.matrix.android.internal.crypto.model.event.WithHeldCode import im.vector.matrix.android.internal.crypto.model.event.WithHeldCode
import im.vector.matrix.rx.rx import im.vector.matrix.rx.rx
import im.vector.matrix.rx.unwrap import im.vector.matrix.rx.unwrap

View File

@ -65,7 +65,7 @@
android:id="@+id/messageContentMergedUTDStub" android:id="@+id/messageContentMergedUTDStub"
style="@style/TimelineContentStubBaseParams" style="@style/TimelineContentStubBaseParams"
android:layout="@layout/item_timeline_event_merged_utd_stub" android:layout="@layout/item_timeline_event_merged_utd_stub"
tools:layout_marginTop="240dp" tools:layout_marginTop="380dp"
tools:visibility="visible" /> tools:visibility="visible" />
</FrameLayout> </FrameLayout>

View File

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout 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" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/mergedUTDTile" android:id="@+id/mergedUTDTile"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:orientation="vertical"
android:gravity="center_vertical"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="2dp" android:layout_marginTop="2dp"
android:layout_marginEnd="52dp" android:layout_marginEnd="52dp"
android:layout_marginBottom="2dp" android:layout_marginBottom="2dp"
android:background="@drawable/rounded_rect_shape_8" android:background="@drawable/rounded_rect_shape_8"
android:gravity="center_vertical"
android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
@ -26,27 +26,27 @@
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:drawableStart="@drawable/ic_clock" android:drawableStart="@drawable/ic_clock"
android:drawableTint="?riotx_text_secondary"
android:drawablePadding="2dp" android:drawablePadding="2dp"
android:gravity="start" android:gravity="start"
android:text="@string/notice_crypto_unable_to_decrypt_merged"
android:textColor="?riotx_text_secondary" android:textColor="?riotx_text_secondary"
android:textSize="15sp" android:textSize="15sp"
android:text="@string/notice_crypto_unable_to_decrypt_merged" /> app:drawableTint="?riotx_text_secondary" />
<TextView <TextView
android:id="@+id/itemVerificationDoneDetailTextView" android:id="@+id/itemVerificationDoneDetailTextView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginBottom="12dp" android:layout_marginBottom="12dp"
android:gravity="center"
android:text="@string/notice_crypto_unable_to_decrypt_friendly_desc"
android:textColor="?riotx_text_secondary" android:textColor="?riotx_text_secondary"
android:textSize="12sp" android:textSize="12sp"
android:textStyle="italic" android:textStyle="italic" />
android:text="@string/notice_crypto_unable_to_decrypt_friendly_desc" />
<TextView <TextView
@ -59,11 +59,12 @@
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:paddingBottom="4dp" android:paddingBottom="4dp"
android:visibility="gone"
android:text="@string/merged_events_expand" android:text="@string/merged_events_expand"
android:textColor="?attr/colorAccent" android:textColor="?attr/colorAccent"
android:textSize="14sp" android:textSize="14sp"
android:textStyle="italic" /> android:textStyle="italic"
android:visibility="gone"
tools:visibility="visible" />
</LinearLayout> </LinearLayout>