Skip to content

Commit

Permalink
replaced fill_parent with match_parent
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Jul 22, 2013
1 parent 765279e commit 35fd274
Show file tree
Hide file tree
Showing 199 changed files with 712 additions and 712 deletions.
4 changes: 2 additions & 2 deletions ActionBar/ActionBarDemo/res/layout/add.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

Expand All @@ -22,4 +22,4 @@
android:inputType="text"
android:width="100sp"/>

</LinearLayout>
</LinearLayout>
4 changes: 2 additions & 2 deletions ActionBar/Overlay/res/layout/add.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

Expand All @@ -22,4 +22,4 @@
android:inputType="text"
android:width="100sp"/>

</LinearLayout>
</LinearLayout>
4 changes: 2 additions & 2 deletions ActionMode/ActionModeMC/res/layout/add.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
Expand All @@ -12,7 +12,7 @@
/>
<EditText
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="4dip"
android:width="160sp"
Expand Down
4 changes: 2 additions & 2 deletions ActionMode/Manual/res/layout/add.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
Expand All @@ -12,7 +12,7 @@
/>
<EditText
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="4dip"
android:width="160sp"
Expand Down
10 changes: 5 additions & 5 deletions Activities/Explicit/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Button
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textSize="20sp"
android:text="@string/hello"
android:onClick="showOther"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions Activities/Explicit/res/layout/other.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/other"
android:textColor="#FFFF0000"
android:textSize="20sp"/>

</LinearLayout>
</LinearLayout>
10 changes: 5 additions & 5 deletions Activities/Extras/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Button
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textSize="20sp"
android:text="@string/hello"
android:onClick="showOther"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions Activities/Extras/res/layout/other.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView android:id="@+id/msg"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#FFFF0000"
android:textSize="20sp"/>

</LinearLayout>
</LinearLayout>
10 changes: 5 additions & 5 deletions Activities/Launch/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<LinearLayout
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

Expand Down Expand Up @@ -35,9 +35,9 @@

<Button
android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="showMe"
android:text="@string/show_me"/>

</LinearLayout>
</LinearLayout>
10 changes: 5 additions & 5 deletions Activities/Lifecycle/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Button
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textSize="20sp"
android:text="@string/hello"
android:onClick="showOther"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions Activities/Lifecycle/res/layout/other.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView android:id="@+id/msg"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#FFFF0000"
android:textSize="20sp"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions AlarmManager/Scheduled/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/hello"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions AlarmManager/Simple/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/hello"/>

</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions AlarmManager/Wakeful/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<TextView
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/hello"/>

</LinearLayout>
</LinearLayout>
6 changes: 3 additions & 3 deletions Animation/ObjectAnimator/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/word"
Expand All @@ -12,4 +12,4 @@
android:textAppearance="?android:attr/textAppearanceLarge"
tools:context=".MainActivity"/>

</RelativeLayout>
</RelativeLayout>
6 changes: 3 additions & 3 deletions Basic/Button/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Button
Expand All @@ -10,4 +10,4 @@
android:layout_height="wrap_content"
android:text="@string/button"/>

</LinearLayout>
</LinearLayout>
6 changes: 3 additions & 3 deletions Basic/Field/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/field"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textMultiLine"
android:text="@string/license"
/>
/>
4 changes: 2 additions & 2 deletions Basic/ImageView/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/icon"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:src="@drawable/molecule"/>
4 changes: 2 additions & 2 deletions Basic/Label/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/profound"
/>
/>
6 changes: 3 additions & 3 deletions Basic/RadioButton/res/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<RadioGroup
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<RadioButton android:id="@+id/radio1"
android:layout_width="wrap_content"
Expand All @@ -19,4 +19,4 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/paper" />
</RadioGroup>
</RadioGroup>
8 changes: 4 additions & 4 deletions CPU-Java/AIDLOverhead/Client/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView android:id="@+id/out"
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Please wait..."
/>
</LinearLayout>
</LinearLayout>
8 changes: 4 additions & 4 deletions CPU-Java/AIDLOverhead/RemoteService/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>
</LinearLayout>
4 changes: 2 additions & 2 deletions CPU-Java/GoAsync/res/layout/main.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText android:id="@+id/editText1" android:layout_width="match_parent"
android:layout_height="wrap_content">
</EditText>
Expand Down
Loading

0 comments on commit 35fd274

Please sign in to comment.