-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Reza Amuzadeh
committed
Jun 29, 2019
1 parent
581307e
commit dbbe631
Showing
10 changed files
with
172 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
@@ -1,14 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
tools:context=".MainActivity"> | ||
android:orientation="vertical"> | ||
|
||
<com.potyvideo.library.AndExoPlayerView | ||
android:id="@+id/andExoPlayerView" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
android:layout_height="wrap_content" | ||
app:andexo_full_screen="true" | ||
app:andexo_resize_mode="Fill" /> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="click 1" /> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="click 2" /> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="click 3" /> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="click 4" /> | ||
|
||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:padding="@dimen/global_padding_extra" | ||
android:text="SOME OTHER VIEWS" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="click 5" /> | ||
|
||
<androidx.appcompat.widget.AppCompatButton | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="click 6" /> | ||
|
||
</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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<declare-styleable name="AndExoPlayerView"> | ||
<attr name="andexo_resize_mode" /> | ||
<attr name="andexo_full_screen" format="boolean" /> | ||
</declare-styleable> | ||
|
||
<attr name="andexo_resize_mode" format="enum"> | ||
<enum name="Fit" value="1" /> | ||
<enum name="Fill" value="2" /> | ||
<enum name="Zoom" value="3" /> | ||
</attr> | ||
|
||
</resources> |
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