summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChristofer Ã…kersten <akersten@google.com>2019-02-02 10:48:31 -0800
committerChristofer Ã…kersten <akersten@google.com>2019-02-02 19:35:05 +0000
commitd7cdc7bc09e1e43bf0440a606a8f16555535607a (patch)
tree0df4d422ea09c73dc50f2a5977f3388029c1f995 /res
parent294f5d1dd50048f849b45cdc80cc98bd0ceb2bbe (diff)
downloadUniversalMediaPlayer-d7cdc7bc09e1e43bf0440a606a8f16555535607a.tar.gz
Remove unnecessary LinearLayout from a/v activities
Test: manual Change-Id: I367a7000adf8d7eea714024dcd47356fae05b281
Diffstat (limited to 'res')
-rw-r--r--res/layout/activity_audio_player.xml14
-rw-r--r--res/layout/activity_video_player.xml14
2 files changed, 6 insertions, 22 deletions
diff --git a/res/layout/activity_audio_player.xml b/res/layout/activity_audio_player.xml
index 1eac3bd..070575c 100644
--- a/res/layout/activity_audio_player.xml
+++ b/res/layout/activity_audio_player.xml
@@ -15,16 +15,8 @@
limitations under the License.
-->
-<LinearLayout
+<androidx.media2.widget.VideoView
xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
+ android:id="@+id/video_view"
android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <androidx.media2.widget.VideoView
- android:id="@+id/video_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- />
-
-</LinearLayout>
+ android:layout_height="match_parent"/>
diff --git a/res/layout/activity_video_player.xml b/res/layout/activity_video_player.xml
index 4b054cd..90fbb37 100644
--- a/res/layout/activity_video_player.xml
+++ b/res/layout/activity_video_player.xml
@@ -16,17 +16,9 @@
-->
<!-- TODO(b/123635879) Replace keepScreenOn with a better solution -->
-<LinearLayout
+<androidx.media2.widget.VideoView
xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
+ android:id="@+id/video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:keepScreenOn="true">
-
- <androidx.media2.widget.VideoView
- android:id="@+id/video_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- />
-
-</LinearLayout>
+ android:keepScreenOn="true"/>