This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media only screen and (orientation: portrait) { | |
| body { | |
| background-color: red; | |
| } | |
| h1 {color: white;} | |
| p {color: blue;} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media only screen and (orientation: landscape) { | |
| body { | |
| background-color: lightblue; | |
| } | |
| h1 {color: blue;} | |
| p {color: red;} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Page Title</title> | |
| <style> | |
| @media only screen and (orientation: landscape) { | |
| body { | |
| background-color: lightblue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <app:android.support.v7.widget.CardView | |
| android:id="@+id/cardview1" | |
| android:layout_width="150dp" | |
| android:layout_height="148dp" | |
| android:layout_centerHorizontal="true" | |
| android:layout_gravity="center_horizontal" | |
| android:innerRadius="10dp" | |
| android:shape="ring" | |
| android:thicknessRatio="4" | |
| app:cardCornerRadius="10dp"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <LinearLayout | |
| android:id="@+id/linearlayout1" | |
| android:layout_width="150dp" | |
| android:layout_height="150dp" | |
| android:layout_gravity="center" | |
| android:background="@drawable/spiderman" | |
| android:orientation="vertical"> | |
| <TextView | |
| android:layout_width="match_parent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <RelativeLayout | |
| android:id="@+id/Relativelayout1" | |
| android:layout_width="150dp" | |
| android:layout_height="150dp" | |
| android:layout_gravity="center"> | |
| <ImageView | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@drawable/wonderwoman"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <FrameLayout | |
| android:id="@+id/framelayout1" | |
| android:layout_width="150dp" | |
| android:layout_height="150dp" | |
| android:layout_gravity="center"> | |
| <ImageView | |
| android:layout_height="fill_parent" | |
| android:layout_width="fill_parent" | |
| android:background="@drawable/ironman" | |
| android:scaleType="matrix"></ImageView> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:gravity="center" | |
| android:orientation="vertical"> | |
| <app:android.support.v7.widget.CardView | |
| android:layout_width="150dp" | |
| android:layout_height="148dp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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="horizontal" | |
| android:weightSum="2"> | |
| <LinearLayout | |
| android:id="@+id/firstLayout" | |
| android:layout_width="wrap_content" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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="horizontal" | |
| android:weightSum="1"> | |
| <LinearLayout | |
| android:id="@+id/firstLayout" | |
| android:layout_width="wrap_content" |
NewerOlder