Created
September 19, 2016 09:26
-
-
Save Ansh1234/a9519b2a3f25c0b760e715b833bd4d8b to your computer and use it in GitHub Desktop.
Xml file used for performing action on a nested layout when its id is not known
This file contains 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 android:id="@+id/parent_container" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<Button android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Hello"/> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment