-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a simple view of the RYD info when the user clicks the area wit…
…h views/thumbs (closes #44)
- Loading branch information
1 parent
786ea63
commit 57d216b
Showing
5 changed files
with
155 additions
and
1 deletion.
There are no files selected for viewing
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
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
106 changes: 106 additions & 0 deletions
106
app/src/main/res/layout/dialog_return_youtube_dislike_info.xml
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,106 @@ | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:paddingStart="32dp" | ||
android:paddingTop="16dp" | ||
android:paddingEnd="16dp" | ||
android:paddingBottom="16dp"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="6dp" | ||
android:gravity="center" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="👍" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" /> | ||
|
||
<TextView | ||
android:id="@+id/likeCount" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginStart="24dp" | ||
android:gravity="start" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" | ||
tools:text="777" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="6dp" | ||
android:gravity="center" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="👎" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" /> | ||
|
||
<TextView | ||
android:id="@+id/dislikeCount" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginStart="24dp" | ||
android:gravity="start" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" | ||
tools:text="777" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="6dp" | ||
android:gravity="center" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="⭐" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" /> | ||
|
||
<TextView | ||
android:id="@+id/ratio" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginStart="24dp" | ||
android:gravity="start" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" | ||
tools:text="1.55 / 5" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="6dp" | ||
android:gravity="center" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="👁️" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" /> | ||
|
||
<TextView | ||
android:id="@+id/viewCount" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginStart="24dp" | ||
android:gravity="start" | ||
android:textSize="@dimen/video_item_detail_return_youtube_dislike_info_text_size" | ||
tools:text="7777777" /> | ||
</LinearLayout> | ||
</LinearLayout> |
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
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