Fix tablet ui

This commit is contained in:
Vasiliy 2019-05-06 19:16:39 +03:00
parent 93f2518159
commit 312e1378d3
No known key found for this signature in database
GPG key ID: 9F74C4D2874D7523
2 changed files with 6 additions and 7 deletions

View file

@ -6,7 +6,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
android:orientation="horizontal"> tools:ignore="RtlHardcoded"
android:orientation="horizontal"
android:baselineAligned="false">
<android.support.design.widget.CoordinatorLayout <android.support.design.widget.CoordinatorLayout
android:id="@+id/detail_main_content" android:id="@+id/detail_main_content"
@ -126,7 +128,6 @@
android:textSize="12sp" android:textSize="12sp"
android:textStyle="bold" android:textStyle="bold"
android:visibility="gone" android:visibility="gone"
tools:ignore="RtlHardcoded"
tools:text="12:38" tools:text="12:38"
tools:visibility="visible" /> tools:visibility="visible" />
</FrameLayout> </FrameLayout>
@ -177,7 +178,6 @@
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="@dimen/video_item_detail_title_text_size" android:textSize="@dimen/video_item_detail_title_text_size"
tools:ignore="RtlHardcoded"
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed a ultricies ex. Integer sit amet sodales risus. Duis non mi et urna pretium bibendum. Nunc eleifend est quis ipsum porttitor egestas. Sed facilisis, nisl quis eleifend pellentesque, orci metus egestas dolor, at accumsan eros metus quis libero." /> tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed a ultricies ex. Integer sit amet sodales risus. Duis non mi et urna pretium bibendum. Nunc eleifend est quis ipsum porttitor egestas. Sed facilisis, nisl quis eleifend pellentesque, orci metus egestas dolor, at accumsan eros metus quis libero." />
<ImageView <ImageView
@ -187,7 +187,7 @@
android:layout_gravity="center_vertical|right" android:layout_gravity="center_vertical|right"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
android:src="@drawable/arrow_down" android:src="@drawable/arrow_down"
tools:ignore="ContentDescription,RtlHardcoded" /> tools:ignore="ContentDescription" />
</FrameLayout> </FrameLayout>
@ -253,8 +253,7 @@
android:layout_width="@dimen/video_item_detail_uploader_image_size" android:layout_width="@dimen/video_item_detail_uploader_image_size"
android:layout_height="@dimen/video_item_detail_uploader_image_size" android:layout_height="@dimen/video_item_detail_uploader_image_size"
android:contentDescription="@string/detail_uploader_thumbnail_view_description" android:contentDescription="@string/detail_uploader_thumbnail_view_description"
android:src="@drawable/buddy" android:src="@drawable/buddy" />
tools:ignore="RtlHardcoded" />
<TextView <TextView
android:id="@+id/detail_uploader_text_view" android:id="@+id/detail_uploader_text_view"

View file

@ -81,7 +81,7 @@
android:textSize="@dimen/video_item_search_uploader_text_size" android:textSize="@dimen/video_item_search_uploader_text_size"
tools:text="Uploader" /> tools:text="Uploader" />
<ProgressBar <org.schabi.newpipe.views.AnimatedProgressBar
android:id="@+id/itemProgressView" android:id="@+id/itemProgressView"
style="@style/Widget.AppCompat.ProgressBar.Horizontal" style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:progressDrawable="?progress_horizontal_drawable" android:progressDrawable="?progress_horizontal_drawable"