Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:background="#E01C54"
android:layout_width="match_parent">
<View
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="#0F90C0"
android:rotation="50"
android:layout_marginBottom="15dp"/>
<View
android:layout_height="match_parent"
android:layout_width="match_parent"
android:background="#15AFE2"
android:rotation="50"/>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:orientation="vertical"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="18 °C"
android:textSize="81sp"
android:textColor="#FFFFFF"
android:shadowRadius="10"
android:shadowColor="#1E1E1E"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Indramayu, Jawa Barat"
android:textColor="#FFFFFF"
android:textAppearance="?android:attr/textAppearanceMedium"/>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_marginTop="10dp">
<ImageView
android:layout_height="100dp"
android:layout_width="match_parent"
android:src="@drawable/ic_weather_pouring"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Hujan"
android:textColor="#FFFFFF"
android:textSize="30sp"
android:textStyle="bold"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="Minum Baygon Enak Bro"
android:textColor="#F3F3F3"/>
</LinearLayout>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_marginTop="10dp">
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_weight="1.0">
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Kec. Angin"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:layout_centerHorizontal="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="5.1"
android:layout_below="@id/cuacaTextView1"
android:textSize="45sp"
android:textStyle="bold"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView2"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="m/s"
android:layout_toRightOf="@id/cuacaTextView2"
android:textColor="#FFFFFF"
android:layout_centerInParent="true"/>
</RelativeLayout>
<View
android:layout_height="match_parent"
android:layout_width="1dp"
android:background="#FFFFFF"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"/>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Kelembaban"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:layout_centerHorizontal="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="45"
android:layout_below="@id/cuacaTextView1"
android:textSize="45sp"
android:textStyle="bold"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView3"
android:layout_centerHorizontal="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="%"
android:textColor="#FFFFFF"
android:layout_toRightOf="@id/cuacaTextView3"
android:layout_centerInParent="true"/>
</RelativeLayout>
<View
android:layout_height="match_parent"
android:layout_width="1dp"
android:background="#FFFFFF"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"/>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Mendung"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:layout_centerHorizontal="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="63"
android:layout_below="@id/cuacaTextView1"
android:textSize="45sp"
android:textStyle="bold"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView4"
android:layout_centerHorizontal="true"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="%"
android:layout_toRightOf="@id/cuacaTextView4"
android:textColor="#FFFFFF"
android:layout_centerInParent="true"/>
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_weight="1.0">
<RelativeLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:background="#F7CB25"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Hari Ini"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:textStyle="bold"
android:layout_centerHorizontal="true"/>
<ImageView
android:layout_height="35dp"
android:layout_width="wrap_content"
android:src="@drawable/ic_weather_pouring"
android:layout_below="@id/cuacaTextView1"
android:layout_centerHorizontal="true"
android:id="@+id/cuacaImageView1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="16° / 20°"
android:layout_below="@id/cuacaImageView1"
android:textColor="#FFFFFF"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:background="#F9C01D"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Besok"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:textStyle="bold"
android:layout_centerHorizontal="true"/>
<ImageView
android:layout_height="35dp"
android:layout_width="wrap_content"
android:src="@drawable/ic_weather_cloudy"
android:layout_below="@id/cuacaTextView1"
android:layout_centerHorizontal="true"
android:id="@+id/cuacaImageView2"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="16° / 20°"
android:layout_below="@id/cuacaImageView2"
android:textColor="#FFFFFF"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="5dp"
android:background="#F6B41D"
android:layout_weight="1.0">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Lusa"
android:textColor="#FFFFFF"
android:id="@+id/cuacaTextView1"
android:textStyle="bold"
android:layout_centerHorizontal="true"/>
<ImageView
android:layout_height="35dp"
android:layout_width="wrap_content"
android:src="@drawable/ic_weather_lightning"
android:layout_below="@id/cuacaTextView1"
android:layout_centerHorizontal="true"
android:id="@+id/cuacaImageView3"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="14° / 18°"
android:layout_below="@id/cuacaImageView3"
android:textColor="#FFFFFF"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
</LinearLayout>
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:padding="1dp">
<RelativeLayout
android:layout_height="37dp"
android:layout_width="match_parent"
android:orientation="horizontal"
android:background="#F1F1F1">
<ImageView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:src="@drawable/ic_magnify"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:scaleX="-1"
android:id="@+id/cuacaImageView4"/>
<EditText
android:inputType="textPersonName"
android:layout_width="wrap_content"
android:ems="10"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/cuacaImageView4"
android:layout_alignParentLeft="true"
android:textColor="#E11957"
android:textIsSelectable="false"/>
</RelativeLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.