From 7d60dc8c0fe8385c14cc94f3fa252acc54408764 Mon Sep 17 00:00:00 2001 From: ivan agosto Date: Wed, 23 Jan 2019 15:40:41 -0600 Subject: [PATCH 01/14] Updated kotlin + commentaries --- app/app.iml | 80 ++++++++++--------- .../main/res/layout/activity_reproductor.xml | 66 ++++++++++++--- app/src/main/res/values-es/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + build.gradle | 4 +- gradle/wrapper/gradle-wrapper.properties | 4 +- p2play.iml | 8 -- 7 files changed, 106 insertions(+), 60 deletions(-) diff --git a/app/app.iml b/app/app.iml index e1aef5e..bcbc323 100644 --- a/app/app.iml +++ b/app/app.iml @@ -22,18 +22,18 @@ - + @@ -56,17 +56,15 @@ - - + - + - - + - + @@ -112,14 +110,18 @@ + + + + @@ -127,6 +129,8 @@ + + @@ -135,6 +139,7 @@ + @@ -143,6 +148,7 @@ + @@ -153,47 +159,47 @@ - - + + - - - - - - - + + + + + + + + + + + + - - + - - - + - + + - + + - - - + - - - + + - - + - + - + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_reproductor.xml b/app/src/main/res/layout/activity_reproductor.xml index 3eeb428..a4195ff 100644 --- a/app/src/main/res/layout/activity_reproductor.xml +++ b/app/src/main/res/layout/activity_reproductor.xml @@ -7,11 +7,11 @@ tools:context=".ReproductorActivity"> + app:layout_constraintTop_toTopOf="parent" + android:layout_height="wrap_content"> + android:layout_height="270dp"> @@ -33,7 +33,7 @@ android:id="@+id/tittleVideoTxt" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingLeft="5dp" + android:paddingStart="5dp" android:textAppearance="@android:style/TextAppearance.Material.Large" android:textStyle="bold" /> @@ -42,6 +42,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="5dp" + android:paddingRight="5dp" android:textSize="12sp" /> @@ -170,10 +171,10 @@ android:id="@+id/descriptionVideoTxt" android:layout_width="match_parent" android:layout_height="wrap_content" + android:inputType="none|textLongMessage" android:maxLength="1000" - android:maxLines="1000" - android:paddingLeft="5dp" - android:text="TextView" + android:maxLines="10" + android:text="-" android:textStyle="italic" /> @@ -183,6 +184,49 @@ android:layout_height="1dp" android:background="?android:attr/listDivider" /> + + + + + + + + + + + + +