kopia lustrzana https://github.com/ryukoposting/Signal-Android
Update my stories item and landing page empty notice.
rodzic
dbe186248d
commit
5854074d4a
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
@ -41,18 +42,20 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/empty_notice"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dsl_settings_gutter"
|
||||
android:layout_marginEnd="@dimen/dsl_settings_gutter"
|
||||
android:text="@string/StoriesLandingFragment__no_recent_updates"
|
||||
android:layout_marginStart="68dp"
|
||||
android:layout_marginEnd="68dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/StoriesLandingFragment__no_recent_updates_to_show_right_now_tap_plus_to_add_to_your_story"
|
||||
android:textAppearance="@style/Signal.Text.Body"
|
||||
android:textColor="@color/signal_text_secondary"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -79,7 +79,7 @@
|
|||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintTop_toBottomOf="@id/date"
|
||||
app:srcCompat="@drawable/ic_messages_solid_20"
|
||||
app:tint="@color/signal_text_secondary" />
|
||||
app:tint="@color/signal_text_primary_disabled" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.ThumbnailView
|
||||
android:id="@+id/story_multi"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
<org.thoughtcrime.securesms.avatar.view.AvatarView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
@ -54,17 +54,18 @@
|
|||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/story"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="84dp"
|
||||
android:layout_width="@dimen/stories_landing_item_thumb_width"
|
||||
android:layout_height="@dimen/stories_landing_item_thumb_height"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:background="@color/signal_background_secondary"
|
||||
android:scaleType="centerInside"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:shapeAppearance="@style/ShapeAppearanceOverlay.Signal.Story.Preview"
|
||||
app:srcCompat="@drawable/ic_plus_24" />
|
||||
app:srcCompat="@drawable/ic_plus_24"
|
||||
app:tint="@color/signal_inverse_primary" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -4417,7 +4417,7 @@
|
|||
<!-- Subtitle for "My Stories" row item when user has not added stories -->
|
||||
<string name="StoriesLandingFragment__add_a_story">Add a story</string>
|
||||
<!-- Displayed when there are no stories to display -->
|
||||
<string name="StoriesLandingFragment__no_recent_updates">No recent updates to show right now.</string>
|
||||
<string name="StoriesLandingFragment__no_recent_updates_to_show_right_now_tap_plus_to_add_to_your_story">No recent updates to show right now. Tap + to add to your story.</string>
|
||||
<!-- Context menu option to hide a story -->
|
||||
<string name="StoriesLandingItem__hide_story">Hide story</string>
|
||||
<!-- Context menu option to unhide a story -->
|
||||
|
|
Ładowanie…
Reference in New Issue