mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Merge pull request #3285 from Bnyro/master
Make comments text selectable manually
This commit is contained in:
commit
bb691c19ce
@ -10,8 +10,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
android:animateLayoutChanges="true"
|
|
||||||
android:layout_marginBottom="16dp"
|
android:layout_marginBottom="16dp"
|
||||||
|
android:animateLayoutChanges="true"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="15dp"
|
android:paddingStart="15dp"
|
||||||
android:paddingEnd="15dp">
|
android:paddingEnd="15dp">
|
||||||
@ -43,8 +43,8 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="2"
|
android:maxLines="2"
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
android:textSize="14sp"
|
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
|
android:textSize="14sp"
|
||||||
tools:text="Octacat • 10h" />
|
tools:text="Octacat • 10h" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -72,8 +72,9 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="8dp"
|
||||||
android:textSize="15sp"
|
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
android:textSize="15sp"
|
||||||
tools:text="Comment Text" />
|
tools:text="Comment Text" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -84,12 +85,12 @@
|
|||||||
|
|
||||||
<com.github.libretube.ui.views.DrawableTextView
|
<com.github.libretube.ui.views.DrawableTextView
|
||||||
android:id="@+id/likes_textView"
|
android:id="@+id/likes_textView"
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="5dp"
|
android:layout_marginEnd="5dp"
|
||||||
|
android:drawablePadding="6dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
android:drawablePadding="6dp"
|
|
||||||
app:drawableStartCompat="@drawable/ic_thumb_up"
|
app:drawableStartCompat="@drawable/ic_thumb_up"
|
||||||
app:drawableStartDimen="16dp"
|
app:drawableStartDimen="16dp"
|
||||||
tools:text="1.2k" />
|
tools:text="1.2k" />
|
||||||
@ -105,8 +106,8 @@
|
|||||||
|
|
||||||
<com.github.libretube.ui.views.DrawableTextView
|
<com.github.libretube.ui.views.DrawableTextView
|
||||||
android:id="@+id/replies_count"
|
android:id="@+id/replies_count"
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="6dp"
|
android:drawablePadding="6dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
|
Loading…
Reference in New Issue
Block a user