Merge "Update BiDiTest app for GridLayout RTL tests"
This commit is contained in:
committed by
Android (Google) Code Review
commit
f53b451c4c
@@ -57,6 +57,27 @@
|
|||||||
<EditText
|
<EditText
|
||||||
android:ems="8"/>
|
android:ems="8"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="You can configure email in just a few steps:"
|
||||||
|
android:textSize="16dip"
|
||||||
|
android:layout_columnSpan="4"
|
||||||
|
android:layout_gravity="start"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="Email address:"
|
||||||
|
android:layout_gravity="end"/>
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:ems="10"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="Password:"
|
||||||
|
android:layout_column="0"
|
||||||
|
android:layout_gravity="end"/>
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:ems="8"/>
|
||||||
|
|
||||||
<Space
|
<Space
|
||||||
android:layout_row="4"
|
android:layout_row="4"
|
||||||
android:layout_column="0"
|
android:layout_column="0"
|
||||||
|
|||||||
@@ -57,6 +57,27 @@
|
|||||||
<EditText
|
<EditText
|
||||||
android:ems="8"/>
|
android:ems="8"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="You can configure email in just a few steps:"
|
||||||
|
android:textSize="16dip"
|
||||||
|
android:layout_columnSpan="4"
|
||||||
|
android:layout_gravity="end"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="Email address:"
|
||||||
|
android:layout_gravity="start"/>
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:ems="10"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:text="Password:"
|
||||||
|
android:layout_column="0"
|
||||||
|
android:layout_gravity="start"/>
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:ems="8"/>
|
||||||
|
|
||||||
<Space
|
<Space
|
||||||
android:layout_row="4"
|
android:layout_row="4"
|
||||||
android:layout_column="0"
|
android:layout_column="0"
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ import android.view.LayoutInflater;
|
|||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.GridLayout;
|
import android.widget.GridLayout;
|
||||||
|
|
||||||
import android.widget.*;
|
import android.widget.*;
|
||||||
|
|
||||||
import static android.text.InputType.*;
|
import static android.text.InputType.*;
|
||||||
@@ -62,8 +61,8 @@ public class BiDiTestGridLayoutCodeLtr extends Fragment {
|
|||||||
Spec row7 = spec(6);
|
Spec row7 = spec(6);
|
||||||
|
|
||||||
Spec col1a = spec(0, 4, CENTER);
|
Spec col1a = spec(0, 4, CENTER);
|
||||||
Spec col1b = spec(0, 4, START);
|
Spec col1b = spec(0, 4, LEFT);
|
||||||
Spec col1c = spec(0, END);
|
Spec col1c = spec(0, RIGHT);
|
||||||
Spec col2 = spec(1, START);
|
Spec col2 = spec(1, START);
|
||||||
Spec col3 = spec(2, FILL);
|
Spec col3 = spec(2, FILL);
|
||||||
Spec col4a = spec(3);
|
Spec col4a = spec(3);
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import android.os.Bundle;
|
|||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.GridLayout;
|
||||||
import android.widget.*;
|
import android.widget.*;
|
||||||
|
|
||||||
import static android.text.InputType.*;
|
import static android.text.InputType.*;
|
||||||
@@ -60,8 +61,8 @@ public class BiDiTestGridLayoutCodeRtl extends Fragment {
|
|||||||
Spec row7 = spec(6);
|
Spec row7 = spec(6);
|
||||||
|
|
||||||
Spec col1a = spec(0, 4, CENTER);
|
Spec col1a = spec(0, 4, CENTER);
|
||||||
Spec col1b = spec(0, 4, START);
|
Spec col1b = spec(0, 4, LEFT);
|
||||||
Spec col1c = spec(0, END);
|
Spec col1c = spec(0, RIGHT);
|
||||||
Spec col2 = spec(1, START);
|
Spec col2 = spec(1, START);
|
||||||
Spec col3 = spec(2, FILL);
|
Spec col3 = spec(2, FILL);
|
||||||
Spec col4a = spec(3);
|
Spec col4a = spec(3);
|
||||||
|
|||||||
Reference in New Issue
Block a user