Skip to content

Instantly share code, notes, and snippets.

@erdalkaymak
Created July 5, 2021 12:41
Show Gist options
  • Select an option

  • Save erdalkaymak/80df3526a83fee91683a7430b4fae6ca to your computer and use it in GitHub Desktop.

Select an option

Save erdalkaymak/80df3526a83fee91683a7430b4fae6ca to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.weather.WeeklyWeatherDetailFragment">
<TextView
android:id="@+id/detail_high_textview"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
style="@style/TextAppearance.HiA.Headline1"
android:layout_gravity="center"
android:text=""
android:textSize="72sp" />
<TextView
android:id="@+id/txt_city_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/TextAppearance.HiA.Headline2"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:textSize="24dp" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/fab_margin_8"
android:layout_marginRight="@dimen/fab_margin_8"
android:layout_marginTop="10dp" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment