Skip to content

Commit

Permalink
add template task in homefragment
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusAlvesPereira committed Dec 29, 2023
1 parent b82d958 commit d5918ed
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,34 @@
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />


<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp">

<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dp"
android:text="lastname"
android:textSize="16dp" />

<TextView
android:id="@+id/btnDelete"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:layout_alignParentRight="true"
android:drawableLeft="@drawable/ic_task"
android:padding="5dp" />

<TextView
android:id="@+id/btnEdit"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:layout_marginRight="2dp"
android:layout_toLeftOf="@+id/btnDelete"
android:drawableLeft="@android:drawable/ic_menu_edit"
android:padding="5dp" />
</RelativeLayout>
</FrameLayout>

0 comments on commit d5918ed

Please sign in to comment.