Skip to content

Instantly share code, notes, and snippets.

@anta40
Created June 8, 2024 17:41
Show Gist options
  • Save anta40/d605132e7b270676db7d87eba38df6aa to your computer and use it in GitHub Desktop.
Save anta40/d605132e7b270676db7d87eba38df6aa to your computer and use it in GitHub Desktop.
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical"
tools:context=".AboutFragment">
<androidx.cardview.widget.CardView
android:id="@+id/layout_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="4dp"
app:layout_constraintTop_toTopOf="parent">
<Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:title="About Us"
android:titleTextColor="@color/darkBlue" />
</androidx.cardview.widget.CardView>
<LinearLayout
android:id="@+id/layout_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center"
android:orientation="vertical"
android:padding="16dp"
app:layout_constraintTop_toBottomOf="@id/layout_toolbar">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="8dp"
android:background="@drawable/rounded_edit_text"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/tvDescription"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/robaga_rounded_regular"
android:textColor="@color/darkBlue"
android:textSize="20dp"
android:textStyle="bold"
tools:text="Yet another company..." />
<TextView
android:id="@+id/tvDescription1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/robaga_rounded_regular"
android:textColor="@color/darkBlue"
android:textSize="20dp"
android:textStyle="bold"
tools:text="Yet another company..." />
<FrameLayout
android:layout_marginTop="20dp"
android:layout_width="400dp"
android:layout_height="400dp">
<fragment
android:id="@+id/store_map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment