Criado projeto scroll view
This commit is contained in:
BIN
app/src/main/res/drawable/coca.jpg
Normal file
BIN
app/src/main/res/drawable/coca.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
BIN
app/src/main/res/drawable/fantal.png
Normal file
BIN
app/src/main/res/drawable/fantal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
BIN
app/src/main/res/drawable/sprite.jpg
Normal file
BIN
app/src/main/res/drawable/sprite.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
66
app/src/main/res/layout/MenuRefri.xml
Normal file
66
app/src/main/res/layout/MenuRefri.xml
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
<?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:id="@+id/main"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
tools:context=".MainActivity">
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:contentDescription="@string/app_name"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
app:srcCompat="@drawable/coca" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/textView2"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/txt_coca" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView2"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
app:srcCompat="@drawable/fantal" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/textView3"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/txt_fantal" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView3"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
app:srcCompat="@drawable/sprite" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/textView4"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/txt_sprite" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
@@ -3,4 +3,7 @@
|
|||||||
<string name="txt_marconara">Macarrão Cabonara</string>
|
<string name="txt_marconara">Macarrão Cabonara</string>
|
||||||
<string name="txt_risotto">Risotto</string>
|
<string name="txt_risotto">Risotto</string>
|
||||||
<string name="txt_rondo">Rondelli</string>
|
<string name="txt_rondo">Rondelli</string>
|
||||||
|
<string name="txt_coca">Coca Cola</string>
|
||||||
|
<string name="txt_fantal">Fanta Laranja</string>
|
||||||
|
<string name="txt_sprite">Sprite</string>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user