Created
October 22, 2021 08:56
-
-
Save fraxito/1ecbdbf06c92398b15defa69f1135fc0 to your computer and use it in GitHub Desktop.
Android iSonidos
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
<?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:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/black" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="5" | |
android:background="@android:color/black"> | |
<VideoView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_horizontal|center_vertical" | |
android:id="@+id/videoView"> | |
</VideoView> | |
</LinearLayout> | |
<ScrollView | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="5" | |
android:background="@android:color/black"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@android:color/black" | |
android:orientation="vertical" | |
android:id="@+id/botones"> | |
<Button | |
android:id="@+id/button" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:onClick="reproduceVideo" | |
android:text="@string/sonido02" | |
android:tag="v_simpsons_desde_que_era_chiquitin" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
</LinearLayout> | |
</ScrollView> | |
</LinearLayout> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment