xref: /aosp_15_r20/external/robolectric/testapp/src/main/res/layout/request_focus.xml (revision e6ba16074e6af37d123cb567d575f496bf0a58ee)
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout
4    xmlns:android="http://schemas.android.com/apk/res/android"
5    android:layout_width="wrap_content"
6    android:layout_height="wrap_content"
7    >
8  <EditText
9      android:id="@+id/edit_text"
10      android:layout_width="fill_parent"
11      android:layout_height="10dip"
12      />
13  <FrameLayout
14      android:layout_width="wrap_content"
15      android:layout_height="wrap_content"
16      >
17    <requestFocus/>
18    <!-- focus should be given to the FrameLayout, *not* the EditText -->
19  </FrameLayout>
20  <View
21      android:layout_width="wrap_content"
22      android:layout_height="wrap_content"
23      />
24</LinearLayout>