Skip to content

Commit

Permalink
my listings xml complete
Browse files Browse the repository at this point in the history
  • Loading branch information
vavali08 committed Dec 8, 2023
1 parent b41a668 commit 092f7be
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,39 @@
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/draft_house_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/subletting_house" />

<TextView
android:id="@+id/textView4"
android:id="@+id/draft_no_listings_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5sp"
android:fontFamily="@font/sf_pro_display_regular"
android:text="@string/you_currently_have_no_listings"
android:textColor="#8A8A8D"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/draft_house_image" />

<Button
android:id="@+id/draft_add_listing_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="drafts"
android:layout_margin="5sp"
android:backgroundTint="#639AFF"
android:radius="30sp"
android:text="Add Listing"
android:textColor="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@+id/draft_no_listings_text" />
</androidx.constraintlayout.widget.ConstraintLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,39 @@
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/posted_house_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/subletting_house" />

<TextView
android:id="@+id/textView5"
android:id="@+id/posted_no_listings_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5sp"
android:fontFamily="@font/sf_pro_display_regular"
android:text="@string/you_currently_have_no_draft_listings"
android:textColor="#8A8A8D"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/posted_house_image" />

<Button
android:id="@+id/draft_add_listing_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="posted"
android:layout_margin="5sp"
android:backgroundTint="#639AFF"
android:radius="30sp"
android:text="@string/add_listing"
android:textColor="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@+id/posted_no_listings_text" />
</androidx.constraintlayout.widget.ConstraintLayout>
3 changes: 3 additions & 0 deletions PennMobile/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,7 @@
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
<string name="my_listings">My Listings</string>
<string name="you_currently_have_no_listings">You currently have no listings</string>
<string name="you_currently_have_no_draft_listings">You currently have no draft listings</string>
<string name="add_listing">Add Listing</string>
</resources>

0 comments on commit 092f7be

Please sign in to comment.