-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bit flag for app/src/main/res/layout-land/list_stream_card_item…
….xml (closes #60)
- Loading branch information
1 parent
b25b1e2
commit 3d579ae
Showing
1 changed file
with
0 additions
and
0 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<?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:id="@+id/itemRoot" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="?attr/selectableItemBackground" | ||
android:clickable="true" | ||
android:focusable="true" | ||
android:padding="@dimen/video_item_search_padding"> | ||
|
||
<ImageView | ||
android:id="@+id/itemThumbnailView" | ||
android:layout_width="@dimen/video_item_search_thumbnail_image_width" | ||
android:layout_height="@dimen/video_item_search_thumbnail_image_height" | ||
android:scaleType="fitCenter" | ||
android:src="@drawable/placeholder_thumbnail_video" | ||
app:layout_constraintBottom_toTopOf="@+id/itemProgressView" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<org.schabi.newpipe.views.NewPipeTextView | ||
android:id="@+id/itemDurationView" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="@dimen/video_item_search_duration_margin" | ||
android:layout_marginBottom="@dimen/video_item_search_duration_margin" | ||
android:background="@color/duration_background_color" | ||
android:paddingHorizontal="@dimen/video_item_search_duration_horizontal_padding" | ||
android:paddingVertical="@dimen/video_item_search_duration_vertical_padding" | ||
android:textAllCaps="true" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textColor="@color/duration_text_color" | ||
android:textSize="@dimen/video_item_search_duration_text_size" | ||
app:layout_constraintBottom_toBottomOf="@id/itemThumbnailView" | ||
app:layout_constraintRight_toRightOf="@id/itemThumbnailView" | ||
tools:text="1:09:10" /> | ||
|
||
<org.schabi.newpipe.views.NewPipeTextView | ||
android:id="@+id/itemVideoTitleView" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="@dimen/video_item_search_image_right_margin" | ||
android:ellipsize="end" | ||
android:maxLines="2" | ||
android:textAppearance="?android:attr/textAppearanceLarge" | ||
android:textSize="@dimen/video_item_search_title_text_size" | ||
app:layout_constraintBottom_toTopOf="@+id/itemUploaderView" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@+id/itemThumbnailView" | ||
app:layout_constraintTop_toTopOf="parent" | ||
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" /> | ||
|
||
<org.schabi.newpipe.views.NewPipeTextView | ||
android:id="@+id/itemUploaderView" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:ellipsize="end" | ||
android:lines="1" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textSize="@dimen/video_item_search_uploader_text_size" | ||
app:layout_constraintBottom_toTopOf="@+id/itemAdditionalDetails" | ||
app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView" | ||
app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView" | ||
app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView" | ||
tools:text="Uploader" /> | ||
|
||
<org.schabi.newpipe.views.NewPipeTextView | ||
android:id="@+id/itemAdditionalDetails" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:ellipsize="end" | ||
android:lines="1" | ||
android:textAppearance="?android:attr/textAppearanceSmall" | ||
android:textSize="@dimen/video_item_search_upload_date_text_size" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView" | ||
app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView" | ||
app:layout_constraintTop_toBottomOf="@+id/itemUploaderView" | ||
tools:text="2 years ago • 10M views" /> | ||
|
||
<org.schabi.newpipe.views.AnimatedProgressBar | ||
android:id="@+id/itemProgressView" | ||
style="@style/Widget.AppCompat.ProgressBar.Horizontal" | ||
android:layout_width="0dp" | ||
android:layout_height="4dp" | ||
android:progressDrawable="?progress_horizontal_drawable" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView" | ||
app:layout_constraintStart_toStartOf="@+id/itemThumbnailView" | ||
app:layout_constraintTop_toBottomOf="@+id/itemThumbnailView" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |