|
|
|
|
@ -7,14 +7,13 @@
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clipChildren="false" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:paddingLeft="14dp" |
|
|
|
|
android:paddingRight="14dp"> |
|
|
|
|
android:clipToPadding="false"> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/status_avatar" |
|
|
|
|
android:layout_width="48dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="14dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:contentDescription="@string/action_view_profile" |
|
|
|
|
@ -81,14 +80,17 @@
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/status_content_warning_description" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:hyphenationFrequency="full" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:lineSpacingMultiplier="1.1" |
|
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
|
android:textSize="?attr/status_text_large" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/status_avatar" |
|
|
|
|
tools:text="CW this is a long long long long long long long long content warning" /> |
|
|
|
|
@ -98,6 +100,7 @@
|
|
|
|
|
style="@style/TuskyButton.Outlined" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
@ -117,14 +120,16 @@
|
|
|
|
|
android:id="@+id/status_content" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:hyphenationFrequency="full" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:lineSpacingMultiplier="1.1" |
|
|
|
|
android:textIsSelectable="true" |
|
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
|
android:textIsSelectable="true" |
|
|
|
|
android:textSize="?attr/status_text_large" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
@ -135,7 +140,9 @@
|
|
|
|
|
android:id="@+id/status_card_view" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:background="@drawable/card_frame" |
|
|
|
|
android:clipChildren="true" |
|
|
|
|
android:foreground="?attr/selectableItemBackground" |
|
|
|
|
@ -201,7 +208,9 @@
|
|
|
|
|
android:id="@+id/status_media_preview_container" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="12dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:background="@drawable/media_preview_outline" |
|
|
|
|
android:importantForAccessibility="noHideDescendants" |
|
|
|
|
@ -215,7 +224,9 @@
|
|
|
|
|
android:id="@+id/status_poll_options" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:nestedScrollingEnabled="false" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
@ -227,6 +238,7 @@
|
|
|
|
|
style="@style/TuskyButton.Outlined" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:gravity="center" |
|
|
|
|
android:minWidth="150dp" |
|
|
|
|
@ -244,7 +256,9 @@
|
|
|
|
|
android:id="@+id/status_poll_description" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:textSize="?attr/status_text_medium" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
@ -255,7 +269,9 @@
|
|
|
|
|
android:id="@+id/status_timestamp_info" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="10dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:drawablePadding="4dp" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
@ -270,7 +286,9 @@
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
android:layout_below="@id/status_timestamp_info" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:background="?android:attr/listDivider" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:paddingStart="16dp" |
|
|
|
|
@ -318,7 +336,9 @@
|
|
|
|
|
android:id="@+id/status_buttons_divider" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
android:layout_marginStart="14dp" |
|
|
|
|
android:layout_marginTop="6dp" |
|
|
|
|
android:layout_marginEnd="14dp" |
|
|
|
|
android:background="?android:attr/listDivider" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:paddingStart="16dp" |
|
|
|
|
@ -328,10 +348,8 @@
|
|
|
|
|
<ImageButton |
|
|
|
|
android:id="@+id/status_reply" |
|
|
|
|
style="@style/TuskyImageButton" |
|
|
|
|
android:layout_width="40dp" |
|
|
|
|
android:layout_height="40dp" |
|
|
|
|
android:layout_marginTop="4dp" |
|
|
|
|
android:layout_marginBottom="4dp" |
|
|
|
|
android:layout_width="52dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:contentDescription="@string/action_reply" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:padding="4dp" |
|
|
|
|
@ -344,8 +362,8 @@
|
|
|
|
|
|
|
|
|
|
<at.connyduck.sparkbutton.SparkButton |
|
|
|
|
android:id="@+id/status_inset" |
|
|
|
|
android:layout_width="40dp" |
|
|
|
|
android:layout_height="40dp" |
|
|
|
|
android:layout_width="52dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:contentDescription="@string/action_reblog" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
@ -361,8 +379,8 @@
|
|
|
|
|
|
|
|
|
|
<at.connyduck.sparkbutton.SparkButton |
|
|
|
|
android:id="@+id/status_favourite" |
|
|
|
|
android:layout_width="40dp" |
|
|
|
|
android:layout_height="40dp" |
|
|
|
|
android:layout_width="52dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:contentDescription="@string/action_favourite" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
@ -378,8 +396,8 @@
|
|
|
|
|
|
|
|
|
|
<at.connyduck.sparkbutton.SparkButton |
|
|
|
|
android:id="@+id/status_bookmark" |
|
|
|
|
android:layout_width="40dp" |
|
|
|
|
android:layout_height="40dp" |
|
|
|
|
android:layout_width="52dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:clipToPadding="false" |
|
|
|
|
android:contentDescription="@string/action_bookmark" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
@ -396,8 +414,8 @@
|
|
|
|
|
<ImageButton |
|
|
|
|
android:id="@+id/status_more" |
|
|
|
|
style="@style/TuskyImageButton" |
|
|
|
|
android:layout_width="32dp" |
|
|
|
|
android:layout_height="32dp" |
|
|
|
|
android:layout_width="52dp" |
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
android:contentDescription="@string/action_more" |
|
|
|
|
android:importantForAccessibility="no" |
|
|
|
|
android:padding="4dp" |
|
|
|
|
|