mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-12-27 01:00:22 +02:00
Merge branch 'display_quotes' into develop
This commit is contained in:
commit
ba745b30f2
1 changed files with 83 additions and 60 deletions
|
|
@ -532,7 +532,6 @@
|
|||
tools:text="1 January 2021, 12:00"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/status_info_container"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -545,57 +544,79 @@
|
|||
android:layout_marginStart="48dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="6dp">
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.8"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="6dp"
|
||||
android:orientation="horizontal">
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="1 January 2021, 12:00" />
|
||||
<ImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:src="@drawable/baseline_circle_24"/>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/language"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
tools:text="EN" />
|
||||
<ImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:src="@drawable/baseline_circle_24"/>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/visibility"
|
||||
android:contentDescription="@string/visibility"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_baseline_public_24" />
|
||||
<ImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:src="@drawable/baseline_circle_24"/>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/app"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?colorPrimary"
|
||||
android:visibility="gone"
|
||||
tools:text="Fedilab"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="48dp"
|
||||
android:alpha="0.8"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="6dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="1 January 2021, 12:00" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:layout_marginHorizontal="6dp"
|
||||
app:srcCompat="@drawable/baseline_circle_24" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/language"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="EN" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:layout_marginHorizontal="6dp"
|
||||
app:srcCompat="@drawable/baseline_circle_24" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/visibility"
|
||||
android:contentDescription="@string/visibility"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:adjustViewBounds="true"
|
||||
app:srcCompat="@drawable/ic_baseline_public_24" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:layout_marginHorizontal="6dp"
|
||||
app:srcCompat="@drawable/baseline_circle_24" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/app"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="?colorPrimary"
|
||||
android:visibility="gone"
|
||||
tools:text="Fedilab"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
</HorizontalScrollView>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="?colorOutline" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -612,12 +633,13 @@
|
|||
android:textColor="?attr/colorControlNormal"
|
||||
app:icon="@drawable/ic_repeat"
|
||||
app:iconTint="?attr/colorControlNormal"
|
||||
tools:text="10"
|
||||
android:layout_marginEnd="10dp"/>
|
||||
<ImageView
|
||||
tools:text="10" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:src="@drawable/baseline_circle_24"/>
|
||||
android:layout_marginHorizontal="3dp"
|
||||
app:srcCompat="@drawable/baseline_circle_24" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/quote_info"
|
||||
|
|
@ -625,30 +647,31 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="48dp"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:textColor="?attr/colorControlNormal"
|
||||
app:icon="@drawable/ic_baseline_format_quote_24"
|
||||
app:iconTint="?attr/colorControlNormal"
|
||||
tools:text="10" />
|
||||
<ImageView
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="5dp"
|
||||
android:layout_height="5dp"
|
||||
android:src="@drawable/baseline_circle_24"/>
|
||||
android:layout_marginHorizontal="3dp"
|
||||
app:srcCompat="@drawable/baseline_circle_24" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/favourite_info"
|
||||
style="@style/Widget.Material3.Button.TextButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="48dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:textColor="?attr/colorControlNormal"
|
||||
app:icon="@drawable/ic_star_outline"
|
||||
app:iconTint="?attr/colorControlNormal"
|
||||
tools:text="10" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/action_share_container"
|
||||
|
|
|
|||
Loading…
Reference in a new issue