Skip to content

Commit

Permalink
Merge pull request #11 from joseRelvasF3m/newbranch
Browse files Browse the repository at this point in the history
submissao
  • Loading branch information
joseRelvasF3m authored Jun 29, 2019
2 parents df5eeb0 + e0c9190 commit 0894ac8
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions appintro/src/main/res/layout/appintro_fragment_intro_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,38 @@
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">

<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"
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="90dp"
android:paddingBottom="24dp">
android:background="#000">

<TextView
android:id="@+id/title"
style="@style/AppIntroDefaultHeading"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
app:layout_constraintBottom_toTopOf="@+id/image"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="Welcome"
android:visibility="gone"
/>

<TextView
android:id="@+id/description"
app:layout_constraintBottom_toTopOf="@id/image"
android:layout_gravity="center"
android:layout_weight="0.9"
android:gravity="center"
android:textColor="@android:color/white"
android:textSize="16sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="64dp"
app:layout_constraintBottom_toTopOf="@+id/image"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"

tools:text="This is a demo of the AppIntro Library" />

<ImageView
android:id="@+id/image"
android:layout_gravity="center"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="64dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/description"
Expand Down

0 comments on commit 0894ac8

Please sign in to comment.